- Code:
<script type='text/javascript'>var maxheight = $(document).height();$(function(){$.fn.scrollToMiddle=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="maxheight/2"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="maxheight/2"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:maxheight/2},"slow")})}});$(function(){$.fn.scrollToBottom=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="maxheight"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="maxheight"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:maxheight},"slow")})}});$(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() {$("#toMiddle").scrollToMiddle();$("#toTop").scrollToTop();$("#toBottom").scrollToBottom();});</script><div style="bottom: 25px;clip: inherit;position: fixed;right: 5px;"><a href="#" id="toTop"><img alt="Đầu trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/top10110.png"></a><br><a href="#" id="toMiddle"><img alt="Giữa trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/middle10.png"></a><br><a href="#" id="toBottom"><img alt="Cuối trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/bottom10.png"></a></div>
Code di nút di chuyển lên xuống và giữa ở góc 4rum
Giới tính :
Đến từ : TPHCM
Ngày Tham gia : 03/04/2011
Tổng số bài gửi : 2292
Code di nút di chuyển lên xuống và giữa ở góc 4rum
Giới tính :
Tuổi : 27
Đến từ : viet nam
Ngày Tham gia : 02/09/2011
Tổng số bài gửi : 39
chen vao dau vay ban
Giới tính :
Đến từ : TPHCM
Ngày Tham gia : 03/04/2011
Tổng số bài gửi : 2292
chen vào footer đó bạn!giaki31 đã viết:chen vao dau vay ban
Giới tính :
Tuổi : 27
Đến từ : viet nam
Ngày Tham gia : 02/09/2011
Tổng số bài gửi : 39
thanks
Giới tính :
Tuổi : 34
Đến từ : laanhem.1talk.net
Ngày Tham gia : 29/08/2011
Tổng số bài gửi : 12
bạn nói rõ giùm mình đi bạn
Giới tính :
Tuổi : 34
Đến từ : laanhem.1talk.net
Ngày Tham gia : 29/08/2011
Tổng số bài gửi : 12
minh xai phpbb2 không biet chen vao dâu ban ạ. ban chi jum minh duoc không bạn
Giới tính :
Tuổi : 34
Đến từ : laanhem.1talk.net
Ngày Tham gia : 29/08/2011
Tổng số bài gửi : 12
chen roi co duoc dau troi
Giới tính :
Tuổi : 32
Đến từ : TPHCM
Ngày Tham gia : 13/06/2012
Tổng số bài gửi : 161
Admin đã viết:Code di nút di chuyển lên xuống và giữa ở góc 4rum
- Code:
<script type='text/javascript'>var maxheight = $(document).height();$(function(){$.fn.scrollToMiddle=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="maxheight/2"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="maxheight/2"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:maxheight/2},"slow")})}});$(function(){$.fn.scrollToBottom=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="maxheight"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="maxheight"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:maxheight},"slow")})}});$(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() {$("#toMiddle").scrollToMiddle();$("#toTop").scrollToTop();$("#toBottom").scrollToBottom();});</script><div style="bottom: 25px;clip: inherit;position: fixed;right: 5px;"><a href="#" id="toTop"><img alt="Đầu trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/top10110.png"></a><br><a href="#" id="toMiddle"><img alt="Giữa trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/middle10.png"></a><br><a href="#" id="toBottom"><img alt="Cuối trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/bottom10.png"></a></div>
|
|