Update JavaScript in Netscape 6

>> Wednesday, 6 June 2012

Update JavaScript in Netscape 6
Hi all,

I found that most simple JavaScript works in the new browser. But if i have scripts with separate lines for Netscape navigator, What can i do. I want to update the JavaScript in Netscape 6.o version. Please suggest.
Reply With Quote
#2
Old 17-02-2010
johnson22's Avatar
johnson22 johnson22 is offline
Member

Join Date: May 2008
Posts: 2,110
Update JavaScript in Netscape 6
Most simple JavaScript works well in Netscape navigator. For example, you have links shaped in JavaScript or new windows that open and close, you should be OK. The main difficulty is if you obtain into the Document Object Model. The DOM for Netscape navigator is not the same as for Netscape navigator 6. It's much earlier to the W3C optional DOM1 than also of these, but unluckily that means the new browser won't accept a lot of DOM-related code already on the Net. Check and reply.
Reply With Quote
#3
Old 17-02-2010
Techguru01's Avatar
Techguru01 Techguru01 is offline
Member

Join Date: Oct 2005
Posts: 2,116
Update JavaScript in Netscape 6
If you are not very recognizable with JavaScript, this is almost certainly the easiest way to tell if your code will work in N6 unaffected or if it wants updating. Any scripts that dedicate their primary few lines to recognizing the browser will almost surely need to be updated. In most cases they will need a new section of code additional that conforms with DOM1. Check and reply.
__________________
I'm the Proud Owner of the most dangerous weapon
known to man kind: Human Brain
Reply With Quote
#4
Old 17-02-2010
deveritt's Avatar
deveritt deveritt is offline
Member

Join Date: Apr 2008
Posts: 2,528
Re: Update JavaScript in Netscape 6
You often want to use scripts to appeal to methods on an applet. For example, you strength have an HTML button that, when click, start an animation sequence. You do this from side to side a combination of HTML tags and scripting in the HTML file, plus the real code in the applet itself. You need to comprise the following in your applet's HTML page. Within the OBJECT tag, an ID limit that specify the name of the applet. Best of luck.
Reply With Quote
#5
Old 18-02-2010
Trio's Avatar
Trio Trio is offline
Member

Join Date: May 2008
Posts: 2,752
Update JavaScript in Netscape 6
You must comprise a SCRIPT tag for the method that the onClick tag specifies. The SCRIPT tag have to the similar name as the name used in the onClick tag. It too has a limit that specifies the script language. More highly, the script method calls the Java applet method. It identify the method by using the name of the applet as particular by the ID tag, follow by the real method name as implement in the applet code. Best of luck.
Reply With Quote
#6
Old 18-02-2010
Techno01's Avatar
Techno01 Techno01 is offline
Member

Join Date: Apr 2008
Posts: 2,268
Re: Update JavaScript in Netscape 6
The Java Plug-in 1.3 ships netscape.javascript in a JAR file called JAWS.JAR. To collect an applet which uses JSObject, just put in JAWS.JAR in the CLASSPATH before collection.If you don't have the Plug-in, but do have a Netscape browser installed, you can put in the java40.jar file that comes with talker to the end of your CLASSPATH or take out the netscape.* classes from there. Check and reply.
Reply With Quote

0 comments:

Post a Comment

Read - Share - Comment

About This Blog

Share and Save

About Author