鉴于大家对Javascript十分关注,我们编辑小组在此为大家搜集整理了“javaScrip 居底部的浮动面版 ”一文,供大家参考学习
居底部的浮动面版
<script language="javascript"><!-- Beginfunction stat(){var a = pageYOffset+window.innerHeight-document.bar.document.height-15document.bar.top = asetTimeout(''stat()'',2)}function fix(){nome=navigator.appNameif(nome==''Netscape''){stat()}else{var a=document.body.scrollTop+document.body.clientHeight-document.all.bar.offsetHeight-30bar.style.top = a}}End--></script>
<body onLoad=''fix()'' onScroll="fix()" onResize="fix()"><span id="bar" style="position:absolute; left:10px; top:0px" ><table width="80" border="0" cellpadding="3" cellspacing="3" bgcolor="#FFCC99"><tr><td><a href="#" target="_self">首页</a></td></tr><tr><td><a href="#" target="_self">新闻</a></td></tr><tr><td><a href="#" target="_self">娱乐</a></td></tr><tr><td><a href="#" target="_self">财经</a></td></tr><tr><td><a href="#" target="_self">军事</a></td></tr><tr><td><a href="#" target="_self">生活</a></td></tr></table></span>