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:17
Problems Going Vertical
Poster: spiritwolf
Dated: Monday November 18 2002 - 3:11:57 GMT
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:
,"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> Website News","news.shtml swapimage=newsimage_over.gif",,"Website News",1
,"<img src=newsimage.gif border=0> 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> Index","ftree.html swapimage=newsimage_over.gif",,"Family Pages Index",1
,"<img src=newsimage.gif border=0> Howeth Family Tree","/familytree/Howeth/index.html swapimage=newsimage_over.gif",,"Howeth Family Tree",1
,"<img src=newsimage.gif border=0> Moore Family Tree","/familytree/Moore/index.html swapimage=newsimage_over.gif",,"Moore Family Tree",1
,"<img src=newsimage.gif border=0> Woods' Family Tree","/familytree/Woods/index.html swapimage=newsimage_over.gif",,"Woods Family Tree",1
,"<img src=newsimage.gif border=0> Whole Family Tree","/familytree/All/index.html swapimage=newsimage_over.gif",,"Whole Family Tree",1
,"<img src=newsimage.gif border=0> 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> Photos","tpictures.html",,"Truck Photos",1
,"<img src=newsimage.gif border=0> Links","tlinks.html",,"Trucking Links",1
])
addmenu(menu=["woodworking",
,,140,1,"",style1,,"",effect,,1,,,,,,,,,,
,"<img src=newsimage.gif border=0> 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> Download","/ZTC/index.html",,"ZTC Download Page",1
,"<img src=newsimage.gif border=0> Archives","/ZTC/archive.html",,"ZTC Download Archives",1
,"<img src=newsimage.gif border=0> 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> Links","links.html",,"Assorted Links",1
,"<img src=newsimage.gif border=0> 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> Art/Graphics","Art.html",,"Art & Graphics Page",1
])
,"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> Website News","news.shtml swapimage=newsimage_over.gif",,"Website News",1
,"<img src=newsimage.gif border=0> 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> Index","ftree.html swapimage=newsimage_over.gif",,"Family Pages Index",1
,"<img src=newsimage.gif border=0> Howeth Family Tree","/familytree/Howeth/index.html swapimage=newsimage_over.gif",,"Howeth Family Tree",1
,"<img src=newsimage.gif border=0> Moore Family Tree","/familytree/Moore/index.html swapimage=newsimage_over.gif",,"Moore Family Tree",1
,"<img src=newsimage.gif border=0> Woods' Family Tree","/familytree/Woods/index.html swapimage=newsimage_over.gif",,"Woods Family Tree",1
,"<img src=newsimage.gif border=0> Whole Family Tree","/familytree/All/index.html swapimage=newsimage_over.gif",,"Whole Family Tree",1
,"<img src=newsimage.gif border=0> 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> Photos","tpictures.html",,"Truck Photos",1
,"<img src=newsimage.gif border=0> Links","tlinks.html",,"Trucking Links",1
])
addmenu(menu=["woodworking",
,,140,1,"",style1,,"",effect,,1,,,,,,,,,,
,"<img src=newsimage.gif border=0> 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> Download","/ZTC/index.html",,"ZTC Download Page",1
,"<img src=newsimage.gif border=0> Archives","/ZTC/archive.html",,"ZTC Download Archives",1
,"<img src=newsimage.gif border=0> 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> Links","links.html",,"Assorted Links",1
,"<img src=newsimage.gif border=0> 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> Art/Graphics","Art.html",,"Art & Graphics Page",1
])
Thanks
Poster: kevin3442
Dated: Monday November 18 2002 - 7:36:17 GMT
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...
Quote:
// 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