2. Press Ctrl + F and find the following piece of code:
]]></b:skin>
3. Copy the following code and paste it directly above/before ]]></b:skin>
#ariqcyber{
padding:5px;
position:fixed;
bottom: 5px;
right: 5px;
cursor:pointer;
}
4. Find the </head> tag and paste the following code directly above/before the closing </head> tag.
<!-- Back to top button by Ariq cyber -->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js'
type='text/javascript'></script>
<script language="javascript">
$(window).ready(function(){
$('#techsperiabtt').click(function(e){
e.preventDefault();
$('html, body').animate({scrollTop:0}, 'slow');
});
});
</script>
<!-- Code provided to you by ariq cyber Blog -->
5. You're almost done. Now just find the closing </body> tag and paste the following code directly above/before </body>
<a href="#" id="ariqcyber"><img src="URL of Image" alt="Back To Top" title="Back To Top" /></a>
6. Replace the part highlighted in blue with the URL of the image of your back to top button. Here is an example of what the code will look after you paste the link.
Tip: If you want the same back to top button that I use on this blog, you can copy and paste the following
<a href="#" id="cyberariq"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC3objqpprkMhOyKu7VZS4xSht0n8VONMSEoDJd5PMcWzN3sON5sMvxjnD417EX6RhJV42vflaHzj1EUS4MdTD71mWyucG9AzIk8xP4aOFkejF1gQqimDZTaNVDf0_a2GPhVqxo8fll5s/s48/Metro-Back-Black-48%2520right.png" alt="Back To Top" title="Back To Top" /></a>
_____________________________________________________________________________
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjQH2v6XipetuwiubmFAP1jjg9UHnbI9Rhzl24m0PXutS5liKAviwOZ4vBBB_PamY93ByN5dx4CnW-iw6uMrJjjxwwZhH7g1fLQlKO7XdWAbdoSTwi0ttRHpGnDhmT-SfJBMBiSF0G0wHz/s1600/back+to+top10.gif
HAPPY BLOGING

Tidak ada komentar:
Posting Komentar