error when viewing

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
mercator
Beginner
Beginner
Posts: 1
Joined: Sat Jun 22, 2002 9:49 pm

error when viewing

Post by mercator »

Can someone help me?
I'm getting an error and I don't know why.
Here's the page: http://www.mpo.be/test/hdr.html

I'm using the standard code for use with headers:

------headers_array.js------


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
"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();
Post Reply