Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:16
Menu does not show
Poster: Hendrik
Dated: Thursday August 28 2003 - 13:46:37 BST
I have convert my menu from version 3 to 5 with the wizard.
I only get script error when I using my Browser.
With my editor I get this info
Line =35
char = 1785
Error = Object expected
code = 0
url = my url
It looks it the line is is Milonic_scr.js as this is the only file with that long line of code in
Here is my code for menu_data.js
_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=40;
_subOffsetTop=10;
_subOffsetLeft=10;
with(style1=new mm_style()){
offcolor="navy";
offbgcolor="#ccccff";
oncolor="#ffebdc";
onbgcolor="#4b0082";
bordercolor="#000000";
borderstyle="solid";
bordercolor="black";
fontsize=10;
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Arial";
padding=4;
subimage="./images/arrow.gif";
high3dcolor="#66ffff";
low3dcolor="#000099";
pagecolor="Purple";
pagebgcolor="pink";
headercolor="#ffffff";
headerbgcolor="#000099";
separatorcolor="navy";
}
with(milonic=new menuname("mainmenu")){
left=20;
borderwidth=1;
screenposition="center";
style=style1;
alwaysvisible=1;
alignment="center";
followscroll=1;
orientation="horizontal";
aI("text=Home;url=index.html;;status=Back to the home page;separatorsize=1")
aI("text=Main Menu ;showmenu=main;;separatorsize=1")
aI("text=News ;showmenu=news;;separatorsize=1")
aI("text=Emulators ;showmenu=emulators;;separatorsize=1")
aI("text=Retro Games ;showmenu=retro;;separatorsize=1")
aI("text=Search ;showmenu=search;;separatorsize=1")
aI("text=Just do it ;showmenu=just;;separatorsize=1")
aI("text=Games ;showmenu=games;;separatorsize=1")
aI("text=Fun ;showmenu=fun;;separatorsize=1")
aI("text=Just for me ;showmenu=justme;;separatorsize=1")
aI("text=Inspirational ;showmenu=inspirational;;separatorsize=1")
}
with(milonic=new menuname("main")){
itemwidth=120;
borderwidth=1;
style=style1;
alignment="left";
aI("text=Make Money;url=money.html;")
aI("text=Personal;url=personal.html;")
aI("text=Religion;url=religion.html;")
aI("text=Links;url=links.html;")
aI("text=Menu Authors Site;url=http://www.milonic.co.uk/menu;")
aI("text=Currency Converter;url=http://www.oanda.com/convert/classic?user=hendrikbez&lang=en;")
}
with(milonic=new menuname("news")){
itemwidth=155;
borderwidth=1;
style=style1;
alignment="left";
aI("text=What is new on this site;url=news.html;")
}
with(milonic=new menuname("emulators")){
itemwidth=100;
borderwidth=1;
style=style1;
alignment="left";
aI("text=Zx Spectrum;url=zx.html;;separatorsize=1")
aI("text=Genessis;url=gen.html;;separatorsize=1")
aI("text=Snes;url=snes.html;;separatorsize=1")
}
with(milonic=new menuname("retro")){
itemwidth=120;
borderwidth=1;
style=style1;
alignment="left";
aI("text=Head over heels 2;url=hoh2.html;;separatorsize=1")
}
with(milonic=new menuname("search")){
itemwidth=100;
borderwidth=1;
style=style1;
aI("text=Google;url=http://www.google.com;;separatorsize=1")
aI("text=Yahoo;url=http://www.yahoo.com;;separatorsize=1")
aI("text=Altavista;url=http://altavista.com;;separatorsize=1")
aI("text=Excite;url=http://www.excite.com;;separatorsize=1")
aI("text=Look Smart;url=http://www.looksmart.com;;separatorsize=1")
aI("text=Lycos;url=http://www.lycos.com;;separatorsize=1")
aI("text=Ask Jeeves;url=http://www.askjeeves.com;;separatorsize=1")
aI("text=Kartoo;url=http://www.kartoo.com;;separatorsize=1")
aI("text=Aardvark;url=http://www.aardvark.co.za;;separatorsize=1")
aI("text=Ananzi;url=http://www.ananzi.co.za;;separatorsize=1")
aI("text=Open Find;url=http://www.openfind.com/;;separatorsize=1")
}
with(milonic=new menuname("just")){
itemwidth=200;
borderwidth=1;
style=style1;
aI("text=Add your own Link;url=http://pub38.bravenet.com/freelink/show.php?usernum=3238345123&cpv=1;;status=Add link;separatorsize=1")
aI("text=Join my Webring;url=http://pub38.bravenet.com/sitering/nav.php?usernum=3238345123&action=join&siteid=35399;;status=Webring;separatorsize=1")
aI("text=Sine my GuestMap;url=http://pub38.bravenet.com/guestmap/show.php?usernum=3238345123&lightmap=0&icons=0&&entrylist=0&zoom=0&welcome=1;;status=Guestmap;separatorsize=1")
aI("text=Sine my Guestbook;url=http://pub38.bravenet.com/guestbook/show.asp?usernum=3238345123&cpv=1;;status=Guestbook;separatorsize=1")
aI("text=Free Classifieds;url=http://pub38.bravenet.com/classified/show.asp?usernum=3238345123&cpv=1;;status=Classifieds;separatorsize=1")
aI("text=Advertise on this site;url=ad.html;;status=Ads;separatorsize=1")
aI("text=Give your opinion about this site;url=Formi.html;;status=Form;separatorsize=1")
aI("text=Awards Received;url=awards.html;;status=Form;separatorsize=1")
}
with(milonic=new menuname("games")){
itemwidth=160;
borderwidth=1;
style=style1;
aI("text=Games Online;showmenu=gamesonline;;separatorsize=1")
aI("text=Scratch and win Games;showmenu=scratch;;separatorsize=1")
aI("text=Kewl Box Online Games;showmenu=kewlbox;;separatorsize=1")
}
with(milonic=new menuname("gamesonline")){
itemwidth=110;
borderwidth=1;
style=style1;
aI("text=Battleships;url=./games/battleships.html;;separatorsize=1")
aI("text=Card Game;url=./games/card-game.html;;separatorsize=1")
aI("text=Tic Tac Toe;url=./games/tictactoe.html;;separatorsize=1")
aI("text=Towers of Hanoi;url=./games/hanoi.html;;separatorsize=1")
aI("text=3D Maze;url=maze.html;;separatorsize=1")
aI("text=Draughts;url=./games/draughts/draughts.html;;separatorsize=1")
aI("text=Iceblox;url=./games/Iceblox/iceblox.html;;separatorsize=1")
}
with(milonic=new menuname("scratch")){
itemwidth=110;
borderwidth=1;
style=style1;
aI("text=Scratch and win;url=scratch.html;;separatorsize=1")
}
with(milonic=new menuname("kewlbox")){
itemwidth=210;
borderwidth=1;
style=style1;
aI("text=Braving the Elements;url=Game1.html;;separatorsize=1")
aI("text=Burning Rubber;url=Game2.html;;separatorsize=1")
aI("text=Chef Toss;url=Game3.html;;separatorsize=1")
aI("text=Cookie Crumbler;url=Game4.html;;separatorsize=1")
aI("text=Dallas Burn Swappers Game;url=Game5.html;;separatorsize=1")
aI("text=Frendz;url=Game6.html;;separatorsize=1")
aI("text=Furious George in the Missing Link;url=Game7.html;;separatorsize=1")
aI("text=Holiday Endurance;url=Game8.html;;separatorsize=1")
aI("text=Santa Balls I;url=Game9.html;;separatorsize=1")
aI("text=Santa Balls II;url=Game10.html;;separatorsize=1")
aI("text=Sketchy;url=Game1.html1;;separatorsize=1")
aI("text=Star Wars Swappers;url=Game12.html;;separatorsize=1")
aI("text=Trouble Bubbles;url=Game13.html;;separatorsize=1")
aI("text=TV Nuts;url=Game14.html;;separatorsize=1")
aI("text=Viva Los Straitjackets;url=Game15.html;;separatorsize=1")
}
with(milonic=new menuname("fun")){
itemwidth=125;
borderwidth=1;
style=style1;
aI("text=Are you clever;url=clever.html;;status=Are You Clever;separatorsize=1")
aI("text=Elite Symbols;url=elite.html;;status=Elite Symbols;separatorsize=1")
aI("text=Blokkies Raaisels;url=blok.html;;status=Blokkies Raaisel;separatorsize=1")
}
with(milonic=new menuname("justme")){
itemwidth=170;
borderwidth=1;
style=style1;
aI("text=Password Protected Page;url=http://members.hostedscripts.com/password.cgi?user=hendrikbez;;status=www.hostedscripts.com;separatorsize=1")
}
with(milonic=new menuname("inspirational")){
itemwidth=240;
borderwidth=1;
style=style1;
aI("text=Religion;url=religion.html;;separatorsize=1")
aI("text=Do you care;url=wwjd.html;;separatorsize=1")
aI("text=Gabriel'spromise;url=gabe.html;;separatorsize=1")
aI("text=Could this be you;url=save.html;;separatorsize=1")
aI("text=Things Aren't Always What They Seem;url=things.html;;separatorsize=1")
aI("text=What do you see?;url=javascript:popIt();;separatorsize=1")
aI("text=God's letter to a woman;url=letter.html;;separatorsize=1")
aI("text=The Room;url=room.html;;separatorsize=1")
}
drawMenus();
here is some of my code in my index.html file
<title>Hendrik's Money Making Site</title>
<link rel="STYLESHEET" type="text/css" href="css/style.css" />
</head>
<body bgcolor="#ffccff">
<script language=JavaScript src="java/milonic_src.js" type=text/javascript></script>
<script language=JavaScript src="java/menu_data.js" type=text/javascript></script>
<script language="JavaScript" src="java/nava.js" type="text/javascript"></script>