Board Logo

JavaScript during Navigation
ewhipple - 11/1/2005 at 11:36 PM

I want to have menu items that not only change pages for me, but also execute a JavaScript function. I tried things like

['7-Card Stud', 'javascript:self.location=gaming.html;toggleBox(0)', [, , 150]],

as well as some others but I can't get it to work. The underlying problem is that if I just put in the toggleBox portion it works, but only if the user is already on that page. Can someone show me know how to do this?


Back to forum: