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


 

    Tried the javascript layer menu at our trial site and get the error : Line 13 Invalid argument...

Return to Recent Questions


Q: Thanks for swift reply, however:
Tried the dmenu.js (only one we use) at our trial site and get the error :
Line 13
Invalid argument

- as you know this js file is obfuscated to one line, so using a debugger does not apply.

A: See the attached example. I've upgraded your javascript layer menu to Deluxe Menu v3.0.
use data file and engine files from the attachment.

You had several errors in the structure of menuItems.

It is not correct to write

["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
["||| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],

You should write:
["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
["|| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],






Return to Recent Questions

Related:
Top 53 Killer HTML Templates List Top 41 Wonderful CSS3 Templates Collection  |  Mobile Page Layouts Overview  |  Top 54 Brand New jQuery Themes List  |  Best 50 Inspirational and Beautiful HTML Themes Collection  |  Mobile-friendly Web Page Themes Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | Free AI Website Builder | AI Website Generator | Free AI Website Generator | AI web page design generator