homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

"submenuArray has no properties" in NS4.08. why?
is this NS4.08's bug?

10+ Year Member

Msg#: 1128 posted 3:52 pm on Oct 18, 2001 (gmt 0)

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. :(



WebmasterWorld Senior Member 10+ Year Member

Msg#: 1128 posted 4:18 am on Oct 19, 2001 (gmt 0)

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...?


10+ Year Member

Msg#: 1128 posted 6:42 pm on Oct 22, 2001 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved