FLASH 廣告之外的鏈接
更新時間:2008年12月16日 15:57:59 作者:
FLASH 廣告外部鏈接實現(xiàn)代碼
復制代碼 代碼如下:
function cf(flashsrc,flashwidth,flashheight,flashlink,br){
document.write("<table width="+flashwidth+" height="+flashheight+" border=0 cellpadding=0 cellspacing=0><tr><td>");
document.write("<div style=\"position:relative\">");
document.write("<embed style=\"position:absolute;z-index:0\" src="+flashsrc+" quality=\"high\" width="+flashwidth+" height="+flashheight+" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" wmode=\"opaque\"></embed>");
document.write("<div style=\"background:white;filter:alpha(opacity=0);opacity:0;position: relative;z-index:10;left:0pt;top:0pt;width:"+flashwidth+";height:"+flashheight+"px;\">");
document.write("<a href="+flashlink+" target=\"_blank\" style=\"cursor:pointer;display:block;width:"+flashwidth+";height:"+flashheight+"px;\"></a>");
document.write("</div>");
document.write("</div>");
document.write("</td></tr></table>");
if (br=="1") {
document.write("<br>");
}
}
相關文章
js中動態(tài)創(chuàng)建json,動態(tài)為json添加屬性、屬性值的實例
下面小編就為大家?guī)硪黄猨s中動態(tài)創(chuàng)建json,動態(tài)為json添加屬性、屬性值的實例。小編覺的挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2016-12-12js按條件生成隨機json:randomjson實現(xiàn)方法
下面小編就為大家?guī)硪黄猨s按條件生成隨機json:randomjson實現(xiàn)方法。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2017-04-04JavaScript實現(xiàn)的一個日期格式化函數(shù)分享
這篇文章主要介紹了JavaScript實現(xiàn)的一個日期格式化函數(shù)分享,本文給出了實現(xiàn)代碼和使用例子,需要的朋友可以參考下2014-12-12javascript replace()正則替換實現(xiàn)代碼
javascript-replace()基礎,一次完成將"<,>"替換"<>"實例2010-02-02js實現(xiàn)C#的StringBuilder效果完整實例
這篇文章主要介紹了js實現(xiàn)C#的StringBuilder效果,以完整實例形式分析總結了js實現(xiàn)C#的StringBuilder效果的相關技巧,具有一定參考借鑒價值,需要的朋友可以參考下2015-12-12JavaScript實現(xiàn)從數(shù)組中選出和等于固定值的n個數(shù)
這篇文章主要介紹了JavaScript實現(xiàn)從數(shù)組中選出和等于固定值的n個數(shù)的方法,需要的朋友可以參考下2014-09-09