Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:19
How do i make a vertical menu bar
Poster: Bane
Dated: Tuesday November 5 2002 - 1:11:57 GMT
I feel so dumb because i don't know how to do this. I want a menu in which the main header catagories are stacked on top of each other, not side by side. That way i can put the menu on te left side of my page and have the submenus come out to the left of the whole menu.
Like this:
The -->
Stuff-->
E-mail-->
Not like this:
The Stuff E-Mail
| | |
\/ \/ \/
Poster: kevin3442
Dated: Tuesday November 5 2002 - 5:01:42 GMT
Hi Bane,
The 12th element of a menu array (where the first element is the menu's name) determines whether it will render as a vertical menu or a horizontal menu. 0 = vertical, 1 = horizontal.
Hope that helps,
Kevin
I have a similar issue
Poster: silverfox
Dated: Wednesday November 6 2002 - 12:27:28 GMT
I'm working with the set of menu files I downloaded today and am encountering an issue trying to get a vertical menu displayed.
I'm using IE 6 and Mozilla 1.2a (both on XP with SP1) to test my files.
I'm trying to get a vertical menu and have set the 12th element property to 0. However, in IE 6.0.2800.1106.xpsp1.020828-1920(!) I get a dialog box with the following:
"an Invalid Argument line34 char 247"
Not a very helpful message as I'm guessing it's in one of the menu files but can't be sure which.
In Mozilla 1.2a I get a nice vertical menu as expected...
My curiosity surrounds the IE error and no matter what I try I still get the error and would like to get rid of it.
I've even downloaded the files again today and replaced my development files and only changed the 12th element (horizontal) property and I still get the same error in IE 6.
Of course the horizontal menu option works a treat.
Any ideas from anyone on this please?
Thanks
Poster: kevin3442
Dated: Wednesday November 6 2002 - 20:06:29 GMT
Could you post a URL to your staging site, so we can have a look at your code? Much easier to help that way.
Kevin
Vertical menu
Poster: silverfox
Dated: Thursday November 7 2002 - 11:54:54 GMT
Er today I get the vertical menu happily using the same code as yesterday untouched but after a reboot.
So it works now in IE.
Thank you anyway.
Darn computers...!