Board Logo

JavaScript in menu_items.js Help!
ewhipple - 11/3/2005 at 07:43 PM

I want my menu links to change pages and also execute a particular JS function on that page. I've tried

['7-Card Stud', 'gaming.html;JavaScript:toggleBox(2,1,1);', {'sw':150}],

but it's not working. How can I do this?

thanks,
Eric


tigra - 11/11/2005 at 05:15 AM

you can do only one thing inside the items structure, but you can do multiple things outside
1. call JS function and redirect the browser after executing custom code
2. redirect to other page and run custom code there


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/