Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:23
Can I include a dynamic link for my URL?
Poster: pvandermn
Dated: Thursday January 17 2008 - 0:32:47 GMT
I want to be able to set the menu's destination dynamically in the menu_data.js file, but have had no luck. I'm just a little familiar with js, but don't know why this code isn't working. I am trying to pull the value for the variable 'newsearch' from a cookie, and make it the url. When I open the page, the menu doesn't appear at all. Any help would be greatly appreciated!
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
top=10;
var newsearch = Request.Cookies("Gateway")("SearchCriteria");
aI("text= Prior Search  url="+newsearch+";target=_parent;");
aI("showmenu=Actions;text=Actions");
aI("showmenu=Data;text=Data;");
}
Re: Can I include a dynamic link for my URL?
Poster: Ruth
Dated: Thursday January 17 2008 - 20:07:47 GMT
Hi,
I think you will have to contact Milonic direct about this. No one on the forum has the knowledge to help for such as js functions. If you have a professional or above license go here http://www.milonic.com/support/
if not, try this http://www.milonic.com/contactus.php
Ruth