Pages: 12
This trick is useful if your profile doesnt have the main navigation. Means, you replace it with other thing, for example, slide, mp3 player, etc, just like in my profile. But you also can use it for other purpose. You can put any link you want.
--
1) Paste this at the bottom of your JS ext.[/align]
[spoiler]floatnavi="<div id=\"divStayTopLeft\" style=\"position:absolute;z-index:50;\"><div class=\"arrowlistmenu\">"+
"<h3 class=\"menuheader expandable\">Navigation</h3>"+
"<ul class=\"categoryitems\">"+
"<li><a href=\"[color=red][b]http://www.friendster.com[/b][/color]/\">[color=red][b]Home[/b][/color]</a></li>"+
"<li><a href=\"[color=red][b]http://www.friendster.com/user.php[/b][/color]\">[color=red][b]My Profile[/b][/color]</a></li>"+
"<li><a href=\"[color=red][b]http://www.friendster.com/widget_myapps.php[/b][/color]\">[color=red][b]My Apps[/b][/color]</a></li>"+
"<li><a href=\"[color=red][b]http://www.friendster.com/friends.php[/b][/color]\">[color=red][b]My Friends[/b][/color]</a></li>"+
"<li><a href=\"[color=red][b]http://www.friendster.com/explore.php[/b][/color]\">[color=red][b]Explore[/b][/color]</a></li>"+
"<li><a href=\"[color=red][b]http://www.friendster.com/gallery.php[/b][/color]\">[color=red][b]Search[/b][/color]</a></li>"+
"<li><a href=\"[color=red][b]http://www.friendster.com/logout.php[/b][/color]\">[color=red][b]Log Out[/b][/color]</a></li>"+
"</ul>"+
"<div>"+
"</div>"+
"</div></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=floatnavi;
flow.parentNode.insertBefore(river,flow);
//in this part you can change it into "frombottom" or "fromtop"
var verticalpos="frombottom"
function BoyantDiv()
{
var startX = 15;
var startY = 400;
function ml(id)
{
if (document.getElementById)
{
var wek=document.getElementById(id);
}
else if (document.all)
{
var wek=document.all[id];
}
else
{
var wek=document.layers[id];
}
if(document.layers)
{
wek.style=wek;
}
wek.sP = function(x,y) {shino(x,y);};
function shino(x,y)
{
wek.style.left=x;
wek.style.top=y;
}
wek.x = startX;
if (verticalpos=="fromtop")
{
wek.y = startY;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
wek.y = pageYOffset + innerHeight;
}
else
{
wek.y = document.body.scrollTop + document.body.clientHeight;
}
wek.y -= startY;
}
return wek;
}
window.stayTopLeft = function () {boyant();};
function boyant()
{
if (verticalpos=="fromtop"){
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset;
}
else
{
var tenten = document.body.scrollTop;
}
ftlObj.y += (tenten + startY - ftlObj.y)/8;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset + innerHeight;
}
else
{
var tenten = document.body.scrollTop + document.body.clientHeight;
}
ftlObj.y += (tenten - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
wakoko=setTimeout("stayTopLeft()", 50);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
BoyantDiv();[/spoiler]
You can edit the red part.
--
Lastly, past this code at your CSS ext.
<">Thats it. Your done.
[align=center]----
Credits:
[b]Shakiro[/b] - for the floating code
[b]DynamicDrive[/b] - CSS menu style[/align]
Last edited by bobcbar (2008-11-22 19:38:20)
Last edited by As cicatrizes (2008-11-24 09:32:09)
its like navigation who made by streezzzpc !!!
this the url
[url=http://theftalk.com/t42406-%7BTUTORIAL%7D-Floating-Accordion-Menu-%28navigation%29.html]floating navigation[/url]
sorry if im wrong
its like navigation who made by streezzzpc !!!
this the url
floating navigation
sorry if im wrong
[/quote]
Thank for your help but its not helpful. Only the codes are in enflish and most of their reply is in indonesian
Read my post before you comment. Its not triple post. Its thread bumping. You already have 1888 post and you don't know what thread bumping means. Learn it first and read my post carefully before you say anything.
To whoever delete my post, Don't [b]ABUSE[/b] your position on deleting my post cause Bumping is not included on the Forum [b]RULES[/b]. I will understand if you will let me know that you delete my post.
And one more.
[quote]4. No spamming and [b]flamming[/b] in any form.[/quote]
I apologize sir for not posting the reason due to I'm zapping other reports.
---
[quote=y4sir]its like navigation who made by streezzzpc !!!
this the url
floating navigation
sorry if im wrong
[/quote]
Yep. Its the same, But its for Indo forumers only. because its posted on the sub forum tricks and tutorials under regional section Indonesia. This trick is for all of us. (international) so probably. There's nothing wrong on sharing this in international.
Also he modified it a a little..
Last edited by portuniecho (2008-11-26 23:15:03)
thanks for sharing and keep it up..