兼容IE、火狐、谷歌及所有浏览器的悬浮代码

<div id="Float21789" style="position: absolute; z-index: 9; width: 190px; top: 200px;
        right: 0px;">
        <center>
            <div id="AD21789" style="width: 190px; height: 90px; text-align: center; float: none;">
                <a href="http://hexun.com/zhaoluyang19861016/messageboard.html" target="_blank">
                    <img src="http://photo15.hexun.com/p/2008/0925/248727/b_44BE79E100593F7643EA297D4F6AC086.jpg" alt="提问" style="width: 180px;
                        height: 50px; padding-right: 3px;" /></a>
            </div>
        </center>
    </div>
    <script type="text/javascript" language="JavaScript">
    var csdnScrollTop=function(){
        return document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;
        };
        function mymove21789(){
        document.getElementById("Float21789").style.top=csdnScrollTop()+300+'px';document.getElementById("Float21789").style.right=3+'px';setTimeout("mymove21789();",50);
        }
        mymove21789();
    </script>

 



 

<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><STRONG><FONT color=#ff0000 size=3><A href="http://hexun.com/zhaoluyang19861016/default.html" target=_self>
<DIV align=center><STRONG><FONT color=#ff0000 size=3>本代码由缘阳博客提供!</FONT></STRONG></DIV></A></FONT></STRONG><BR>
<DIV align=center><INPUT style="WIDTH: 95px; HEIGHT: 26px" onclick="window.open('http://zhaoluyang19861016.blog.hexun.com/25597198_d.html')" type=button size=17 value=调用工具> <INPUT style="WIDTH: 95px; HEIGHT: 26px" onclick="window.open('http://zhaoluyang19861016.blog.hexun.com/25597770_d.html')" type=button size=17 value=使用帮助> <INPUT style="WIDTH: 95px; HEIGHT: 26px" onclick="window.open('http://zhaoluyang19861016.blog.hexun.com/cate.aspx?cateid=513422&cate=%cc%d8%d0%a7%b4%fa%c2%eb')" type=button size=17 value=更多代码> <INPUT style="WIDTH: 95px; HEIGHT: 26px" onclick="window.open('http://hexun.com/zhaoluyang19861016/default.html')" type=button size=17 value=返回主页> </FORM></DIV><BR>
<P align=center>本站网址:hexun.com/zhaoluyang19861016/</P>

posted @ 2010-05-16 14:08  y0umer  阅读(202)  评论(0编辑  收藏  举报