Problem with ONLY Netscape 6 with inclusion JS

M

Max

This instruction don't work in netscape 6
<script language="javascript" src="/pippo.js"></script>

In 4.8 /ie5/ie6 ok !!!

Can you help me ?

Thanks
 
M

Martin Honnen

Max said:
This instruction don't work in netscape 6
<script language="javascript" src="/pippo.js"></script>

Well what exactly does not work? Do you get any errors in the JavaScript
console?
 
M

Max

hi, in the Javascript Console, Netscape write that can't load the function
defined (error is : THE FUNCTION IS NOT DEFINED) in js file...
can you help me?

This script run on Ie6 and NS4.8....

Thanks
 
W

web.dev

Max said:
hi, in the Javascript Console, Netscape write that can't load the function
defined (error is : THE FUNCTION IS NOT DEFINED) in js file...
can you help me?

This script run on Ie6 and NS4.8....

Thanks

Once again, you can't really expect the newsgroup to help you when all
you've given us is "THE FUNCTION IS NOT DEFINED". It would be more
effective if you can narrow down the problem, and show us the part of
the script that fails.
 
M

Martin Honnen

Max said:
hi, in the Javascript Console, Netscape write that can't load the function
defined (error is : THE FUNCTION IS NOT DEFINED) in js file...

And the JavaScript console does not give you a line number where the
error happens?
This script run on Ie6 and NS4.8....

That does not guarantee that it works with Netscape 6.
You might want to start with
<http://developer.mozilla.org/en/docs/Migrate_apps_from_Internet_Explorer_to_Mozilla>
<http://developer.mozilla.org/en/docs/Browser_Detection_and_Cross_Browser_Support>
if you are new to scripting for Mozilla respectively Netscape 6/7.
 
M

Max

dear dev, "THE FUNCTION IS NOT DEFINED" only show in netscape 6.
In netscape 4.6 and ie6 all right ok.
 
M

Michael Winter

This instruction don't work in netscape 6
<script language="javascript" src="/pippo.js"></script>

Yes, it does.

As an aside (read: this won't fix the problem), the language attribute
was deprecated long ago. Use the (required) type attribute instead:

In 4.8 /ie5/ie6 ok !!!

Can you help me ?

Until you post a URL to a demonstration that clearly shows the problem, no.

Mike
 
E

Evertjan.

Michael Winter wrote on 29 sep 2005 in comp.lang.javascript:
Yes, it does.

As an aside (read: this won't fix the problem), the language attribute
was deprecated long ago. Use the (required) type attribute instead:

<script type="text/javascript"> src="/pippo.js"></script>

<script type="text/javascript" src="/pippo.js"></script>
 
M

Michael Winter

Michael Winter wrote on 29 sep 2005 in comp.lang.javascript:
[snip]
<script type="text/javascript"> src="/pippo.js"></script>

<script type="text/javascript" src="/pippo.js"></script>

Oops. I'm so used to just typing out the type attribute when writing
that suggestion.

Cheers, Evertjan.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top