acidfunk
Junior Member
Posts: 2
Registered: 2/1/2006
Member Is Offline
|
| posted on 2/1/2006 at 10:11 AM |
|
|
Dynamic menu
Hi!
I have all the infos of the menu (links, targets, etc) in a database. I use ASP to read these fields.
I have created a string exactly like what is put after :
var MENU_ITEMS =
so i've done var MENU_ITEMS = "<%=myString%>";
but I can't affect a string to this that is not working because that is not considered as ITEMS.
I don't know if the subject : "ASP server side for Tigra Menu" is answering this because I really don't understand the post.
Please help me!
|
|
|
acidfunk
Junior Member
Posts: 2
Registered: 2/1/2006
Member Is Offline
|
| posted on 2/1/2006 at 10:29 AM |
|
|
Dah, what an idiot I am... that was so easy.. sorry hehe :)
putting "var MENU_ITEMS ...." in my string and write:
<script language="javascript">
<%=myString%>
new menu (MENU_ITEMS, MENU_POS);
</script>
That works perfectly, thanks for this great menu.
|
|
|