AJAX menu is a multi level drop down menu, based on standard HTML
unordered list. When the user rolls over a menu item that contains a sub menu,
the script loads submenu "on-the-fly" from server. It saves outgoing
traffic especially when using a large navigation. The AJAX loadable
submenus are separate html files that contain the same UL/LI list
of items. These files can be generated by the server side scripts or
can be simple static html files.
Move mouse cursor over "Product Info" or "Samples" item.
You'll see "Loading..." message while the submenu is loading from the server.
Supported browsers:
Windows OS: IE5+, Firefox, Google Chrome, Safari, Opera 8+, Mozilla, Netscape 7+
MAC OS: Firefox, Safari, IE
With other browsers or if JavaScript is disabled, the top level items are still
accessible as pure css menu.
info.html and samples.html are simple html files containing the subitems in the same UL/LI structure.
This code calls an external file for your AJAX sub navigation.
Step 5: Create an external files (info.html, samples.html) for your sub navigation.
Step 6: Copy the created info.html and samples.html files to the same directory as the page itself. Your menu is ready!
Styling the menu item
If you want to change the menu style you should change data.js and style.css files which you can find in 'ajax-menu.files' folder.
data.js: This file is used in case when javascript is turned on in your browser.
Adjust menu parameters manually or use the windows version of Deluxe Tuner to create your own menu.
There are a lot of ready-to use templates.
style.css: This file is used in case when javascript is turned off in your browser.