Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:21

Send var from asp to menu_array.js

Poster: alessandrovito
Dated: Thursday October 17 2002 - 14:59:20 BST

I have this problem!
I would like to invie this variable in asp:
<% __at__ Language=VBScript %>

Dim pagina
pagina = "persone"

to the menu_array,

var page = "<%=pagina%>";


,"Personale tecnico","persone/personale_tec.asp",,,1
,"Personale amministrativo","persone/personale_amm.asp",,,1

but it doesn't work correctly because the condition of if is always false!!
it seem that the code in asp is not interpreted and page is ugual to "<%=pagina%>" but it could be ugual to "persone"
Please help me!!