View Single Post
Old 10-10-2005, 07:11 PM  
TheMob
Confirmed User
 
Join Date: Jan 2003
Location: 2006
Posts: 8,584
web dev question (javascript, php)

I have a menu that I'm including via PHP..this menu uses JS rollovers. I would like to be able to highlight the correct part of the menu, depending on current URL location of the browser..

doable? in JS? php?

thanks!

Code:
			<a href="index.php?mn=gallery"
				onmouseover="changeImages('menu_04', '<?=RURL;?>images/menu_04-over.gif'); return true;"
				onmouseout="changeImages('menu_04', '<?=RURL;?>images/menu_04.gif'); return true;"
				onmousedown="changeImages('menu_04', '<?=RURL;?>images/menu_04-over.gif'); return true;"
				onmouseup="changeImages('menu_04', '<?=RURL;?>images/menu_04-over.gif'); return true;">
				<img name="menu_04" src="
TheMob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote