Define todo BEFORE you call for it in a menu item. Put your declaration for todo and the top of your menu files or put it in another .js file but include it before the menu scripts.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Sorry, Dave knows about java, if you are trying to open the menu from a link, there was a script written in an earlier version of menu.htm page, but I don't see it anymore. Try saying exactly what you want it to do, its difficult to understand.
Regards
maz
So are you saying it still doesn't work?
If so, then keep the function definition in the HEAD of your page. But move the <SCRIPT>'s for the menu to just beneath the BODY tag of the page.
Yea we have seen a possible need for an onClick event handler, rather than putting the javascript: into the url...this has caused VERY minor problems in the past (ie. stops animated Gifs on the page). Its not exactly the most pressing feature upgrade at the moment, but I think it could get implemented soon. Stay tuned.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."