How to add back to the top image

11:06

dashboard -> design -> edit html 
find this code 
]]></b:skin> 
before it add this code 
#backtotop {
padding:5px;
position:fixed;
bottom:10px;right:10px;
cursor:pointer;
}

Then. 
find this code 
</body>
before it add this code
<a href="#" id="backtotop"><img src="Image-Url" alt="back to top" /></a> 
replace Image-Url with the image you want.
Icons can be found here :- 

example : 
<a href="#" id="backtotop"><img src="http://i269.photobucket.com/albums/jj72/myem0/01/onion-emoticon-031.gif" alt="back to top" /></a> 

Then. 
find this code
<head>
after it paste this code
&lt;script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js'
type='text/javascript'&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot;&gt;
$(window).ready(function(){
$('#backtotop').click(function(e){
e.preventDefault();
$('html, body').animate({scrollTop:0}, 'slow');
});
});
&lt;/script&gt;


tutorial from : http://www.allblogtools.com/ 

You Might Also Like

0 ℓovɛ

Thanks for visiting + reading my lovely post !
Feel free to leave a comment, I reply to all of them (^ω^)
I love reading all of them and appreciate all of them ! ♥