M
MDB
Hello All,
I have a master page that has a menu built from images. When a user goes to
a page, the menu item of that page then has a different back ground. How do
you accompulish this using master pages? Below is what my menu looks like,
Images with "A" means it is the active menu item, so when a user clicks on
b.aspx, then new current image should be 2A.jpg instead of 2.jpg.
<a href=a.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image1','','images/1.jpg',1)"><img
src="images/1A.jpg" alt="" name="1" border="0" align="top" /></a>
<a href="b.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image2','','images/2A.jpg',1)"><img
src="images/2.jpg" alt="" name="2" border="0" align="top" /></a>
<a href="c.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image3','','images/3A.jpg',1)"><img
src="images/3.jpg" alt="" name="3" border="0" align="top" /></a>
<a href="d.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image4','','images/4A.jpg',1)"><img
src="images/4.jpg" alt="" name="4" border="0" align="top" /></a>
I have a master page that has a menu built from images. When a user goes to
a page, the menu item of that page then has a different back ground. How do
you accompulish this using master pages? Below is what my menu looks like,
Images with "A" means it is the active menu item, so when a user clicks on
b.aspx, then new current image should be 2A.jpg instead of 2.jpg.
<a href=a.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image1','','images/1.jpg',1)"><img
src="images/1A.jpg" alt="" name="1" border="0" align="top" /></a>
<a href="b.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image2','','images/2A.jpg',1)"><img
src="images/2.jpg" alt="" name="2" border="0" align="top" /></a>
<a href="c.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image3','','images/3A.jpg',1)"><img
src="images/3.jpg" alt="" name="3" border="0" align="top" /></a>
<a href="d.aspx" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image4','','images/4A.jpg',1)"><img
src="images/4.jpg" alt="" name="4" border="0" align="top" /></a>