Sunday, September 11, 2011 at 11:31 AM with ≡
</body>Kalau udah ketemu COPAS kode dibawah ini Dibawah kode tadi
<a href='#' id='toTop'><img src='URL IMAGE TOP BUTTON?t=1292762029' style='border:0;'/></a>Merah ganti dengan URL gambar back to Top kamu ;)
Belum Selesai!!!
Cari kode:
]]></b:skin>Kalau udah ketemu COPAS kode dibawah ini Diatas kode ]]></b:skin>:
/* to top */Kalau icon Top terpotong kamu ganti yg biru dengan keinginanmu sendiri
#toTop { width:100px;background:none;border:0px solid #ccc;text-align:center;padding:5px;position:fixed;bottom:10px;right:10px;cursor:pointer;color:#666;text-decoration:none; }
Pink bisa kamu ganti kalau kamu pingin ketika kursor menyorotnya kursornya berubah menjadi seperti ini + caranya ganti yg pink dengan crosshair ;D
Belum selesai!! Sekarang kamu harus cari kode ini:
</head>Then pastekan kode ini diatasnya:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'></script>PREVIEW DULU!!!Kalau udah puas Save!!!
<script type='text/javascript'>
/*-----------------------
* jQuery Plugin: Scroll to Top
* by Letthalicious Blog (http://letthaprincess.blogspot.com/)
* Bring to you by Thata from http://lettha-story.blogspot.com/
* Copyright (c) 2011 Letthalicious Blog
* Description: Adds an unobtrusive "Scroll to Top" link to your page with smooth scrolling.
* For usage instructions and version updates to go http://letthaprincess.blogspot.com/
* Do not delete these infomation
* Version: 1.0, 12/03/2009
-----------------------*/
$(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() {
$("#toTop").scrollToTop();
});
</script>
Labels: Tutorial