[b]Floating navigation fixed... wakakkaka [/b]
Credits to the person above[b](shakiro)[/b] for the fix reference... and to my epic friend [b]shirow[/b]... for this kind of tweak
lols also credits to undying [b]dynamicdrive.com[/b]
shakiro=shirow LOLOLOLOLOLOLOLOLO
FULL CODE .. insert this under your JS Codes
[quote]function epicwin(){
epic="<div id='divStayTopLeft' style='position:absolute;z-index:50;'>"+
"<table border='1' width='130' cellspacing='0' cellpadding='0'><tr><td width='100%' bgcolor='#FFFFCC'>"+
"<p align='center'><b><font size='4'>Navigation</font></b></td></tr><tr><td width='100%' bgcolor='#FFFFFF'>"+
"<p align='left'>"+
"<a href='[b]
http://www.friendster.com[/b]'>[b]Home[/b]</a><br>"+
"<a href='[b]
http://profiles.friendster.com/user.php[/b]'>[b]Profile[/b]</a><br>"+
"<a href='[b]
http://friendster.com/explore.php[/b]'>[b]Explore[/b]</a><br>"+
"<a href='[b]
http://olx.friendster.com/gateway_cobranded.php?country=PH[/b]'>
[b]Classifieds</a><br>"+
"<a href='[b]
http://www.friendster.com/messages.php[/b]'>[b]Messages[/b]</a><br>"+
"<a href='[b]
http://www.friendster.com/logout.php[/b]'>
[b]Logout[/b]</a><br></td></tr></table></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=epic;
flow.parentNode.insertBefore(river,flow);
//in this part you can change it into "frombottom" or "fromtop"
[b]var verticalpos="frombottom"[/b]
function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 150;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
}setTimeout("epicwin()",1800);[/quote]
you can edit the [b]bold url[/b] above if you want to change the link... or play something with it.. gets?
//in this part you can change it into "frombottom" or "fromtop"
[b]var verticalpos="frombottom"[/b]
[quote]This is the very simplest fix i can do with this tweak... honestly i just refer to shakiro's fix and use [b]table[/b] function for the navigation... and added the function of floating navigation from DynamicDrive
Working good FF and IE...
let's just wait for shirow if he likes to edit his post or not...[/quote]
Preview: [s][url=http://profiles.friendster.com/53375466]Start Game[/url][/s]
Last edited by blurrycloud (2008-02-06 22:22:09)