[問題] 關於jquery的plugin "superbox" 的問題
我使用了
jquery 的 plugin "superbox"
http://www.pierrebertet.net/projects/jquery_superbox/
用iframe模式呼叫出視窗
但是我想要在iframe裡面將superbox自己關閉
(如:送出表單後自動關閉)
在iframe裡面的javascript應該要怎麼寫呢?
我在superbox的程式碼之中
找到 hideAll 這個funciton 就是關閉 superbox
我也知道在iframe中
window.parent.alert("hello");
可以呼叫上一層的javascript
但是我應該要怎樣去呼叫superbox裡面的hideAll呢?
不然模擬按下close的按鈕也可以
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 124.219.24.245
推
10/05 11:43, , 1F
10/05 11:43, 1F
→
10/05 11:44, , 2F
10/05 11:44, 2F
→
10/05 11:44, , 3F
10/05 11:44, 3F
→
10/15 17:46, , 4F
10/15 17:46, 4F
Ajax 近期熱門文章
PTT數位生活區 即時熱門文章
6
19