Forum Moderators: phranque
yes, you are missing something. I created a javascript pull-down menu, and for each button in that pull down menu i want to link it to the .php file, which is a gallery page.
How are you linking to .html files? Something like href="somePage.html"? Just do a href="somePage.php" and all should be fine. Your server should understand the extension.
WBF
<td><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0814004458_0,0,27,null,'button_r1_c2');MM_swapImage('button_r1_c2','','image/jsbutton/button_r1_c2_f2.gif',1);"><img name="button_r1_c2" src="image/jsbutton/button_r1_c2.gif" width="83" height="27" border="0" alt=""></a></td>
This is my product javascript button, However, for its pull down menue i have "marble, granite, limesone, and traveltine" button. I understand what your trying to say but where in the above script i can put a seperate link to each of the button to spgm.php?
Thanks for your self!
onMouseOver="MM_showMenu(window.mm_menu_0814004458_0,0,27,null,'button_r1_c2')
Bear in mind, I am not a JS whiz (not even a neophyte). Doesn't that bit of code cause the "real" menu to open up? That, I would guess, is where the links to your other files is at, that is, in the mm_menu... object. Are there href's there?
WBF
This is what i can to to
PRODUCTS dropes down to
MARBLE->SPGM.PHP
GRANITE->SPGM.PHP
TRAVELTINE->SPGM.PHP
LIMESTONE->SPGM.PHP
Thanks.