Know The Owner :)
Muhammad Izzat Bin Shuhaimi *Ejat, 18, KL *MALAYSIA.
![]() Object Berpusing Keliling Mouse Selasa, 27 Disember 2011 | 10:45 PG hah_"! k ni aq nak bgi tutorial untok korg ! object bepusing keliling mouse ! oke copy code bwah ni !
hah_"! yg warne BIRU tu tkar dgn colour code korg k ? |

<script language="JavaScript" type="text/javascript">
var xCol = "#ffffff";
var yCol = "#ffffff";
var zCol = "#ffffff";
var n = 6; //number of dots per trail.
var t = 40; //setTimeout speed.
var s = 0.2; //effect speed.
var r,h,w;
var d = document;
var my = 10;
var mx = 10;
var stp = 0;
var evn = 360/3;
var vx = new Array();
var vy = new Array();
var vz = new Array();
var dy = new Array();
var dx = new Array();
var pix = "px";
var strictmod = ((document.compatMode) &&
document.compatMode.indexOf("CSS") != -1);
var domWw = (typeof window.innerWidth == "number");
var domSy = (typeof window.pageYOffset == "number");
var idx = d.getElementsByTagName('div').length;
for (i = 0; i < n; i++)
{
var dims = (i+1)/2;
d.write('<div id="x'+(idx+i)+'" style="position:absolute;'
+'top:0px;left:0px;width:'+dims+'px;height:'+dims+'px;'
+'background-color:'+xCol+';font-size:'+dims+'px"><\/div>'
+'<div id="y'+(idx+i)+'" style="position:absolute;top:0px;'
+'left:0px;width:'+dims+'px;height:'+dims+'px;'
+'background-color:'+yCol+';font-size:'+dims+'px"><\/div>'
+'<div id="z'+(idx+i)+'" style="position:absolute;top:0px;'
+'left:0px;width:'+dims+'px;height:'+dims+'px;'
+'background-color:'+zCol+';font-size:'+dims+'px"><\/div>');
}
if (domWw) r = window;
else
{
if (d.documentElement &&
typeof d.documentElement.clientWidth == "number" &&
d.documentElement.clientWidth != 0)
r = d.documentElement;
else
{
if (d.body && typeof d.body.clientWidth == "number")
r = d.body;
}
}
function winsize()
{
var oh,sy,ow,sx,rh,rw;
if (domWw)
{
if (d.documentElement && d.defaultView &&
typeof d.defaultView.scrollMaxY == "number")
{
oh = d.documentElement.offsetHeight;
sy = d.defaultView.scrollMaxY;
ow = d.documentElement.offsetWidth;
sx = d.defaultView.scrollMaxX;
rh = oh-sy;
rw = ow-sx;
}
else
{
rh = r.innerHeight;
rw = r.innerWidth;
}
h = rh;
w = rw;
}
else
{
h = r.clientHeight;
w = r.clientWidth;
}
}
function scrl(yx)
{
var y,x;
if (domSy)
{
y = r.pageYOffset;
x = r.pageXOffset;
}
else
{
y = r.scrollTop;
x = r.scrollLeft;
}
return (yx == 0)?y:x;
}
function mouse(e)
{
var msy = (domSy)?window.pageYOffset:0;
if (!e) e = window.event;
if (typeof e.pageY == 'number')
{
my = e.pageY - msy + 16;
mx = e.pageX + 6;
}
else
{
my = e.clientY - msy + 16;
mx = e.clientX + 6;
}
if (my > h-65) my = h-65;
if (mx > w-50) mx = w-50;
}
function assgn()
{
for (j = 0; j < 3; j++)
{
dy[j] = my + 50 * Math.cos(stp+j*evn*Math.PI/180) *
Math.sin((stp+j*25)/2) + scrl(0) + pix;
dx[j] = mx + 50 * Math.sin(stp+j*evn*Math.PI/180) *
Math.sin((stp+j*25)/2) * Math.sin(stp/4) + pix;
}
stp+=s;
for (i = 0; i < n; i++)
{
if (i < n-1)
{
vx[i].top = vx[i+1].top; vx[i].left = vx[i+1].left;
vy[i].top = vy[i+1].top; vy[i].left = vy[i+1].left;
vz[i].top = vz[i+1].top; vz[i].left = vz[i+1].left;
}
else
{
vx[i].top = dy[0]; vx[i].left = dx[0];
vy[i].top = dy[1]; vy[i].left = dx[1];
vz[i].top = dy[2]; vz[i].left = dx[2];
}
}
setTimeout(assgn,t);
}
function init()
{
for (i = 0; i < n; i++)
{
vx[i] = document.getElementById("x"+(idx+i)).style;
vy[i] = document.getElementById("y"+(idx+i)).style;
vz[i] = document.getElementById("z"+(idx+i)).style;
}
winsize();
assgn();
}
if (window.addEventListener)
{
window.addEventListener("resize",winsize,false);
window.addEventListener("load",init,false);
document.addEventListener("mousemove",mouse,false);
}
else
if (window.attachEvent)
{
window.attachEvent("onload",init);
document.attachEvent("onmousemove",mouse);
window.attachEvent("onresize",winsize);
}
</script>
Template: #Notorious Station
Template: #Imagine
Template: #Dizzle Gizle
Template: #Payphone
Template: #Infinite
Template: #X-Zotic
Template: Coming Soon
Tutorial: Hide Youtube Player
Tutorial: Marquee Go Left
Tutorial: Border Keliling Blog
Tutorial: Favicon
Tutorial: Goodbye Note
Tutorial: Welcome Note
Tutorial: Welcome Note Click 'Enter'
Tutorial: Letak Ayat Bawah Post
Tutorial: Ambek Link Lagu Dekat Youtube
Tutorial: Unique Underline
Tutorial: Button Follow & Dashboard Part 3
Tutorial: Billy MP3 Player
Tutorial: Ambek Lagu Dekat IronDJ.net
Tutorial: Image , Hover Bergegar
Tutorial: Jquery Back To Top Belah Kiri
Tutorial: Link Hover Part 2
Tutorial: Rainbow Sparkling Cursor's
Tutorial: New Style Music Hover
Tutorial: Letak Comment Dekat Classic Template
Tutorial: Touch Transition Sidebar Part 2
Tutorial: Marquee Go Right
Tutorial: Marquee Go Down
Tutorial: Marquee Go Up
Tutorial: Make Own Classic Template
Tutorial: Cara Nak Extract File
Tutorial: Link Hover Part 1
Tutorial: Button Follow BerGambar
Tutorial: Online User
Tutorial: Scroll Bar Part3
Tutorial: Cute MP3 Player
Tutorial: Click Transition Sidebar
Tutorial: Header Berpusing
Tutorial: Blog Archive
Tutorial: Love Sparkling Cursor's
Tutorial: Title Blog Bergerak
Tutorial: Check Berat Blog
Tutorial: Disable Right Click With Alert
Tutorial: Cara Nak Cari BLOG ID
Tutorial: Tukar Background
Tutorial: Shadow Keliling Blog
Tutorial: Button Follow Part 2
Tutorial: Scroll Bar Part 3
Tutorial: Sparkling Cursor's
Tutorial: Disable Highlight
Tutorial: Curved Keliling Blog
Tutorial: Cara Nak Copy
Tutorial: Jquery Back To Top #For Classic Temp.
Tutorial: Text Highlight
Tutorial: Update Box
Tutorial: Ringankan Blog
Tutorial: Header Ketepi Dan Hiln=ang
Tutorial: Header Berpusing Dan Hilang
Tutorial: Scroll Bar
Tutorial: Link Berpelangi
Tutorial: Link Bershadow
Tutorial: Total Page Viewer
Tutorial: New Tab
Tutorial: Objek Berpusing Keliling Blog
Tutorial: Moving Word Cursors
Tutorial: Letak Lagu Gune Youtube
Tutorial: Bubble Sparkling
Tutorial: Kotak Follow Mcm Tumblr
Tutorial: Buang Navbar
Tutorial: Cara Nak Gune Blogskins
Tutorial: Transition Sidebar
Tutorial: Flash MP3 Player
Tutorial: Button Close
Tutorial: Disable Right Click No Alert
Tutorial: Pop-Up Cbox #Classic Temp.
Tutorial: Private Blog
Tutorial: Besarkan Box Template Editor *Classic Temp.
Tutorial: Remove Navbar Tanpa Gune Code *Classic Temp.
Tutorial: Coming Soon
Freebies: Header Life Is Crazy
Freebies: Button Dashboard Part 1
Freebies: Button Follow Part 1
Freebies: Free Cursors
Freebies: Button Back To Top
Freebies: Header Just Be YourSelf
Freebies: Header Mustache Lover
Freebies: Girl Doodle
Freebies: Background Wave
Freebies: Button Back To Top Part 3
Freebies: Header Fashion Is My Life
Freebies: Header Diary Of My Life
Freebies: Header International Love
Freebies: Button Back To Top Part 4
Freebies: Background Kertas Renyuk
Freebies: Background Stripes
Freebies: Background Polkadot
Freebies: Background Sky
Freebies: Background Vintage
Freebies: Background Vintage Part 2
Freebies: Background Smooth Flower
Freebies: Close Button
Freebies: Header I Am Your Leader *NEW*

