Langsung Aja Cara Pertama Masuk Tab HTML Dan Centang Itu apa Itu namanya aku gak tau
Copy Kode Dibawah Ini Sesudah Kode <head>
#toTop {
text-align:center;
position:fixed;
bottom:0px;
right:10px;
cursor:pointer;
display:none;
color:#000;
font-family:verdana;
font-size:11px;
}
Teruss
Copy Ini Kode Ini Sesudah </head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js'/>
<script type='text/javascript'>
$(function() {
$(window).scroll(function() {
if($(this).scrollTop() > 100) {
$('#toTop').fadeIn();
} else {
$('#toTop').fadeOut();
}
});
$('#toTop > img').click(function() {
$('body,html').animate({scrollTop:0},800)
.animate({scrollTop:25},200)
.animate({scrollTop:0},150)
.animate({scrollTop:10},100)
.animate({scrollTop:0},50);
});
});
</script>
<div id='toTop'>
<!--
Back to top animation written by farizemo
@ http://my.devblog.tk/
-->
<img src='http://i1208.photobucket.com/albums/cc375/anwar122/ToTop.png' style='margin-right:-9px'/></div>
Copy Sebelum </body>
Copy Kode Dibawah Ini Sesudah Kode <head>
#toTop {
text-align:center;
position:fixed;
bottom:0px;
right:10px;
cursor:pointer;
display:none;
color:#000;
font-family:verdana;
font-size:11px;
}
Teruss
Copy Ini Kode Ini Sesudah </head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js'/>
<script type='text/javascript'>
$(function() {
$(window).scroll(function() {
if($(this).scrollTop() > 100) {
$('#toTop').fadeIn();
} else {
$('#toTop').fadeOut();
}
});
$('#toTop > img').click(function() {
$('body,html').animate({scrollTop:0},800)
.animate({scrollTop:25},200)
.animate({scrollTop:0},150)
.animate({scrollTop:10},100)
.animate({scrollTop:0},50);
});
});
</script>
<div id='toTop'>
<!--
Back to top animation written by farizemo
@ http://my.devblog.tk/
-->
<img src='http://i1208.photobucket.com/albums/cc375/anwar122/ToTop.png' style='margin-right:-9px'/></div>
Copy Sebelum </body>
Langganan:
Postingan (Atom)