Click to See Complete Forum and Search --> : Menu


DragoslaV
03-11-2003, 06:54 AM
Hello,

I got thise menu at http://clanepo.marhost.com/index2.htm but it wont work? Im no js expert but i know some ohter script language so i understand lil'. Could you guys help me out?

pyro
03-11-2003, 06:59 AM
Where did you get the code? It looks like you are missing all the javascript... Where ever you got the code from, there was probably and external .js file to go along with it...

DragoslaV
03-11-2003, 07:22 AM
There is a external .js
http://clanepo.marhost.com/menu.js

pyro
03-11-2003, 07:34 AM
Oops. Sorry, I didn't see that.

The first thing to change is the two function in your body tag. you have <body onLoad="OnLoad()" onResize=OnResize() ...>

It is NEVER a good idea to name your functions the same thing as the event handler.

Let me know if that helps, or if more needs to be done...

DragoslaV
03-11-2003, 07:46 AM
i have changed it but it still dont work

pyro
03-11-2003, 07:50 AM
In the .js file look at lines 203 and 211. This script is currently set up for frames...

DragoslaV
03-11-2003, 08:14 AM
Okay that was my bad becuase the first site had frames, sorry. But the problem is still not fixed :'(

pyro
03-11-2003, 08:20 AM
Where did you get the menu?

DragoslaV
03-11-2003, 08:24 AM
an old mate on ICQ gave it to me

pyro
03-11-2003, 08:34 AM
Certain parts of that menu are pretty screwed up. You may want to look here: http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm or here: http://www.dynamicdrive.com/dynamicindex1/index.html

DragoslaV
03-11-2003, 08:39 AM
they dont have what i want, i want a grafic menu no ASCII menu, what the script needs is a mainmenu if you press on one button there will open next to the mainmenu a new submenu.