Click to See Complete Forum and Search --> : pop-up menu error


nmn22601
10-28-2003, 12:52 PM
I have a very simple pop-up here: http://www.boydcommercial.net/boyd%20commercial/index6.htm

Can someone please tell me why I get an error and it is not working. It works perfect when I preview in my browser.

Thanks

AdamGundry
10-28-2003, 12:59 PM
There is an error on line 105 of mm_menu.js - "icontainer is not defined". The line is as follows:

for (var i=0; icontainer.menus.length; i++, countMenus++) {

It probably should be something like this:

for (var i=0; i < container.menus.length; i++, countMenus++) {

Adam

P.S. If you want to debug Javascript, it's much easier in Mozilla (http://www.mozilla.org).

nmn22601
10-28-2003, 01:22 PM
Adam,

How did you know this. I am looking for (var i=0; icontainer.menus.length; i++, countMenus++) { and can not find it. How can I fix this.

THanks for your help.

nmn22601
10-28-2003, 01:26 PM
Adam,

Forget my last message I looked at the icontainer string and it is correct. What else could it be.

THanks!!