homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

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




msg:572745
 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');

hideArrow();

for (i=0; i<submenuArray.length; i++)
{
if (submenuArray[i][2]== 'default')
{
showArrow(submenuArray[0][0],submenuArray[0][1]);
}
}
}

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

same thing happens. :(

 

Beagle




msg:572746
 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...?

sophie




msg:572747
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved