js浮動對聯廣告代碼[支援flash]

來源:互聯網
上載者:User
提示:您可以先修改部分代碼再運行

<p>js浮動對聯廣告代碼[支援flash]<meta content="text/html; charset=gb2312" http-equiv="Content-Type" />對聯廣告帶同時關閉的</p><script >//對聯廣告帶同時關閉的//左邊suspendcode13="<DIV id=LeftAda >";suspendcode13+="";suspendcode13+="";suspendcode13+="";suspendcode13+="關閉";suspendcode13+="</div>";//右邊suspendcode15="<DIV id=RightAda ><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='100' height='250' align='middle'><param name='movie' value='http://www.111cn.net/demo/js/111cn.net.swf' /><param name='wmode' value='transparent'><param name='quality' value='high' /><embed src='http://www.111cn.net/demo/js/111cn.net.swf' width='100' height='250' align='middle' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' wmode='transparent'></embed></object>關閉</div>";document.write(suspendcode13);document.write(suspendcode15);window.setInterval("heartBeatt()",1);lastScrollY=0;function heartBeatt() {var diffYy;if(document.documentElement && document.documentElement.scrollTop) {diffYy = document.documentElement.scrollTop;}else if (document.body) {diffYy = document.body.scrollTop;}else {/*Netscape stuff*/}//alert(diffYy);percent=.1*(diffYy-lastScrollY);if(percent>0) {percent=Math.ceil(percent);}else {percent=Math.floor(percent);}document.getElementById("LeftAda").style.top=parseInt(document.getElementById("LeftAda").style.top)+percent+"px";document.getElementById("RightAda").style.top=parseInt(document.getElementById("LeftAda").style.top)+percent+"px";lastScrollY=lastScrollY+percent;//alert(lastScrollY);}function ClosedivLeft1() {LeftAda.style.visibility="hidden";RightAda.style.visibility="hidden";}/*function ClosedivLeft2() {LeftAda.style.visibility="hidden";RightAda.style.visibility="hidden";}*/</script><p> </p>
提示:您可以先修改部分代碼再運行

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.