浮动广告怎么做

网上有关“浮动广告怎么做”话题很是火热,小编也是针对浮动广告怎么做寻找了一些与之相关的一些信息进行分析,如果能碰巧解决你现在面临的问题,希望能够帮助到您。

1、打开网页的源代码,在插入的flash属性代码中添加以下代码:

<param name="wmode" value="transparent">

2、清除浏览器缓存;

3、刷新页面。

左栏浮动广告

<script language=javascript>var specialcode="<DIV id=searchspe style='Z-INDEX: <script language=javascript>var specialcode="<DIV id=searchspe style='Z-INDEX: 100; right: 1px; POSITION: absolute; TOP: 180px;'><TABLE cellSpacing=0 cellPadding=0 width=150 style='border-left:1px solid #2E6287;border-top:1px solid #2E6287;border-right:1px solid #2E6287;font-size:12px;color:#ffffff; border-bottom-color:#2E6287; border-bottom-width:1px'><TR bgcolor=#2E6287><TD height=20> 推荐↓</TD><TD style='CURSOR: hand' onclick=searchspe.style.visibility='hidden' width=30>关 闭</TD></TR></TABLE><table border='1' width='150' height='500' bordercolor='#2E6287'><tr><td>广告内容</td></tr></table></DIV>";document.write(specialcode);lastScrollY=0;function heartBeat0(){diffY=document.body.scrollTop;percent=.1*(diffY-lastScrollY);if(percent>0)percent=Math.ceil(percent);else percent=Math.floor(percent);document.all.searchspe.style.pixelTop+=percent;lastScrollY=lastScrollY+percent;}window.setInterval("heartBeat0()",1);</script>

右栏浮动广告

<script language=javascript>var specialcode="<DIV id=searchspe style='Z-INDEX: 100; left: 1px; POSITION: absolute; TOP: 50px;'><TABLE cellSpacing=0 cellPadding=0 width=360 style='border-left:1px solid #333333;border-top:1px solid #333333;border-right:1px solid #333333;font-size:12px;color:#ffffff'><TR bgcolor=#2E6287><TD height=20> 推荐↓</TD><TD style='CURSOR: hand' onclick=searchspe.style.visibility='hidden' width=30>关 闭</TD></TR></TABLE><table border='1' width='150' id='table1' bordercolor='#2E6287' height='500'><tr><td>广告内容</td></tr></table></DIV>";document.write(specialcode);lastScrollY=0;function heartBeat0(){diffY=document.body.scrollTop;percent=.1*(diffY-lastScrollY);if(percent>0)percent=Math.ceil(percent);else percent=Math.floor(percent);document.all.searchspe.style.pixelTop+=percent;lastScrollY=lastScrollY+percent;}window.setInterval("heartBeat0()",1);</script>

关于“浮动广告怎么做”这个话题的介绍,今天小编就给大家分享完了,如果对你有所帮助请保持对本站的关注!

(9)

猜你喜欢

发表回复

本站作者才能评论

评论列表(3条)

  • 湛皓宇的头像
    湛皓宇 2025年07月31日

    我是中宝号的签约作者“湛皓宇”

  • 湛皓宇
    湛皓宇 2025年07月31日

    本文概览:网上有关“浮动广告怎么做”话题很是火热,小编也是针对浮动广告怎么做寻找了一些与之相关的一些信息进行分析,如果能碰巧解决你现在面临的问题,希望能够帮助到您。1、打开网页的源代码,...

  • 湛皓宇
    用户073102 2025年07月31日

    文章不错《浮动广告怎么做》内容很有帮助

联系我们:

邮件:中宝号@gmail.com

工作时间:周一至周五,9:30-17:30,节假日休息

关注微信