CIMulation Posted March 17, 2010 Share Posted March 17, 2010 Sorry if I sound stupid. My site, using js/html, is using a navigation bar and it has a mouseover effect. I would like to retain this mouseover effect on my store site(PHP), but I don't know how to do it. I'm such a noob. Sorry! Anyhow, here is the code that I'm currently using on my PHP page. It displays the navigation bar correctly, but failing to show the mouseover effects. Thanks in advance! <tr> <td width="748" height="20"><table border="0" cellpadding="0" cellspacing="0" width="750"> <!-- fwtable fwsrc="MenuBar.png" fwpage="Page 1" fwbase="MenuBar.gif" fwstyle="Dreamweaver" fwdocid = "1307816004" fwnested="0" --> <tr> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="300" height="1" border="0" id="undefined_2" /></td> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="57" height="1" border="0" id="undefined_2" /></td> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="88" height="1" border="0" id="undefined_2" /></td> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="54" height="1" border="0" id="undefined_2" /></td> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="73" height="1" border="0" id="undefined_2" /></td> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="77" height="1" border="0" id="undefined_2" /></td> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="101" height="1" border="0" id="undefined_2" /></td> <td><img src="images/MenuBar/spacer.gif" alt="" name="undefined_2" width="1" height="1" border="0" id="undefined_2" /></td> </tr> <tr> <td><img name="MenuBar_r1_c1" src="../../images/MenuBar/MenuBar_r1_c1.gif" width="300" height="30" border="0" id="MenuBar_r1_c1" alt="" /></td> <td><a href="../home.html" target="_top" onclick="MM_nbGroup('down','navbar1','MenuBar_r1_c2','../../images/MenuBar/MenuBar_r1_c2_f3.gif',1);" onmouseover="MM_nbGroup('over','MenuBar_r1_c2','../../images/MenuBar/MenuBar_r1_c2_f2.gif','../../images/MenuBar/MenuBar_r1_c2_f3.gif',1);MM_swapImage('MenuBar_r1_c2','','../../images/MenuBar/MenuBar_r1_c2_f2.gif',1);" onmouseout="MM_swapImgRestore();MM_nbGroup('out')"><img name="MenuBar_r1_c2" src="../../images/MenuBar/MenuBar_r1_c2.gif" width="57" height="30" border="0" id="MenuBar_r1_c2" alt="" /></a></td> <td><a href="../products.html" target="_top" onclick="MM_nbGroup('down','navbar1','MenuBar_r1_c3','../../images/MenuBar/MenuBar_r1_c3_f3.gif',1);" onmouseover="MM_nbGroup('over','MenuBar_r1_c3','../../images/MenuBar/MenuBar_r1_c3_f2.gif','../../images/MenuBar/MenuBar_r1_c3_f3.gif',1);MM_swapImage('MenuBar_r1_c3','','../../images/MenuBar/MenuBar_r1_c3_f2.gif',1);" onmouseout="MM_swapImgRestore();MM_nbGroup('out')"><img name="MenuBar_r1_c3" src="../../images/MenuBar/MenuBar_r1_c3.gif" width="88" height="30" border="0" id="MenuBar_r1_c3" alt="" /></a></td> <td><a href="../gear.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MenuBar_r1_c4','','../../images/MenuBar/MenuBar_r1_c4_f2.gif',1);"><img name="MenuBar_r1_c4" src="../../images/MenuBar/MenuBar_r1_c4.gif" width="54" height="30" border="0" id="MenuBar_r1_c4" alt="" /></a></td> <td><a href="../gallery.html" target="_top" onclick="MM_nbGroup('down','navbar1','MenuBar_r1_c5','../../images/MenuBar/MenuBar_r1_c5_f3.gif',1);" onmouseover="MM_nbGroup('over','MenuBar_r1_c5','../../images/MenuBar/MenuBar_r1_c5_f2.gif','../../images/MenuBar/MenuBar_r1_c5_f3.gif',1);" onmouseout="MM_nbGroup('out');"><img name="MenuBar_r1_c5" src="../../images/MenuBar/MenuBar_r1_c5.gif" width="73" height="30" border="0" id="MenuBar_r1_c5" alt="" /></a></td> <td><a href="../aboutus.html" target="_top" onclick="MM_nbGroup('down','navbar1','MenuBar_r1_c6','../../images/MenuBar/MenuBar_r1_c6_f3.gif',1);" onmouseover="MM_nbGroup('over','MenuBar_r1_c6','../../images/MenuBar/MenuBar_r1_c6_f2.gif','../../images/MenuBar/MenuBar_r1_c6_f3.gif',1);MM_swapImage('MenuBar_r1_c6','','../../images/MenuBar/MenuBar_r1_c6_f2.gif',1);" onmouseout="MM_swapImgRestore();MM_nbGroup('out')"><img name="MenuBar_r1_c6" src="../../images/MenuBar/MenuBar_r1_c6.gif" width="77" height="30" border="0" id="MenuBar_r1_c6" alt="" /></a></td> <td><a href="../contactus.html" target="_top" onclick="MM_nbGroup('down','navbar1','MenuBar_r1_c7','../../images/MenuBar/MenuBar_r1_c7_f3.gif',1);" onmouseover="MM_nbGroup('over','MenuBar_r1_c7','../../images/MenuBar/MenuBar_r1_c7_f2.gif','../../images/MenuBar/MenuBar_r1_c7_f3.gif',1);MM_swapImage('MenuBar_r1_c7','','../../images/MenuBar/MenuBar_r1_c7_f2.gif',1);" onmouseout="MM_swapImgRestore();MM_nbGroup('out')"><img name="MenuBar_r1_c7" src="../../images/MenuBar/MenuBar_r1_c7.gif" width="101" height="30" border="0" id="MenuBar_r1_c7" alt="" /></a></td> <td><img src="../../images/MenuBar/spacer.gif" alt="" name="undefined_2" width="1" height="30" border="0" id="undefined_2" /></td> </tr> </table></td> </tr> Link to comment https://forums.phpfreaks.com/topic/195531-how-do-i-change-my-htmljs-menubar-to-be-used-in-php/ Share on other sites More sharing options...
scvinodkumar Posted March 17, 2010 Share Posted March 17, 2010 check whether the function MM_nbGroup() exists on your php pages. if not then add this function on your php page Link to comment https://forums.phpfreaks.com/topic/195531-how-do-i-change-my-htmljs-menubar-to-be-used-in-php/#findComment-1027427 Share on other sites More sharing options...
CIMulation Posted March 17, 2010 Author Share Posted March 17, 2010 Thanks! I forgot to copy over the js to the store. Works as it should now. Link to comment https://forums.phpfreaks.com/topic/195531-how-do-i-change-my-htmljs-menubar-to-be-used-in-php/#findComment-1027705 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.