Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

"submenuArray has no properties" in NS4.08. why?

is this NS4.08's bug?



3:52 pm on Oct 18, 2001 (gmt 0)

10+ Year Member

the following script fire an error in Netscatp4.08: submenuArray has no properties.

but it works very well in IE. why?

function def(){

submenuArray[0] = new Array('Outstandingimg','OutstandingP','default');
submenuArray[1] = new Array('Pendingimg','PendingP','non');
submenuArray[2] = new Array('BiddingOpenimg','BiddingOpenP','non');
submenuArray[3] = new Array('BiddingClosedimg','BiddingClosedP','non');


for (i=0; i<submenuArray.length; i++)
if (submenuArray[i][2]== 'default')

i tried to use showArrow(eval(submenuArray[0][0]),eval(submenuArray[0][1]));

same thing happens. :(


4:18 am on Oct 19, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hi sophie, Netscape's JavaScript will say that sometimes if an element has not been initiated with absolute or relative positioning. As far as I know it is a bug.

I am assuming that the showArrow function does something like turn visibility off or on for a menu item...?


6:42 pm on Oct 22, 2001 (gmt 0)

10+ Year Member

thanks, beagle!

i'd rather say the javascript error message of NS confused me a lot. actually, it was a syntax error.

of course i will remember your suggestion. i got a lot of lessons on NS.


Featured Threads

Hot Threads This Week

Hot Threads This Month