FLASH 广告之外的链接
更新时间:2008年12月16日 15:57:59 作者:
FLASH 广告外部链接实现代码
复制代码 代码如下:
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实用技巧小结(屏蔽错误、div滚动条设置、背景图片位置等)
这篇文章主要介绍了JS实用技巧,包括常见的js屏蔽错误、div滚动条设置以及背景图片位置等,代码简洁易懂,非常实用,需要的朋友可以参考下2016-06-06你应该了解的JavaScript Array.map()五种用途小结
大家都知道map() 方法返回一个新数组,数组中的元素为原始数组元素调用函数处理后的值。下面这篇文章主要给大家介绍了关于JavaScript Array.map()的五种用途,需要的朋友可以参考下2018-11-11Bootstrapvalidator校验、校验清除重置的实现代码(推荐)
这篇文章给大家介绍了bootstrapvalidator校验、校验清除重置的实现代码,在代码中需要我们引入css与js文件,大家可以参考下文的代码2016-09-09
最新评论