Click to See Complete Forum and Search --> : newbie help please


finger9
03-27-2003, 12:21 PM
I am having a bit of trouble with my site... Please help

I get this error...

Line: 6

Char: 3

Error: 'Menu' is undefined

Code: 0

URL http://graphics.brawleyhigh.org


here is line 6 from the html

window.mm_menu_0317091249_0 = new Menu("root",102,16,"Verdana, Arial, Helvetica, sans-serif",10,"#006699","#ffffff","#ffffff","#006699","left","middle",3,0,300,-5,11,true,true,true,0,true,true);

havik
03-27-2003, 01:13 PM
I looked at your code and 'Menu' is a function that creates new menus. However, the menu function is not defined on your page. Here is how a function definition looks in case you don't know:

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

that's from your page and it defines MM_preloadImages. There is no definition like this for Menu it is read as undefined. So you have to put this into the page as well.

Havik

Neverwhere
03-27-2003, 01:21 PM
just thought that Id let you know, but your menu's go outside of the viewer's screen size (mine is 800x600 because im at school right now) and that is a problem because if i scroll off of the menu to move my window over, the menu disappears... just would be nice if your menus would appear on the other side of the orig menu or something to that affect. :)