By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,207 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

Problem with ONLY Netscape 6 with inclusion JS

P: n/a
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
Sep 28 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a


Max wrote:
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?

--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 28 '05 #2

P: n/a
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
"Martin Honnen" <ma*******@yahoo.de> ha scritto nel messaggio
news:43***********************@newsread2.arcor-online.net...


Max wrote:
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?

--

Martin Honnen
http://JavaScript.FAQTs.com/

Sep 28 '05 #3

P: n/a

Max wrote:
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.

Sep 28 '05 #4

P: n/a


Max wrote:
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.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 28 '05 #5

P: n/a
Max
dear dev, "THE FUNCTION IS NOT DEFINED" only show in netscape 6.
In netscape 4.6 and ie6 all right ok.

"web.dev" <we********@gmail.com> ha scritto nel messaggio
news:11**********************@g49g2000cwa.googlegr oups.com...

Max wrote:
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.

Sep 29 '05 #6

P: n/a
Max
Yes the line number is a call Function....
thanks

"Martin Honnen" <ma*******@yahoo.de> ha scritto nel messaggio
news:43***********************@newsread2.arcor-online.net...


Max wrote:
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.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Sep 29 '05 #7

P: n/a
On 28/09/2005 16:26, Max wrote:
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:

<script type="text/javascript"> src="/pippo.js"></script>
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

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Sep 29 '05 #8

P: n/a
Michael Winter wrote on 29 sep 2005 in comp.lang.javascript:
On 28/09/2005 16:26, Max wrote:
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:

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


<script type="text/javascript" src="/pippo.js"></script>
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 29 '05 #9

P: n/a
On 29/09/2005 15:31, Evertjan. wrote:
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

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Sep 29 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.