471,122 Members | 1,125 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,122 software developers and data experts.

Weird behavior: IE vs NSN

Hi. I dashed off a little button-swapper for "homework" for lesson 1.
Well, it works fine, with Internet Exploiter, but not with Netscape,
which is kind of ironic, since NS invented JS. I'm surmising that
it's all the crap that Tripod serves up with the page - I'd appreciate
it, if anyone has the time and inclination, if you'd take a look at
it:

http://rich_grise.tripod.com is the home page, and
http://rich_grise.tripod.com/Secret/SecretOfLife.html is the JS toy.

Like I say, if anyone's advanced enough in JS to tell me what I could
do about it, I'd appreciate it. Maybe email Tripod and ask them about
their server?

Thanks,
Rich
Jul 20 '05 #1
2 2188
Rich Grise wrote:
Hi. I dashed off a little button-swapper for "homework" for lesson 1.
Well, it works fine, with Internet Exploiter, but not with Netscape,
What version of Netscape? It works fine here.
which is kind of ironic, since NS invented JS.
And then Microsoft added a bundle of its own APIs.
I'm surmising that it's all the crap that Tripod serves up with the page


If that were the case then it probably wouldn't work in any browser. Its
easy enough to test though - try a local version that isn't interfered with
by the webserver.

--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/20...ces-ie-is-dead
Jul 20 '05 #2
ri**********@yahoo.com (Rich Grise) writes:
Hi. I dashed off a little button-swapper for "homework" for lesson 1.
Well, it works fine, with Internet Exploiter, but not with Netscape,
which is kind of ironic, since NS invented JS.


What is it that doesn't work? (i.e., what should happen, and what
actually happens)? Which version of Netscape?

For what it's worth, it seems to work for me in Netscape 4, IE6,
Mozilla Firebird, and Opera 7.

If you want to be a little safer, you can try a small change.
You write:
document.image_top.src= ...
You can't assume that a named object is available as a property
of the document element directly. Instead you chould write, e.g.,
document.images['image_top'].src=...

(And for the crap that Tripod adds ... you have my sympathy! They
have my disgust, so I doubt I'll come back to a Tripod page soon)

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by redneck_kiwi | last post: by
4 posts views Thread by Stephan & Saori | last post: by
reply views Thread by newgene | last post: by
5 posts views Thread by python newbie | last post: by
11 posts views Thread by Les Paul | last post: by
6 posts views Thread by Angel Mazo | last post: by
1 post views Thread by Jonathan Yong | last post: by
reply views Thread by Shaul Feldman | last post: by
8 posts views Thread by XYZ | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.