Cara Membuat Efek Loading pada blog. Langsung aja ya.
- Login blogger
- Klik Rancangan ⇢ Edit HTML ⇢ centang "Expand Template Widget"
- Lalu cari kode </head>
- Letakan kode di bawah ini tepat di atas kode </head>
<!-- Loading Page Script – Deny 4 StrooM – http://deny-4stroom.blogspot.com --><style type="text/css">/* add loading image */body {background:#000 url(http://i1141.photobucket.com/albums/n589/farii123/th_82.gif?t=1335418869) no-repeat fixed center;}/* hide page div */#page{display:none;}</style><script type="text/javascript">function css(classORid,rules){try{var css=document.createElement("style");css.innerHTML=classORid+"{"+rules+"}"document.body.appendChild(css);}catch(e){}try{document.styleSheets[document.styleSheets.length-1].addRule(classORid,rules);}catch(e){}}function loaded(){css("#page","display:block!important");css("body","background:#000 url()");}if(window.addEventListener)window.addEventListener("load",loaded,false);else if(window.attachEvent)window.attachEvent("onload",loaded);else if(document.getElementById)window.onload=loaded;</script>
- Lalu cari kode <body>
- Letakan kode di bawah ini tepat di atas kode <body>
<div id="page">
- Cari lagi kode </body>
- Letakan kode di bawah ini tepat di atas kode </body>
</div>
- Save dan lihat hasilnya.
Backlink Please
URL |
Code For Forum |
HTML Code |
4 comments
nice
@snutzpark : thx
kok aku gak berhenti henti load nya?
@Abhista : Kurang tau saya kk :D
Posting Komentar - Back to Content