chèn zo overall_footer_end
- Code:
<style>#top_forum{background: url(http://i45.servimg.com/u/f45/15/55/28/69/12010.gif) no-repeat}#top_forum:hover{background: url(http://i45.servimg.com/u/f45/15/55/28/69/11910.gif) no-repeat}#toppage {no-repeat scroll 0% 0% transparent; position: fixed; bottom: 80px; right: 10px ;cursor: pointer; display: block; opacity: 1;}</style><a href="#" id="toppage"><div style="width:19px;height:57px" id="top_forum"></div></a><script type="text/javascript">$(function(){$.fn.scrollToTop=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="0"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="0"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:0},"slow")})}});$(function() {$("#toppage").scrollToTop();});</script>