JavaScript Menu Generator for Table-based Menus Created with Rollover/Mouseover Images

This script will generate a vertical or horizontal table-based menu for image links with rollover/mouseovers done with JavaScript. Although I'm not a huge fan of JavaScript, it does sometimes have its place. I created this script after having to produce several sites in a short period of time that had JavaScript menus--it is easier to use this generator than to cut and paste and then edit the resulting JavaScript mess.

You can also use this script to generate non-table-based JavaScript, just ignore the table parts of the results and copy and paste only those parts you need.

Note: In order for the JavaScript to work, make sure you do not use hyphens in your document names!

Enter the data for your menu:

Do you want a horizontal or vertical menu?

Path to Default Image Path to "On" Image Link Address Alt/Title Text Image Width in px Image Height in px JavaScript "document" name