Is the class attribute significant? If not, you have two basic choices:
1 )
Code:
menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Menu"], //create header
["example", "javascript:page_loader('example.php')", ""],
["What's New", "http://www.dynamicdrive.com/new.htm",""],
["What's Hot", "http://www.dynamicdrive.com/hot.htm", ""],
["Message Forum", "http://www.dynamicdrive.com/forums", ""],
["Submit Script", "http://www.dynamicdrive.com/submitscript.htm", ""],
["Link to Us", "http://www.dynamicdrive.com/link.htm", ""],
This will (when clicked) disable the animation of animated .gif's on that page (if any) in IE though, and perhaps disrupt other ongoing processes on a page in IE, this is due to a strict, but somewhat quirky interpretation on IE's part of what (the HTML code that would result from my above example):
HTML Code:
<a href="javascript:page_loader('example.php')">example</a>
means. Very often this isn't an issue though (there aren't animated .gif's on the page or any other ongoing processes that this interrupts), and it is a simple way to carry out the operation.
2 ) This method is a bit more complicated, but safer. You can use the script's design_mode property set to true to see the menu's generated HTML and styles. Once you get them, you can copy and edit the HTML to be anything that you like, then use it instead of the script generated HTML by setting design_mode back to false, user_defined_markup to true, and placing your edited markup on your page. Incidentally, with this second method, you could include the class attribute if it is required.
Bookmarks