Load $_SERVER['PHP_SELF'] with rollover image
Posted: Tue Sep 14, 2004 2:18 pm
Is there a way to use a rollover menu to do a $_SERVER['PHP_SELF'] and also send along a hidden value that tells me which rollover menu button was click by a user?
Below is my rollover menu button codes generated in Adobe Image Ready.
What I'm trying to do is creating a rollover menu buttons or tabs that according to which menu button it was clicked, a table with data from the MySQL database will show up on that same page.
Any help is gratefuly.
ljCharlie
Below is my rollover menu button codes generated in Adobe Image Ready.
Code: Select all
<table id="Table_01" width="165" height="35" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img name="galleryMenus_01" src="images/galleryMenus_01.gif" width="165" height="35" border="0" alt="" usemap="#galleryMenus_01_Map"></td>
</tr>
</table>
<map name="galleryMenus_01_Map">
<area shape="rect" alt="" coords="0,0,86,34" href="#"
onmouseover="toggleImages('Current', new Array('galleryMenus_01', 'images/galleryMenus_01-Archived_ov.gif'), '', new Array('galleryMenus_01', 'images/galleryMenus_01-Archived-05.gif')); return true;"
onmouseout="toggleImages('Archived', new Array('galleryMenus_01', 'images/galleryMenus_01-Archived-05.gif'), 'Current', new Array('galleryMenus_01', 'images/galleryMenus_01-Current_-04.gif'), '', new Array('galleryMenus_01', 'images/galleryMenus_01.gif')); return true;"
onmouseup="selected='Archived'; changeImages('galleryMenus_01', 'images/galleryMenus_01-Archived-05.gif'); return true;">
<area shape="rect" alt="" coords="78,0,164,34" href="#"
onmouseover="toggleImages('Archived', new Array('galleryMenus_01', 'images/galleryMenus_01-Current_ove.gif'), '', new Array('galleryMenus_01', 'images/galleryMenus_01-Current_-04.gif')); return true;"
onmouseout="toggleImages('Archived', new Array('galleryMenus_01', 'images/galleryMenus_01-Archived-05.gif'), 'Current', new Array('galleryMenus_01', 'images/galleryMenus_01-Current_-04.gif'), '', new Array('galleryMenus_01', 'images/galleryMenus_01.gif')); return true;"
onmouseup="selected='Current'; changeImages('galleryMenus_01', 'images/galleryMenus_01-Current_-04.gif'); return true;">
</map>What I'm trying to do is creating a rollover menu buttons or tabs that according to which menu button it was clicked, a table with data from the MySQL database will show up on that same page.
Any help is gratefuly.
ljCharlie