在html頁面中,我包含一個iFrame。在iframe外部打開彈出窗口,但鏈接在iframe內部
在iFrame中,有一個環節,
<a href="#" class="modal {targetelement:'#newstyle',closetext:'Close details',opentext:'View details'}">open window</a>
如果我加入的父窗口的工作正常的鏈接,彈出的HTML。
但如果我在iframe中添加鏈接彈出式html不打開。
我的確切需求:打開iframe上方的彈出窗口。
我可以移動彈出HTML(內部iframe或父頁面)的位置,任何地方,但不能改變其應在iframe的<a href="#" id="modelboxnew">open window</a>
位置只有
這裏是我的彈出
<div id="newstyle" > xyax text ..my popup html </div>
我不能修改我的js文件...是否有任何其他的選擇嗎? – supersaiyan 2013-05-10 05:49:36
@SachinRawal - 哪位不能修改? iframe中的腳本?我不認識「class =」模式的標記...',你在用什麼框架? – Alconja 2013-05-10 10:57:15