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: Thursday February 8 2018 - 06:02:07

Error on showmenu with no url

Poster: raemacleman
Dated: Thursday December 11 2008 - 6:40:16 GMT


I suspect that this isn't a very difficult question but I've been unable to find the answer by searching this forum. The problem is that I want a menu link wich will show a sub menu but not actually link to a page itself. My example is a menu item called "Head Office" which when moused over reveals a sub menu with two items called "Functions" and "Locations". There are pages for Functions and Location but not for Head Office. My menu code looks like this...

Code: Select all

with(milonic=new menuname("About")){
aI("text=Company History;url=/about-us/company-history/company-history.asp;");
aI("text=Mission Statement;url=/about-us/mission-statement/mission-statement.asp;");
aI("text=Senior Management;url=/about-us/senior-management/senior-management.asp;");
aI("text=Head Office;showmenu=HeadOffice;");
aI("text=Public Announcements;url=/about-us/public-announcements/announcements.asp;");
aI("text=Contact Us;url=/about-us/contact-us/contact-us.asp;");
aI("text=Privacy Policy;url=;");

The problem is that "Head Office" displays as a clickable link - when you click on it I get a page which says "false"! I have tried setting "url=;" but this makes no difference.

Can anyone help, please?

Kind regards
Rae MacLeman

Re: Error on showmenu with no url

Poster: Ruth
Dated: Thursday December 11 2008 - 7:41:36 GMT

Hi Rae,

I'll need to see your page to test this.


Re: Error on showmenu with no url

Poster: raemacleman
Dated: Thursday December 11 2008 - 8:47:38 GMT


Thank you for your help. You can see the menu at ...

The Functions and Directions pages are missing so you'll get a 404 but the Head Office link returns 'false'.


Re: Error on showmenu with no url

Poster: Andy
Dated: Thursday December 11 2008 - 10:06:26 GMT

An upgrade to the latest verison of the menu (v 5.811) will fix that problem

-- Andy