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: Saturday July 14 2012 - 06:07:47
sub menu header also links?
Poster: AllBeItMine
Dated: Wednesday January 21 2004 - 3:08:28 GMT
Hi guys, i'm trying to put a link to a page on a sub menu header and was wondering what to do...
this is the main menu array that points to the sub menus:
addmenu(menu=["products",121,135,120,1,,stylenormal,,"left",effect,,,,,,,,,,,,
,"data projectors","show-menu=dataprojectors",,,0
,"presentation boards","show-menu=presentationboards",,,0
,"projection screens","show-menu=projectionscreens",,,0
,"visual presenters","show-menu=visualpresenters",,,0
,"videoconferencing","show-menu=videoconferencing",,,0
,"overhead projectors","show-menu=overheadprojectors",,,0
,"audioconferencing","show-menu=audioconferencing",,,0
,"plasma and lcd monitors","show-menu=plasmaandlcdmonitors",,,0
,"slide projection","show-menu=slideprojection",,,0
,"av furniture","show-menu=avfurniture",,,0
,"audio systems","show-menu=audiosystems",,,0
,"hire equipment","show-menu=hireequipment",,,0
])
and this is one of the sub menus:
addmenu(menu=["dataprojectors",,,120,1,,stylenormal,,"left",effect,,,,,,,,,,,,
,"micro portable","/pages/1074552783332443.html?category=33",,,1
,"ultra portable ","/pages/1074552783332443.html?category=22",,,1
,"portable & fixed","/pages/1074552783332443.html?category=34",,,1
,"data projector accessories","/pages/1074552783332443.html?category=59",,,1
])
what syntax do i use to add a link on one of the main links above so that it links to a sub menu page?
any help greatly appreciated. thanks
Poster: Ruth
Dated: Wednesday January 21 2004 - 20:59:33 GMT
I'm not sure I understand what you want, but if it's to make a link on one of the show-menu items, I believe it' would be like this
Code:
,"data projectors","http://whatever","show-menu=dataprojectors",,0
and you might have to change the 0 at the end to one, I've never really understood just what that was. The http and show-menu might go in the reverse order.
Ruth
Poster: AllBeItMine
Dated: Wednesday January 21 2004 - 21:44:52 GMT
thanks heaps. this working beautifully:
addmenu(menu=["products",121,135,120,1,,stylenormal,,"left",effect,,,,,,,,,,,,
,"data projectors","show-menu=dataprojectors","/pages/1074552783332443.html?category=7",,1
,"presentation boards","show-menu=presentationboards","/pages/1074552783332443.html?category=26",,1
,"projection screens","show-menu=projectionscreens","/pages/1074552783332443.html?category=1",,1
,"visual presenters","show-menu=visualpresenters","/pages/1074552783332443.html?category=19",,1
,"videoconferencing","show-menu=videoconferencing","/pages/1074552783332443.html?category=50",,1
,"overhead projectors","show-menu=overheadprojectors","/pages/1074552783332443.html?category=29",,1
,"audioconferencing","show-menu=audioconferencing","/pages/1074552783332443.html?category=61",,1
,"plasma and lcd monitors","show-menu=plasmaandlcdmonitors","/pages/1074552783332443.html?category=63",,1
,"slide projection","show-menu=slideprojection","/pages/1074552783332443.html?category=8",,1
,"av furniture","show-menu=avfurniture","/pages/1074552783332443.html?category=20",,1
,"audio systems","show-menu=audiosystems","/pages/1074552783332443.html?category=16",,1
,"hire equipment","show-menu=hireequipment","/pages/1074552783332443.html?category=54",,1
])
addmenu(menu=["dataprojectors",,,120,1,,stylenormal,,"left",effect,,,,,,,,,,,,
,"micro portable","/pages/1074552783332443.html?CATEGORY=7&SC=33",,,1
,"ultra portable ","/pages/1074552783332443.html?CATEGORY=7&SC=22",,,1
,"portable & fixed","/pages/1074552783332443.html?CATEGORY=7&SC=34",,,1
,"data projector accessories","/pages/1074552783332443.html?CATEGORY=7&SC=59",,,1
])