|
AJAX Menu
AJAX Menu allows to load data for submenus "on-the-fly" from the server.
It saves outgoing traffic from the server especially when using big menus.
Move mouse cursor over "Product Info"/"Samples" items.
You'll see "Loading..." message while the submenu is loading from the server.
Supported browsers:
Windows OS: IE5+, Firefox, Mozilla, Netscape 7+, Opera 8+
MAC OS: Firefox
View data-file of this sample - top menu
View data-file of this sample - submenu "Product Info"
View data-file of this sample - submenu "Samples"
View data-file of this sample - submenu "Product Info"/"Installation Info"
To enable AJAX Menu use the following menu parameters:
var dmAJAX = 1; // enables AJAX technology support
var dmAJAXCount = 2; // number of all submenus in the menu
Each .js file must contain menuItems variable for the submenu in the following format:
var menuItems = [
[text, link, icon1, icon2, tip, target, itemStyle, submenuStyle, jsFileName],
];
Where jsFileName - .js filename on the server that contains menuItems variable for the submenu.
|