(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:
Bootstrap Checkbox Label Bootstrap Grid Tutorial  |  Bootstrap Form Button  |  Bootstrap Image Gallery  |  Bootstrap Columns Mobile  |  Bootstrap Accordion Table  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. best web design software | website design software | Bootstrap Templates | mobiriseextensions.com | bootstrap website builder