[問題] 用js+css取代iframe?_?

看板Web_Design作者 (無塵室遊魂)時間15年前 (2009/10/07 11:45), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
我用js+css取代iframe 出現載入網頁中js效果失效 有試過以下方法 = = = old code= = = <head> <script type="text/javascript" src="prototype.js"></script> <script type="text/javascript"> function linkto(url) { new Ajax.Updater('rightcontent', url, {method: 'get'}); } </script> </head> <a href="#" onclick="linkto('contacts.html');"><b>Contact us</b></a> = = = 載入網頁使用的js code= = = = = <img id="caribbean" onLoad="initLoupe(this.id,true,743,494);" src="images/big.jpg" style="cursor:wait;" width="541" height="370" alt="large image" border="0" /> ========================== 我把其中function linkto改成(如下) 還是沒辦法耶 還有哪邊沒改到的 function linkto(url) { new Ajax.Updater('rightcontent', url, {method: 'get', evalScripts: true}); } 請多多指教 謝謝^^" -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.157.18
文章代碼(AID): #1Ap0xPRJ (Web_Design)