Can you complete

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
iampedro
Beginner
Beginner
Posts: 2
Joined: Fri Jun 14, 2002 5:24 pm

Can you complete

Post by iampedro »

Can you complete the headersamples page text info... I am looking at the javascript file and it dosen't have all the comments.. Here is all they have if someone could reply and let me know what certain things are I would be greatly appreciative.. Thanks... I am new to use the javascript.

effect = "Fade(duration=0.2);Shadow(color='#999999', Direction=135, Strength=5)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}


style1=[ // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy", // Mouse Off Font Color
"ccccff", // Mouse Off Background Color
"FFEBCD", // Mouse On Font Color
"4B0082", // Mouse On Background Color
"00008B", // Menu Border Color
"12px", // Font Size in pixels
"normal", // Font Style (italic or normal)
"bold", // Font Weight (bold or normal)
"Verdana, Tahoma, Arial, Helvetica, sans-serif;", // Font Name
4, // Menu Item Padding
"images/arrow.gif", // Sub Menu Image (Leave this blank if not needed)
, // 3D Border & Separator bar
"66ffff", // 3D High Color
"000099", // 3D Low Color
, // Referer Item Font Color (leave this blank to disable)
, // Referer Item Background Color (leave this blank to disable)
"arrowdn.gif", // Top Bar image (Leave this blank to disable)
"ffffff", // Menu Header Font Color (Leave blank if headers are not needed)
"000099", // Menu Header Background Color (Leave blank if headers are not needed)
]



//effect2 = "Alpha( style=0,opacity=65)"
//effect=""


addmenu(menu=[
"sidemenu",
160,
14,
140,
1,
,
style1,
1,
"left",
effect,
,
,
,
,
,
,
,
,
,
,
,
,"<b>News Sites</b>","# type=header;align=center;",,"",1
,"CNN","http://www.cnn.com",,,0
,"MSNBC","http://www.msnbc.com",,,0
,"ABC News","http://www.abcnews.com",,,0
,"Vancouver Local News","show-menu=vancouvernews",,,0
,"BBC News","http://news.bbc.co.uk",,,0
,"<b>Web Master</b>","# type=header;align=center;",,"",1
,"Dynamic Drive","http://www.dynamicdrive.com",,,
,"Website Abstraction","http://www.wsabstract.com",,,
,"Freewarejava.Com","http://www.freewarejava.com",,,
,"Flaming Text","http://www.flamingtext.com",,,
,"Active-X.com","http://www.active-x.com",,,
,"Web Monkey","http://www.webmonkey.com",,,
,"Jars","http://www.jars.com",,,
,"<b>Search</b>","# type=header;align=center;",,"",1
,"Google.com", "http://www.google.com",,,1
,"Yahoo", "http://www.yahoo.com",,,1
,"Altavista", "http://altavista.com",,,1
,"Excite", "http://www.excite.com",,,1
,"<b>End Of List</b>","# type=header;align=center;",,"",1
])



addmenu(menu=["vancouvernews",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"CTV News","http://www.ctvnews.com",,,1
,"Vancouver Sun","http://www.canada.com/vancouver/vancouversun/",,,1
])



dumpmenus();
User avatar
dagon
Advanced
Advanced
Posts: 29
Joined: Wed May 29, 2002 10:00 pm
Location: Udine, ITALY
Contact:

Post by dagon »

Sorry iampedro, i've not understood what's the matter... can you be more precise?
iampedro
Beginner
Beginner
Posts: 2
Joined: Fri Jun 14, 2002 5:24 pm

Post by iampedro »

Is it possible to put comments on every line so that I can know what those feature dose..
User avatar
dagon
Advanced
Advanced
Posts: 29
Joined: Wed May 29, 2002 10:00 pm
Location: Udine, ITALY
Contact:

Post by dagon »

If you think to put a little popup window like the "alt" html tag I think there's no way. But if you want you can put some text on the status bar: try substituting this line

Code: Select all

,"Vancouver Sun","http://www.canada.com/vancouver/vancouversun/",,"Hi iampedro!!",1
with the last in your example and keep your eyes on the status bar when you're over the link.
It'll be also a good idea to use some tables to describe your links. See the example at http://www.milonic.co.uk/menu/linkinfo_sample.php.
Bye!
Post Reply