作家
登录

FLASH 广告之外的链接

作者: 来源:www.28hudong.com 2013-03-30 02:48:33 阅读 我要评论

复制代码 代码如下: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>"); } }

  推荐阅读

  Javascript !!的作用

var wintype = !!os[1]; 取变量的Boolean值, 应该相当于 var wintype = os[1]?true:false, 但显然简洁很多。 >>>详细阅读


本文标题:FLASH 广告之外的链接

地址:http://www.17bianji.com/kaifa2/JS/29133.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)