Log in

View Full Version : Active Menu


aveon
02-17-2007, 11:28 PM
hey guys

i have a question... i want my navbar to be like this forum when u click on a menu i want it to change color for example lets say the color of my menu is black, if u click on it it will change color and it will become red and when u click on another menu the old one will change to black again and the one u clicked will be red and it will be the same as other navbar links *** well can we do this via ajax or a javascript???

i actually searched for it as long as i saw it on this and some other sites.. i just want my members to se where they are.. if anybody can help me out with this i will really appariate it...

thanx for your concern...

Jorrit787
02-18-2007, 01:21 AM
i have a question for u guys how do vbulletin highlight active menu i want it for my members to see where they are can u guys help me on thatAre you talking about the highlights around Home / Forum / Articles, etc. here on vBulletin.org?

aveon
02-18-2007, 01:44 AM
Are you talking about the highlights around Home / Forum / Articles, etc. here on vBulletin.org?

yea man just like that one

Kungfu
02-18-2007, 02:02 AM
yea man just like that one

thats javascript and you would use onMouseOver and onMouseOut

You probably want to preload the images too.

Heres a pretty good reference

http://www.javascripter.net/faq/onmouseo.htm

aveon
02-18-2007, 12:37 PM
kungfu i tried the link u'r givin it works for a mouse over effect

i want my navbar to be like this forum when u click on a menu i want it to change color for example lets say the color of my menu is black, if u click on it it will change color and it will become red and when u click on another menu the old one will change to black again and the one u clicked will be red and it will be the same as other navbar links *** well can we do this via ajax or a javascript???

aveon
02-24-2007, 04:43 PM
anybody!!!!