(c) 2007, DHTML-Menu.com
  Recent Questions
  Write To Support

    How can I disable items in pop up menu java?

Return to Recent Questions

Q: I want that some pop up menu java entries may be disabled and clicking on them should produce predefined javascript alert message. Is it possible?

A: To create disabled items you should set "_" symbol in the target parameter of the menuItems.
["item text", "", , , ,"_",]

You can assign a font color for all disabled items using the following pop up menu java parameter:
var fontColorDisabled = "#AAAAAA";
You can call a javascript code instead of an item link:

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

That's all.

Return to Recent Questions

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. website builder software | bootstrap image gallery | bootstrap theme builder | static website generator | best website builder software