Problems Going Vertical

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
spiritwolf
Beginner
Beginner
Posts: 1
Joined: Mon Nov 18, 2002 3:59 am

Problems Going Vertical

Post by spiritwolf »

I am having problems going vertical

examples

this is what I want:

News --> Site News
-->Program News
Genealogy -->Index
-->Family

etc...

I changed the 12th variable to 1 and this is what I get I have changed widths and all and still cant figure it out.

this is what I got:

News Genealogy
->site news ->Program news

Code: Select all

,"Home","http://www.spiritwolf2000.com",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"News  ","show-menu=news",,"News Pages",1
,"Genealogy  ","show-menu=genealogy",,"Genealogy Pages",1
,"Trucking  ","show-menu=trucking",,"Trucking Pages",1
,"Woodworking  ","show-menu=woodworking",,"Woodworking Pages",1
,"ZT Companion  ","show-menu=ztcompanion",,"ZTC Pages",1
,"Links & Guestbooks  ","show-menu=links",,"Link & Guestbook",1
,"Art  ","show-menu=art",,"Art Pages",1
])

	addmenu(menu=["news",
	,20,170,1,"",style1,,"left",effect,,1,,,,,,,,,,
	,"<img src=newsimage.gif border=0>&nbsp;Website News","news.shtml swapimage=newsimage_over.gif",,"Website News",1
	,"<img src=newsimage.gif border=0>&nbsp;ZTC News","ztnews.shtml swapimage=newsimage_over.gif",,"ZTC News",1
	])



	addmenu(menu=["genealogy",
	,20,170,1,"",style1,,"left",effect,,1,,,,,,,,,,
	,"<img src=newsimage.gif border=0>&nbsp;Index","ftree.html swapimage=newsimage_over.gif",,"Family Pages Index",1
	,"<img src=newsimage.gif border=0>&nbsp;Howeth Family Tree","/familytree/Howeth/index.html swapimage=newsimage_over.gif",,"Howeth Family Tree",1
	,"<img src=newsimage.gif border=0>&nbsp;Moore Family Tree","/familytree/Moore/index.html swapimage=newsimage_over.gif",,"Moore Family Tree",1
	,"<img src=newsimage.gif border=0>&nbsp;Woods' Family Tree","/familytree/Woods/index.html swapimage=newsimage_over.gif",,"Woods Family Tree",1
	,"<img src=newsimage.gif border=0>&nbsp;Whole Family Tree","/familytree/All/index.html swapimage=newsimage_over.gif",,"Whole Family Tree",1
	,"<img src=newsimage.gif border=0>&nbsp;Family Photos","fpictures.htm swapimage=newsimage_over.gif",,"Family Photos",1
	])
	
	addmenu(menu=["trucking",,,120,1,,style1,0,"left",effect,0,1,,,,,,,,,,
	,"<img src=newsimage.gif border=0>&nbsp;Photos","tpictures.html",,"Truck Photos",1
	,"<img src=newsimage.gif border=0>&nbsp;Links","tlinks.html",,"Trucking Links",1
	])
	
	addmenu(menu=["woodworking",
	,,140,1,"",style1,,"",effect,,1,,,,,,,,,,
	,"<img src=newsimage.gif border=0>&nbsp;Index & Links", "wood.html swapimage=newsimage_over.gif",,"Woodworking Links",1
	])
	
	addmenu(menu=["ztcompanion",,,140,1,,style1,0,"left",effect,0,1,,,,,,,,,,
	,"<img src=newsimage.gif border=0>&nbsp;Download","/ZTC/index.html",,"ZTC Download Page",1
	,"<img src=newsimage.gif border=0>&nbsp;Archives","/ZTC/archive.html",,"ZTC Download Archives",1
        ,"<img src=newsimage.gif border=0>&nbsp;Forums","http://www.spiritwolf2000.com/cgi-bin/ikonboard/ikonboard.cgi",,"ZTC Forums",1
        ])
	
        addmenu(menu=["links",,,140,1,,style1,0,"left",effect,0,1,,,,,,,,,,
	,"<img src=newsimage.gif border=0>&nbsp;Links","links.html",,"Assorted Links",1
	,"<img src=newsimage.gif border=0>&nbsp;Guestbook","http://books.dreambook.com/spiritwolf2000/spiritbook.html",,"Guestbook",1
        ])

        addmenu(menu=["art",,,140,1,,style1,0,"left",effect,0,1,,,,,,,,,,
	,"<img src=newsimage.gif border=0>&nbsp;Art/Graphics","Art.html",,"Art & Graphics Page",1
	])
Thanks
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

By default, a menus want to be vertical. The 12th element of a menu array can override this behavior. From the comment for the 12th element, found in the downloadable menu_array.js files...
// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
So, setting the 12th element of your menu array to 1 specifically causes the menu to be horizintal! If you want it to be vertical, leave the 12th element unset, or set it to 0.

Hope that helps,

Kevin
Post Reply