Saturday

cara pasang gambar melayang di blog

loggin ke blog
klik tataletak
lalu tambah gadget

copas kode ini

<style type="text/css"><br /><br />#topbar{<br />background-color:#61380B;<br />position:absolute;<br />visibility:hidden;<br />z-index:100;<br />border:2px<br />#FFFFFF groove;<br />-moz-border-radius:8px;<br />padding-top:6px;<br />padding-left:1px;<br />padding-bottom:3px;<br />padding-right:1px;<br />-moz-opacity:0.63;<br />filter:alpha(opacity=63);opacity:0.63;<br />}<br />#topbar a img{<br />color:transparent;text-decoration:none;border:none;<br />}<br /></style>

<script language="javascript"><br /><br />/***************************************************************<br />* Floating Top Bar script - Dynamic Drive (http://www.dynamicdrive.com)<br />* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)<br />* Simplified Floating by !CrazyDavinci! (http://crazydavinci.net)<br />* This notice must stay intact for legal use.<br />* Visit http://www.dynamicdrive.com/ for full source code<br />***************************************************************/<br />startX = parseInt(screen.width/2)+500;startY = parseInt(screen.height/2)-110<br />function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}<br />function staticbar(){<br />ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;<br />d = document;<br />el= d.getElementById("topbar");<br />barheight= el.offsetHeight;<br />function ml(id){<br />el.style.cssText="visibility:visible;width:75px";if(d.layers)el.style=el;<br />el.sP=function(x,y){this.style.right=x+"px";this.style.top=y+"px";};<br />el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;<br />el.x = startX;el.y -= startY;return el;<br />}<br />window.stayTopright=function(){<br />var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;<br />ftlObj.y += (pY - startY - ftlObj.y)/8;ftlObj.sP(ftlObj.x, ftlObj.y);setTimeout("stayTopright()", 10);<br />}<br />ftlObj = ml("topbar");stayTopright();<br />}<br />if (window.addEventListener) window.addEventListener("load", staticbar, false);<br />else if (window.attachEvent) window.attachEvent("onload", staticbar);<br />else if (document.getElementById) window.onload=staticbar </script>

<div id="topbar" align="center">
<a href="http://naldohatake.blogspot.com/" target="_blank">
<img src="http://4.bp.blogspot.com/-BaaQdewYjpM/UDI6WKl65cI/AAAAAAAAANY/Rfs431kxq5M/s1600/naldo%2Bhatake.gif" width="70px" /></a><blink><span style="font-family:Times New Roman;font-size:2,8;color:#FF0000;">
About Me
</span></blink></div>

  • ganti link kuning dengan link gambar ini
  •  ganti tulian merah dengan kata anda sendiri

Artikel Terkait

cara pasang gambar melayang di blog
4/ 5
Oleh