隨筆 - 8  文章 - 55  trackbacks - 0
          <2025年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          朋友的Blog

          最新評論

          閱讀排行榜

          評論排行榜

          在網(wǎng)頁中彈出窗口可以通過JS或onclick或onload調(diào)用window.open()的方法來實(shí)現(xiàn),如
          window.open ('xhlv.htm','', 'height=100, width=100, top=100, left=100, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=yes')

          而flash中同樣可以通過類似的方法來實(shí)現(xiàn),
          雖然在flash中也可以直接使用window.open()來彈出窗口,
          getURL("javascript:window.open('pic_big.php','','toolbar=no,scrollbars=yes,resizable=yes')");

          但是主窗口會有一個object小錯誤。

          最合適的方法是flash與html代碼相結(jié)合:
          1.在網(wǎng)頁中加入JS
          function openWindow(theURL,winName,features) { //v2.0
          ?window.open(theURL,winName,features);}

          2.在flash中調(diào)用已定義的openWindow(),注意不是window.open()
          getURL("javascript:openWindow('pic_big.php','','toolbar=no,scrollbars=yes,resizable=yes')");
          posted on 2006-10-13 11:10 blog搬家了--[www.ialway.com/blog] 閱讀(531) 評論(0)  編輯  收藏 所屬分類: AS2.0
          主站蜘蛛池模板: 云安县| 双流县| 萝北县| 沅江市| 龙泉市| 泾阳县| 伊春市| 民权县| 陵川县| 镶黄旗| 虹口区| 故城县| 饶阳县| 通渭县| 丘北县| 西峡县| 东乡县| 奉节县| 利辛县| 宁蒗| 观塘区| 工布江达县| 清新县| 鞍山市| 普宁市| 客服| 金坛市| 五华县| 青河县| 黑山县| 洛阳市| 浦县| 南充市| 沾益县| 博湖县| 永登县| 贵定县| 都匀市| 桂阳县| 桂东县| 辽宁省|