::FSWeaver Official Forum Site::
welcome to FSweaver..Have More Fun and Enjoy.
Register nOW!!!!
::FSWeaver Official Forum Site::
welcome to FSweaver..Have More Fun and Enjoy.
Register nOW!!!!
::FSWeaver Official Forum Site::
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Community Of People Who Are Into Social Networking
 
PortalHomeSearchLatest imagesRegisterLog in
Welcome Here! in FSweaver stay enjoy here have more fun sharing the tricks..

 

 BUBBLE CURSOR

Go down 
AuthorMessage
amiick
Admin
amiick


Female
Honors : 142
Age : 34
Location : cavite
Warnings :
BUBBLE CURSOR Left_bar_bleue0 / 1000 / 100BUBBLE CURSOR Right_bar_bleue

FW Mood: : BUBBLE CURSOR 12
Honors : 57874
Registration date : 2009-01-15

BUBBLE CURSOR Empty
PostSubject: BUBBLE CURSOR   BUBBLE CURSOR Icon_minitimeThu Jan 15, 2009 9:21 am

i'm so for no preview because i already delete eh Neutral
but here's the code
Code:
[font=Courier New]// Under Water Mouse - Kurt Grigg - // http://www.btinternet.com/~kurt.grigg/javascript
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
o6=(navigator.appName.indexOf("Opera") != -1)?true:false;

img0=new Image();
img0.src="http://i243.photobucket.com/albums/ff72/adhieshinosuke/adhie%201/bluebub.gif";

num=(n6)?10:15;

buby=0;
bubx=0;
if (n4||n6){
window.captureEvents(Event.MOUSEMOVE);
function mouse1(e){
buby = e.pageY-20-window.pageYOffset;
bubx = e.pageX-4;
}
if (n4) window.onMouseMove=mouse1;
else document.onmousemove=mouse1;
}
if (ie||o6){
function mouse2(){
buby = (ie)?event.clientY-20:event.clientY-20-window.pageYOffset;
bubx = event.clientX-4;
}
document.onmousemove=mouse2;
}
yp=new Array();
xp=new Array();
sp=new Array();
rt=new Array();
gr=new Array();
s1=new Array();
s2=new Array();
nz=new Array();
wh=(ie)?window.document.body.clientHeight:window.innerHeight;
for (i=0; i < num; i++){                                                             
yp[i]=Math.random()*wh-buby;
xp[i]=bubx;
sp[i]= 6+Math.random()*3;
s1[i]=0;
s2[i]=Math.random()*0.1+0.05;
gr[i]=4;
nz[i]=Math.random()*15+5;
rt[i]=Math.random()*0.5+0.1;
}
if (n4){
for (i=0; i < num; i++){
document.write("<LAYER NAME='bub"+i+"' LEFT=0 TOP=-50>"
+"<img src='bluebub.gif' width="+nz[i]+" height="+nz[i]+"></LAYER>");
}
}
if (ie){
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < num; i++){
document.write('<img id="bub'+i+'" src="'+img0.src+'" style="position:absolute;top:-50px;left:0px">');
}
document.write('</div></div>');
}
if (n6||o6){
for (i=0; i < num; i++){
document.write("<div id='bub"+i+"' style='position:absolute;top:-50px;left:0px'>"
+"<img src="+img0.src+" width="+nz[i]+" height="+nz[i]+"></div>");
}
}
function MouseBubbles(){
scy=(document.all)?document.body.scrollTop:window.pageYOffset;
scx=(document.all)?document.body.scrollLeft:window.pageXOffset;
for (i=0; i < num; i++){
sy = sp[i]*Math.sin(270*Math.PI/180);
sx = sp[i]*Math.cos(s1[i]*5);
yp[i]+=sy;
xp[i]+=sx;
if (yp[i] < -40){
yp[i]=buby;
xp[i]=bubx;
sp[i]= 6+Math.random()*3;
gr[i]=4;
nz[i]=Math.random()*15+5;
}
if (n4){
document.layers["bub"+i].left=xp[i]+scx;
document.layers["bub"+i].top=yp[i]+scy;
}
if (ie){
document.getElementById("bub"+i).style.left=xp[i]+scx;
document.getElementById("bub"+i).style.top=yp[i]+scy;
document.getElementById("bub"+i).style.width=gr[i];
document.getElementById("bub"+i).style.height=gr[i];
}
if (n6||o6){
document.getElementById("bub"+i).style.left=xp[i]+scx;
document.getElementById("bub"+i).style.top=yp[i]+scy;
}
gr[i]+=rt[i];
s1[i]+=s2[i];
if (gr[i] > 14) gr[i]=15;
}
setTimeout('MouseBubbles()',10);
}
MouseBubbles();
//-->[/font]

paste it in ur js code

credits
Arrow sir heinz
Arrow hcg
Back to top Go down
http://www.friendster.com/amick3rdaccount
 
BUBBLE CURSOR
Back to top 
Page 1 of 1
 Similar topics
-
» MAKE YOUR OWN NAME CURSOR HIR
» VIEWER PIC CURSOR
» CIRCLING TEXT CURSOR

Permissions in this forum:You cannot reply to topics in this forum
::FSWeaver Official Forum Site:: :: FS Micsellaneous :: Friendster Tricks and Tutorials :: Js Tutorials-
Jump to:  
Create a forum on Forumotion | ©phpBB | Free forum support | Report an abuse | Cookies | Forumotion.com