The javascript popup code gives the (first) menu of the top menu.
Return to Recent Questions
Q:
The popup menu gives the (first) menu of the
top menu. I need of course for this to be the menu of the popup.
A:
Installation of your menu is not correct.
Now you have:
1) There is no need to call dmenu_popup.js file. You should delete the
following line:
<script type="text/javascript" language="JavaScript1.2" src="dmenu_popup.js"></script>
2) Where you call source_pop.js file for Popup menu?
You should add:
<SCRIPT language=JavaScript1.2 src="menu_files/source_pop.js"
type=text/javascript></SCRIPT>
3) The ID of your Popup menu is 1. Now you have ID - 0.
<img src="testimage.gif" width="200" height="200" onClick="return dm_popup(0, 9000, event);" style="cursor:hand;">
you should write:
<img src="testimage.gif" width="200" height="200" onClick="return
dm_popup(1, 9000, event);" style="cursor:hand;">
Return to Recent Questions
|