/    Sign up×
Community /Pin to ProfileBookmark

Java: Netscape v. Internet Explorer?

Hello all,

Just a quick question. I’m new to the world of Java so please pardon any misused terms.

I just incorporated a java script provided by a third party site (History Channel’s “This Day In History” box to be specific) into the page I’m creating. When I previewed the page in IE6, the “This Day In History” java script loaded fine. When I previewed the page in Netscape7, in place of the “This Day In History” box was an error and a link to download Java2 RunTime SE. I downloaded Java and now the java script for the “This Day In History” box loads just fine in Netscape.

Does anyone know why I had to download Java2 RunTime SE in order to view the java script in Netscape but not for IE (you know, the answer to this question may also explain why my right-click disabling java script only works in IE.)? I’m wondering because I’m not sure whether or not I need to state on my home page that visitors need to download Java in order to view parts of my site (as I was planning on playing with a few other java scripts as well).

Thank you in advance for your time.

Most kindly,
Dawn

P.S. In case it helps to know, I’m using WindowsXP, FrontPage98, and the html for the java script I used is:

<table>
<tr valign=”top” align=”center”>
<td height=”161″><dl>
<dd align=”center”><br>
<applet codebase=”http://www.historychannel.com/showcases/” code=”Hpod.class”
archive=”Hpod.jar” name=”Hpod” width=”120″ height=”320″ hspace=”0″ vspace=”0″
align=”middle”>
<param name=”podinfo” value=”AID=1169438:?ID=545042::SID=1″><a
href=”http://www.qksrv.net/click-545042-1169438?URL=http%3A%2F%2Fwww.commission-junction.com%2Ftrack%2Ftrack.dll%3FAID%3D1169438%26PID%3D545042%26URL%3Dhttp%253A%252F%252Fnetwork%252Ehistorychannel%252Ecom%252F
target=”_blank”><img src=”http://www.historychannel.com/showcases/x1.gif” border=”0″
alt=”JOIN”></a>
</applet>
</dd>
</dl>
</td>
</tr>
</table>

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Phil_KarrasFeb 28.2003 — Sorry to say that no two browsers are alike, and I doubt they ever will be.

NetScape tends to follow the w3c standards for HTML and JavaScript far more closely than does IE.

As to your question about Java and JavaScript I have no real idea why it worked inIE and not inNS until you loaded a new Java.

Java and JavaScript are two different things, one can use JavaScript to get back data from a Java applet, and vice versa, but why it would work in IE and not NS I don't know.

Perhaps IE just ignored a problem and NS did not?
Copy linkTweet thisAlerts:
@daybreak6876authorMar 03.2003 — Phil,

Hey neighbor, enjoying our recent snows? Thank you so much for your help. Your response made me realize that I know even less about Java and JavaScript than I’d realized so I’ve since bought a helpful book. Again, thank you and take care.

Appreciatively,

Dawn
×

Success!

Help @daybreak6876 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.14,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...