Pengertian Intro disini apabila website dikunjungi tidak langsung ke halaman utama, namun terlebih dahulu disuguhkan oleh sebuah halaman yang umumnya adalah
ucapan selamat datang atau navigasi, ada juga yang berupa gambar animasi ataupun dalam bentuk flash.
Silahkan ikuti langkah-langkah berikut ini :
1. Loggin ke
Blogger.com
2. Pilih
rancangan klik tab
Edit HTML
3. Cari kode
]]></b:skin>
4. Silahkan copy kode di bawah ini, lalu paste kode diatas kode
]]></b:skin>
5. Cari kode berikut
</head>
6. Kopy kode di bawah, lalu paste kode diatas kode
</head>
<script type='text/javascript'> //<![CDATA[ /************************************************ Floating Top Bar script- © Dynamic Drive (www.dynamicdrive.com)* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)* This notice must stay intact for legal use.* Visit http://www.dynamicdrive.com/ for full source code***********************************************//************************************************** Blogger intro by http://www.blogspottutorial.com**************************************************/var persistclose=1var startX = 0 var startY = 0 var verticalpos="fromtop" function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}function get_cookie(Name) {var search = Name + "="var returnvalue = "";if (document.cookie.length > 0) {offset = document.cookie.indexOf(search)if (offset != -1) {offset += search.lengthend = document.cookie.indexOf(";", offset);if (end == -1) end = document.cookie.length;returnvalue=unescape(document.cookie.substring(offset, end))}}return returnvalue;}function closebar(){if (persistclose)document.cookie="remainclosed=1"document.getElementById("intro").style.visibility="hidden";} function staticbar(){ barheight=document.getElementById("intro").offsetHeight var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera; var d = document; function ml(id){ var el=d.getElementById(id); if (!persistclose || persistclose && get_cookie("remainclosed")=="") el.style.visibility="visible" if(d.layers)el.style=el; el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";} el.x = startX; if (verticalpos=="fromtop") el.y = startY; else{ el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight; el.y -= startY; } return el; } window.stayTopLeft=function(){ if (verticalpos=="fromtop"){ var pY = ns ? pageYOffset : iecompattest().scrollTop; ftlObj.y == (pY + startY - ftlObj.y)/0;} else{ var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight; ftlObj.y == (pY - startY - ftlObj.y)/0; } ftlObj.sP(ftlObj.x, ftlObj.y); setTimeout("stayTopLeft()", 10); } ftlObj = ml("intro"); stayTopLeft();}if (window.addEventListener)window.addEventListener("load", staticbar, false)else if (window.attachEvent)window.attachEvent("onload", staticbar)else if (document.getElementById)window.onload=staticbar//]]></script>
7. Cari kode berikut
<body>
8. Copy kode di bawah, lalu paste kode dibawah kode
<body>
<div id='intro'><div class='welcome'>Welcome to my blog</div><a href='' onclick='closebar(); return false'><img alt='go to my homepage' src='http://i234.photobucket.com/albums/ee208/decnote/cute-comment/Cute-hi5-60.gif' title='go to my homepage'/></a><div class='gohome'><a href='' onclick='closebar(); return false'>Go to homepage</a></div></div>
9. Klik tombol
SIMPAN SETELAN .
10. Lihat hasilnya..............
Catatan : Anda dapat mengubah tulisan yang ada dengan tulisan anda sendiri, selain itu jika anda penggemar flash, tentu saja dapat mengganti gambar animasi gif diatas dengan kode flash yang anda miliki.
Related Posts by Categories
No comments:
Post a Comment