ewhipple
Junior Member
Posts: 3
Registered: 11/1/2005
Member Is Offline
|
| posted on 11/3/2005 at 07:43 PM |
|
|
JavaScript in menu_items.js Help!
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
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 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
|
|
|