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


 

    How can I disable items in java drop down menu?

Return to Recent Questions


Q: Some menu entries may be disabled and clicking on them should produce predefined javascript alert message?


A: To create disabled items you should set "_" symbol in the target parameter of the menuItems.
If the target is "_" the item is disabled.
You can assign a font color for all disabled items using the following menu parameter:
var fontColorDisabled = "#AAAAAA";
You can write a javascript code instead of an item link:

["item text", "javascript:alert('Hello World')", , , ,"_",]

That's all.





Return to Recent Questions

Nice and Simple HTML Website Maker with HTML Code Export Landing Page Maker - Landing Page Maker  |  Whitelabel Website Builder - HTML Code Generator  |  Best Free QR Code Generators 2023  |  Website Design Tool - Website Development Software  |  No Coding Website Builder - Easiest Website Builder  | 
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 Generator | Website Generator AI | AI web design generator | AI web page design generator