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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:15

Problem with url in menu

Poster: MacMac
Dated: Wednesday August 11 2004 - 5:20:41 BST

I have a very simple menu.
Data code follows

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=250            // The time delay before menus open on mouse over
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset

with(topMenuStyle=new mm_style()){
   fontfamily="Verdana, Tahoma, sans-serif";

with(topSearchStyle=new mm_style()){
   fontfamily="Verdana, Tahoma, sans-serif";

with(milonic=new menuname("Top Menu")){
   aI("text=SCHOOL MAIL;url=;");
   aI("text=SEARCH;showmenu=Top Search;itemwidth=100;");

with(milonic=new menuname("Top Search")){
   aI("text=<FORM METHOD=GET ACTION=search.aspx name=searchIndex>SEARCH HUTCHINS <input name=criteria size=15><input type=submit value=Go></form>;type=form;");


As can be seen from the code, there are two url links on the menu options.

The problem is, when I click on them, nothing happens!

Any ideas?

Poster: kevin3442
Dated: Wednesday August 11 2004 - 6:36:09 BST

Hi Mac^2,

I tried your code in IE6/Win2K. The URLs worked, so I'm not sure what's up. What browser/os are you using? Do you have a live test site running that you could post a url to?


Poster: MacMac
Dated: Wednesday August 11 2004 - 7:37:25 BST

I am using IE 6 on Windows XP SP 1. At this stage I do not have a live version I can show you. It should not make any difference but the data file name is seach_menu_data.js

Poster: fredlongworthhighschool
Dated: Wednesday August 11 2004 - 13:49:26 BST

Your data works on a test site I've created, too.

Your best bet would be to upload so we can see the rest of the file structure.

Poster: MacMac
Dated: Wednesday August 11 2004 - 23:46:15 BST

I have test page to a web server. It is just the basic menu page supplied by Milonic with the modified search_menu_data.js page above.


Poster: John
Dated: Thursday August 12 2004 - 4:09:42 BST

Try updating to the current v5.40 (technically nothing but the current version is supported, anyway). You're running 5.31a. Many fixes since then.

Poster: MacMac
Dated: Thursday August 12 2004 - 4:50:58 BST

Thanks for that. It fixes the problem. I thought I had the latest version so I did not even consider that solution :D