Basic href instead of dropdown

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jenky77
Beginner
Beginner
Posts: 6
Joined: Sun Oct 26, 2003 2:41 am
Location: London, England

Basic href instead of dropdown

Post by jenky77 »

Hello. Some of the buttons on my nav don't require a drop down so could you tell me how i can alter the the milonic code so that some buttons are just straight hrefs. I have tried various ways but as of yet no joy!

Many thanks

Leigh :cry:
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Not having a URL (as requested) to see your code can make it tough, but I'll take a guess...

Remove the showmenu= statement and have only a url= statement in the aI().
John
jenky77
Beginner
Beginner
Posts: 6
Joined: Sun Oct 26, 2003 2:41 am
Location: London, England

Post by jenky77 »

Thanks for your advice. In the end i opted for the longer, but only fullproof way I could think of doing it ie removing the btns which didn't require dropdowns from the menu altogether and placing them straight into the page using basic <a href="blah/blah.shtml">

Many thanks again

Leigh ;)
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

Just for your info. Two lines of code. First line says to "show a menu".
Second line just executes the "URL"
Third line says to just execute the "htm" file in root directory.

Hope this may help.

aI("text=Drop Down Stuff Menu;showmenu=dropdown menu;status=Drop Menu;");

aI("text=Go to Other Site;url=http://www.newsite.org;target=_blank;status=The Other site;");

aI("text=Contact Us;url=/contact.htm;status=Contact;");
Post Reply