网页里添加 黄金龙动态代码JS代码
转载请注明本文链接:https://blog.l9s.cc/.html [生成短网址]
网页里添加黄金龙动画代码 点击 黄金龙自动消失不影响网站点击 |
function swfembed(object){ var flash=document.createElement("embed"); if(object.style){flash.style.cssText=object.style;delete object['style']}; for(var key in object){flash.setAttribute(key,object[key])}; flash.onmouseup=function(){this.parentNode.removeChild(this)}; document.body.appendChild(flash); }; swfembed({src:"http://www.chunge188.com/flash/dragon.swf",wmode:"transparent",fullscreen:"yes",style:"position:absolute;z-index:10000;left:0;top:0px;width:100%;height:100%"});