|
Property: Item Javascript Command (version Pro only) |
|
Specifies a Javascript Command to be executed when the item comes into a specific state.
Normal state:
It functions like a [Mouse Out] state. The Javascript Command will be executed when the mouse moves away from the item's area.
Mouse Over state:
The Javascript Command will be executed when the mouse passes over the item's area.
Mouse Click state:
The Javascript Command will be executed when the mouse clicks on the item's area. This does not cancel the <Link> property. You can set both a <Link> to open and a Javascript command to be executed when clicking on the Item.
You can use more than one javascript commands, provided that you separate them with a semicolon (;).
| Note! | You may use only quotes (") or only apostrophes (') inside the text of the property but not both! Using both quotes and apostrophes will cause a javascript error. |
| Note 2: | Javascript Commands are deactivated when previewing your menu inside the Preview Menu window so that they do not produce any javascript errors. Javascript Commands *do* work on your web pages when your menu is compiled. |
| Values: | Text (any javascript command) |
| Example: | alert("Hello"); |
| Applies to: | Item |
| Type: | Content Property |