
LIVE PREVIEW:
http://profiles.friendster.com/asshole018
For the preview, try to move ur mouse on my fLoating image,
...and u see what's mean of this trick! haha...
uhm...aLL you have to do is edit some boLd part of the given code beLow and then copy, paste it in notepad, save it as new JS extension...
//detecting browser to dynamically write appropriate DIVs/LAYERs
N=(navigator.appName.indexOf('Netscape')!=-1&&parseInt(navigator.appVersion)<5)
S=(navigator.appName.indexOf('Netscape')!=-1&&parseInt(navigator.appVersion)>4.9)
M=(navigator.appName.indexOf('Microsoft')!=-1)
Vis=new Array()
Vis[0]M||S) ? "hidden" : "hide"
Vis[1]M||S) ? "visible" : "show"
function GetDiv(divId,divY,divX,divW,divH,bCol,visb,zInd){
bkCol=(bCol!="")?((N)?" bgColor="+bCol:";background:"+bCol):""
Styl = (M||S) ? "<DIV" : "<LAYER"
if(M||S){
Styl+=" ID="+divId
Styl+=" style='position:absolute;top:"+divY+";left:"+divX+";width:"+divW+";height:"+divH+bkCol
Styl+=";visibility:"+Vis[visb]+";z-index:"+zInd
Styl+="'>"
}
if(N){
Styl+=" ID="+divId
Styl+=" top="+divY+" left="+divX+" width="+divW+" height="+divH+bkCol
Styl+=" visibility="+Vis[visb]+" z-index="+zInd
Styl+=">"
}
document.writeln(Styl)
}
function EndDiv(){
(M||S)? document.writeln("</DIV>"): document.writeln("</LAYER>")
}
function PutIt(ID,dX,dY){
if(N){
document.layers[ID].left=dX
document.layers[ID].top=dY
}
if(M){
document.all[ID].style.left=dX
document.all[ID].style.top=dY
}
if(S){
document.getElementById(ID).style.left=dX
document.getElementById(ID).style.top=dY
}
}
function ShowHide(ID,vs){
if(N){
document.layers[ID].visibility=Vis[vs]
}
if(M){
document.all[ID].style.visibility=Vis[vs]
}
if(S){
document.getElementById(ID).style.visibility=Vis[vs]
}
}
function Xof(ID){
if(N){
return document.layers[ID].left
}
if(M){
return document.all[ID].style.left
}
if(S){
return document.getElementById(ID).style.left
}
}
function Yof(ID){
if(N){
return document.layers[ID].top
}
if(M){
return document.all[ID].style.top
}
if(S){
return document.getElementById(ID).style.top
}
}
function Zind(ID,zz){
if(N){
document.layers[ID].zIndex=zz
}
if(M){
document.all[ID].style.zIndex=zz
}
if(S){
document.getElementById(ID).style.zIndex=zz
}
}
function ChangeCol(ID,colrx){
if(M)document.all[ID].style.background=colrx
if(N)document.layers[ID].bgColor=colrx
if(S)document.getElementById(ID).style.background=colrx
}
function DivWrite(IdName,Str) {
if (N){
document.layers[IdName].document.write(Str)
document.layers[IdName].document.close()
}
if(M) document.all[IdName].innerHTML=Str
if(S) document.getElementById(IdName).innerHTML=Str
}
GetDiv('Obj',300,300,20,20,'',1,0)
document.write("<img src=URL OF UR FLOATING IMAGE>")
EndDiv()
function Xof(div){
if(M) return parseInt(document.all[div].style.left)
if(S) return parseInt(document.getElementById(div).style.left)
if(N) return parseInt(document.layers[div].left)
}
function Yof(div){
if(M) return parseInt(document.all[div].style.top)
if(S) return parseInt(document.getElementById(div).style.top)
if(N) return parseInt(document.layers[div].top)
}
if(document.layers) document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=newPos;
function newPos(e){
XM)?event.clientX:e.pageX
YM)?event.clientY:e.pageY
Xo=Xof('Obj')
Yo=Yof('Obj')
if(Math.abs(X-Xo)<50&&Math.abs(Y-Yo)<50){
PutIt('Obj',Math.floor(Math.random()*400),Math.floor(Math.random()*300))
}
}
and then after that, upLoad ur js fiLe in your fiLe hosting, eg. ripway or geocities...and then copy the URL of ur js fiLe...paste in boLded part of the given code beLow.
var untfLobject = document.createElement("script");
untfLobject.type = "text/javascript";
untfLobject.src = "URL OF UR untouchabLe JS fiLe";
document.getElementsByTagName("head")[0].appendChild(untfLobject);
and then copy aLL the given code above, paste it in your JS extension...
that's it!...hup u Lyk this trick...
-Offline- |
-Offline- |

Does it work on all browser? I tried the preview and only see basic css codes using IE7 

-Offline- |

bro... check ur codes... in FF ur profile is null...

-Offline- |

bobcbar wrote:
Does it work on all browser? I tried the preview and only see basic css codes using IE7
i'm not sure sir Bobcbar if this trick are aLso compatibLe for IE browser, but don't worry sir, i'll try to fix this tricks...tnx sir...
Yellow Flash wrote:
bro... check ur codes... in FF ur profile is null...
uhm, are u sure bro? but my profiLe is open now, and i aLso add something new tricks...uhm, by the way, try to refresh my profiLe, or HIT BACK, and then wait for a few seconds...thnx for ur concern bro...
-Offline- |

irishandme wrote:
i'm not sure sir Bobcbar if this trick are aLso compatibLe for IE browser, but don't worry sir, i'll try to fix this tricks...tnx sir...
Thanks....maybe its just ur js codes or the linker you used. I just check again and see changes you made but still no js codes are showing 

-Offline- |

this is great, thanks for sharing bro.. 
![]()
-Offline- |

-Offline- |

WOw Nc Trick tnx 4 sharing
-Offline- |

Lol. a floating trick is a bit sensitive when it
comes to compatibilty. Anyway, nice trick... dude...
kip emm comin.

I cant see anything~! 
how can?
I am here friends ^^-Offline- |

Ulaai wrote:
I cant see anything~!
how can?
uhm, if you don't see any tricks on my profiLe it means my daiLy bandwidth was exceed, try to revisit my profiLe after a few seconds...thnx for ur concern...
Last edited by irishandme (2008-07-31 14:26:21)
-Offline- |

doesn't work on my profile

-Offline- |

shan021 wrote:
doesn't work on my profile
uhm, are you sure? ukei, can i see your codes?
-Offline- |

it may not be compatible in some browsers... buddies..
so dont be confused.
u can test it first in dracc...tester


nc preview, bro!!!haha i thought you didn't say untouchable, coz i really can't touch it grrrr:smoke:....

-Offline- |

yah.. i can see ur profile now... cool profile bro..
hahaha how about sharing us that droppable banner???
hahah i want that!!!

-Offline- |

haha! nice i like that trick! 
![]()




-Offline- |

Yellow Flash wrote:
yah.. i can see ur profile now... cool profile bro..
hahaha how about sharing us that droppable banner???
hahah i want that!!!
haha...thnx bro...
uhm, you want my dropdown banner?, ukei i'LL try to share my codes here! but not this time...haha...thnx bro...
-Offline- |