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


 

    When I view the page with simple javascript menu and click on the image, I get an error.

Return to Recent Questions


Q: I have installed all .js files in a subfolder under my html folder. \html\menudir\ all js files are here

My html file is in html folder.

Inserted in HEAD section in HTML file
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">simple javascript menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->

Later in BODY, used your sample popup javascript data-popup-mode.js file

<script type="text/javascript"
src="menudir/data-popup-mode.js"></script>
<img src="../images/lov.gif" onClick="return dm_popup(1, 2000, event);" style="cursor: pointer;"> When I view the page with simple javascript menu and click on the image, I get an error.

What am I doing wrong?

A: If you have only one menu on the page you should write popup function in the following way:

return dm_popup(0, 2000, event);






Return to Recent Questions

Related:
How To Embed Instagram Feed HTML Page Creator Plugins / Overview  |  Effective Link in Bio Services  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  Smart Cheap and Easy Web Page Builder Tools | Honest Review  |  Greatest 11 Free Wordpress Alternatives Tools  | 
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 | Free AI Website Builder | Website Generator AI | AI web design generator | AI website design generator