(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

Best 18 Landing Page Bootstrap Theme Roundup Bootstrap Buttons Group  |  Bootstrap Table Template  |  Bootstrap Alert Colors  |  Bootstrap Pagination Responsive  |  Bootstrap Modal Position  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Generator | AI Website Builder | Website Generator AI | AI web design generator | AI website design generator