stevenbali
05-23-2003, 10:26 PM
HI
This query is about the correct syntax for using asp within a menu .js JavaScript page which is then included in a series of asp pages.
The specific function is addmenu()
My drop down menu is by Milonic. I have no problems with it when referring to standard asp pages, but when I want to carry over a session id variable I get an error - Expected ']'.
This is the relevant part of the code:
addmenu(menu=["membership",
,,115,1,"",style1,,"left",effect,,,,,,,,,,,,
,"New Members","show-menu=newmem",,,1
,"Charter Members","memCharter.asp?id=<%=Session("memid")%>",,,1
,"Current Members","show-menu=currentmem",,,1
,"Fellowship","show-menu=fellowship",,,1
])
Can you help me with the correct syntax, please?
This query is about the correct syntax for using asp within a menu .js JavaScript page which is then included in a series of asp pages.
The specific function is addmenu()
My drop down menu is by Milonic. I have no problems with it when referring to standard asp pages, but when I want to carry over a session id variable I get an error - Expected ']'.
This is the relevant part of the code:
addmenu(menu=["membership",
,,115,1,"",style1,,"left",effect,,,,,,,,,,,,
,"New Members","show-menu=newmem",,,1
,"Charter Members","memCharter.asp?id=<%=Session("memid")%>",,,1
,"Current Members","show-menu=currentmem",,,1
,"Fellowship","show-menu=fellowship",,,1
])
Can you help me with the correct syntax, please?