You are on page 1of 2

Diatas </head> <style>#tooltip{width:200px;text-transform:capitalize;z-index: 10000000;position:absolute;background:#444;-moz-border-radius:5px;-webkit-border-radius: 5px;khtml-border-radius: 5px;border-radius: 5px;-o-transition:0.5s ease-out; -moz-transition:0.5s easeout; -webkit-transition:0.

5s ease-out;padding:2px 5px;font-size:12px;color:#000;border:1px dashed #ff0000;display:none;font-weight:bold}</style> <script type='text/javascript'> this.tooltip = function(){ xOffset = 10; yOffset = 20; $(&quot;a[title]&quot;).hover(function(e){ this.t = this.title; this.title = &quot;&quot;; $(&quot;body&quot;).append(&quot;<p id='tooltip'>&quot;+ this.t +&quot;</p>&quot;); $(&quot;#tooltip&quot;) .css(&quot;top&quot;,(e.pageY - xOffset) + &quot;px&quot;) .css(&quot;left&quot;,(e.pageX + yOffset) + &quot;px&quot;) .fadeIn(&quot;fast&quot;); }, function(){ this.title = this.t; $(&quot;#tooltip&quot;).remove(); }); $(&quot;a[title]&quot;).mousemove(function(e){ $(&quot;#tooltip&quot;) .css(&quot;top&quot;,(e.pageY - xOffset) + &quot;px&quot;) .css(&quot;left&quot;,(e.pageX + yOffset) + &quot;px&quot;); }); };

// starting the script on page load $(document).ready(function(){ tooltip(); }); </script>

Dibawah </head> Title berjalan <script language='JavaScript'>var txt=&quot; Welcome-IBNU WIBOWO- &quot;; var kecepatan=120;var segarkan=null;function bergerak() { document.title=txt; txt=txt.substring(1,txt.length)+txt.charAt(0); segarkan=setTimeout(&quot;bergerak()&quot;,kecepatan);}bergerak(); </script>

You might also like