PDA

View Full Version : BUG FIX: last 3 rollovers in main menu



mynameisob3l
04-14-2004, 05:18 PM
hey all, i just noticed this as i was putting a site together...

the last 3 "buttons" on the main navigation page didn't rollover correctly...

http://publicskool.com/temp/open_r_menu.gif

i examined the /TEMPLATE/VERTICAL-MENU/MENU.PHP file and found the last few lines:



<img name="About Us" border="0" src="<?php echo $config[template_url] ?>/images/buttons/sabout.jpg" width="155" height="48" alt="<?php echo $lang['menu_about_us']; ?>"></a><br>

<a href="<?php echo $config[baseurl]; ?>/contactus.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Contact Us','','<?php echo $config[template_url] ?>/images/buttons/rcontact.jpg',1)">
<img name="Contact Us" border="0" src="<?php echo $config[template_url] ?>/images/buttons/scontact.jpg" width="155" height="48" alt="<?php echo $lang['menu_contact_us']; ?>"></a><br>

<a href="<?php echo $config[baseurl]; ?>/members/listfavorites.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Favorite Listings','','<?php echo $config[template_url] ?>/images/buttons/rsavlist.jpg',1)">
<img name="Contact Us" border="0" src="<?php echo $config[template_url] ?>/images/buttons/ssavlist.jpg" width="155" height="48" alt="<?php echo $lang['menu_favorite_listings']; ?>"></a><br>

<a href="<?php echo $config[baseurl]; ?>/members/listsavedsearches.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Saved Searches','','<?php echo $config[template_url] ?>/images/buttons/rsavsearch.jpg',1)">
<img name="Contact Us" border="0" src="<?php echo $config[template_url] ?>/images/buttons/ssavsearch.jpg" width="155" height="48" alt="<?php echo $lang['menu_saved_searches']; ?>"></a><br>



those last few lines keep repeating the "contact us" line incorrectly (see the <img name="Contact Us" border="0" parts?... it should read:



<img name="About Us" border="0" src="<?php echo $config[template_url] ?>/images/buttons/sabout.jpg" width="155" height="48" alt="<?php echo $lang['menu_about_us']; ?>"></a><br>

<a href="<?php echo $config[baseurl]; ?>/contactus.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Contact Us','','<?php echo $config[template_url] ?>/images/buttons/rcontact.jpg',1)">
<img name="Contact Us" border="0" src="<?php echo $config[template_url] ?>/images/buttons/scontact.jpg" width="155" height="48" alt="<?php echo $lang['menu_contact_us']; ?>"></a><br>

<a href="<?php echo $config[baseurl]; ?>/members/listfavorites.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Favorite Listings','','<?php echo $config[template_url] ?>/images/buttons/rsavlist.jpg',1)">
<img name="Favorite Listings" border="0" src="<?php echo $config[template_url] ?>/images/buttons/ssavlist.jpg" width="155" height="48" alt="<?php echo $lang['menu_favorite_listings']; ?>"></a><br>

<a href="<?php echo $config[baseurl]; ?>/members/listsavedsearches.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Saved Searches','','<?php echo $config[template_url] ?>/images/buttons/rsavsearch.jpg',1)">
<img name="Saved Searches" border="0" src="<?php echo $config[template_url] ?>/images/buttons/ssavsearch.jpg" width="155" height="48" alt="<?php echo $lang['menu_saved_searches']; ?>"></a><br>


a simple typo, more than a bug really... but happy i could contribute~!

:D

polkadots
09-12-2004, 01:58 AM
Thanks! I looked and saw that the last 3 buttons were
not rolling over. Now they are thanks to your fix code.
Thank You,
Cindy :o