Error on showmenu with no url

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
raemacleman
Beginner
Beginner
Posts: 8
Joined: Tue Jul 25, 2006 11:57 am

Error on showmenu with no url

Post by raemacleman »

Hi,

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")){
margin=7;
style=submenuStyle;
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=Careers;url=/about-us/careers/careers.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
--
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Error on showmenu with no url

Post by Ruth »

Hi Rae,

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

Ruth
raemacleman
Beginner
Beginner
Posts: 8
Joined: Tue Jul 25, 2006 11:57 am

Re: Error on showmenu with no url

Post by raemacleman »

Ruth,

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

http://www.dark-tobacco.com/

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

Rae
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Error on showmenu with no url

Post by Andy »

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

-- Andy
Post Reply