I'm not entirely clear on what it is that you want to do. Mostly because I see no actual code. The concept seems simple enough, unless I've misunderstood.
If you want your counter to slide into view. It would be easier to just set up a sliding container for it than to try to adapt the menu. On the other hand, if you want the counter as a part of the menu, along with normal links, that should be able to be worked out.
The menu is just a special bit of movable HTML code. It would probably be easiest if the code for your counter were elsewhere, with only the presentational part of it inserted into the menu.
In menuItems.js, here is where presentational code is inserted:
Code:
menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Menu"], //create header
["Dynamic Drive", "http://www.dynamicdrive.com", ""],
["What's New", "http://www.dynamicdrive.com/new.htm",""],
["What's Hot", "http://www.dynam . . .
A span could be inserted in place of a header or link text (the name field) as a container for the presentational portion of another script.
Bookmarks