(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    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

Bootstrap Navbar Example Bootstrap Textarea Group  |  Bootstrap Switch Value  |  Bootstrap Breakpoints Responsive  |  Bootstrap Tooltip Placement  |  Bootstrap Slider Usage  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Builder | Free AI Website Generator | AI Website Generator | AI website design generator