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 / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Javascript in Netscape 6.01
Need help with javascript on an intranet

 2:03 pm on Mar 7, 2002 (gmt 0)

I have this web-app that works fine in IE, but in Netscape 6.01 my javascript-code fails. I have a number of functions in an include file, but in Netscape I only get the message "<name of function> not defined". For example, when an onmouseover event calls the "color" function, Netscape Javascript monitor reports "color not defined".
script is included like this:
<!-- #include file="_ScriptLibrary/jscript.inc"-->

and might be called like this:

This is the function itself:
function color(elmnt)

Why does it fail?



 2:18 pm on Mar 7, 2002 (gmt 0)

Hi singularity, Welcome to WmW

Netscape doesn't support filters - that's an IE only thing.

It doesn't support the cursor either though I think it should just ignore that part - not fail.


 2:29 pm on Mar 7, 2002 (gmt 0)

Well, fair enough about filters and cursors, but Netscape does not seem to find the function at all (ASP VB functions works fine), or any JScript functions for that matter.
I even have some Netscape-specific code branches in some of the functions, so there must be something basically wrong with my jscript-handling.


 2:34 pm on Mar 7, 2002 (gmt 0)

Have you tried a different name for your function - maybe it's a keyword in N6 or something?

Scratch that. just tried it and it worked fine. If you stickyMail (see the link at the top of the screen) me a URL I'll have a look at the source for you and see if I can work it out.


 2:48 pm on Mar 7, 2002 (gmt 0)

It would be very kind of u, but the web-app is only used on the intranet. I could mail u an example ASP-page and the JScript-INC-file which will include all the relevant code needed to debug.

How do u include files with this stickymail?


 2:49 pm on Mar 7, 2002 (gmt 0)

>>How do u include files with this stickymail?

Don't think you can but my real e-mail address is in my profile - feel free to send it there.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
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