Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > JAVASCRIPT 1.2 BROKEN ON WIN XP IE6

Reply
Thread Tools

JAVASCRIPT 1.2 BROKEN ON WIN XP IE6

 
 
Joe Koziatek
Guest
Posts: n/a
 
      04-12-2005
My IE6 runs Javascript1.3 but not Javascript1.2

My Windows Version is: Version 5.1 (Build 2600.xpsp_sp2_rtm
040803-2158
My IE6 Version is: Version 6.0.2900.2180.xpsp-sp2_rtm 040803-2158

In the following html, if I change the 1.2 to 1.3 it works ( I get the
popup hello..)

-------------------------------
<!DOCTYPE html PUBLIC "-//W5C//DTD HTML 4.0 Transitional//EN
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<HTML>
<HEAD>
<SCRIPT language='JavaScript1.2'>
alert('Hello..');
</SCRIPT>
</HEAD>

<BODY>
<p> This is a test html page.. </p>
</BODY>
</HTML>
---------------------------------

I was experiencing difficulties installing the Java 2 Plugin for
applets and I may have deleted some registry keys containing the word
"Java". This is when I noticed that JavaScript1.2 was broken in IE6.
In trying to solve the problem, I uninstalled, then reinstalled WinXP
Service Pack 2, then did Windows Update. It did not fix it. I also
removed registry keys containing "internet explorer" and tried
deleting the "C:\Program Files\Internet Explorer" directory so I could
run ie6setup.exe . The contents of "c:\Program Files\Internet
Explorer" is listed herein.

Does anyone have any advice as to how to reinstall IE6 to get the
registry keys back to original state? It just will not run
JavaScript1.2 . The HTML above does not even generate a JavaScript
error when script debugging is checked, it just seems to be ignored..
I found a web-site that reveals browser capabilities and it show that
my IE6 supports JavaScript1.3 , but isn't 1.2 downward compatible?
Prior to this, it was working with SP2 before I reinstalled.. My gut
feeling is that I disturbed the registry..

Any help is greatly appreciated!

Joe Koziatek
Developer


################################################## ####
## Directory of c:\Program Files\Internet Explorer ##
################################################## ####

04/12/2005 04:55 PM <DIR> .
04/12/2005 04:55 PM <DIR> ..
04/11/2005 05:29 PM <DIR> Connection Wizard
08/04/2004 12:56 AM 38,912 hmmapi.dll
08/04/2004 03:56 AM 18,432 iedw.exe
08/04/2004 12:56 AM 93,184 iexplore.exe
08/29/2002 07:00 AM 91,136 iexplore.exe.tmp
04/12/2005 04:55 PM 0 out
04/12/2005 09:36 AM <DIR> SIGNUP
5 File(s) 241,664 bytes

Directory of c:\Program Files\Internet Explorer\Connection Wizard

04/11/2005 05:29 PM <DIR> .
04/11/2005 05:29 PM <DIR> ..
08/04/2004 12:56 AM 61,440 icwconn.dll
08/04/2004 12:56 AM 214,528 icwconn1.exe
08/04/2004 12:56 AM 86,016 icwconn2.exe
08/04/2004 12:56 AM 32,768 icwdl.dll
08/04/2004 12:56 AM 172,032 icwhelp.dll
08/29/2002 07:00 AM 61,440 icwres.dll
08/04/2004 12:56 AM 24,576 icwrmind.exe
08/29/2002 07:00 AM 73,728 icwtutor.exe
08/04/2004 12:56 AM 49,152 icwutil.dll
08/04/2004 12:56 AM 20,480 inetwiz.exe
08/29/2002 07:00 AM 16,384 isignup.exe
08/29/2002 07:00 AM 40,960 trialoc.dll
12 File(s) 853,504 bytes

Directory of c:\Program Files\Internet Explorer\SIGNUP

04/12/2005 09:36 AM <DIR> .
04/12/2005 09:36 AM <DIR> ..
09/03/2002 03:40 PM 1,363 INSTALL.INS
1 File(s) 1,363 bytes

Total Files Listed:
18 File(s) 1,096,531 bytes
8 Dir(s) 12,749,352,960 bytes free
 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      04-12-2005
Joe Koziatek wrote:

> -------------------------------
> <!DOCTYPE html PUBLIC "-//W5C//DTD HTML 4.0 Transitional//EN


This says HTML 4.0 Transitional (which was replaced with 4.01 Transitional
before the turn of the millennium)...

> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


.... but this claims XHTML 1.0 Transitional. You might want to make your mind
up. (HTML 4.01 Strict is usually the most suitable choice for documents
written today).

http://www.w3.org/QA/2002/04/valid-dtd-list.html

> <SCRIPT language='JavaScript1.2'>


In both HTML 4.0 and XHTML 1.0, the language attribute is deprecated and the
type attribute is required.

> I was experiencing difficulties installing the Java 2 Plugin for
> applets and I may have deleted some registry keys containing the word
> "Java". This is when I noticed that JavaScript1.2 was broken in IE6.
> In trying to solve the problem, I uninstalled, then reinstalled WinXP
> Service Pack 2, then did Windows Update. It did not fix it. I also
> removed registry keys containing "internet explorer" and tried
> deleting the "C:\Program Files\Internet Explorer" directory so I could
> run ie6setup.exe . The contents of "c:\Program Files\Internet
> Explorer" is listed herein.


Oh boy.

> Does anyone have any advice as to how to reinstall IE6 to get the
> registry keys back to original state?


Restore the backup you took of the registry before you started hacking away
at it?

Use the System Restore feature of Windows XP?

Reinstall Windows?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Gary Besta
Guest
Posts: n/a
 
      04-13-2005
Try adding. You may need to change the class id but you can use the
same one as Javascript1.3


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2]
@="JScript Language"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2\ CLSID]
@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2\ OLEScript]

[HKEY_CLASSES_ROOT\JavaScript1.2]
@="JScript Language"

[HKEY_CLASSES_ROOT\JavaScript1.2\CLSID]
@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"

[HKEY_CLASSES_ROOT\JavaScript1.2\OLEScript]


David Dorward <(E-Mail Removed)> wrote in message news:<d3hf6i$9u6$1$(E-Mail Removed)>...
> Joe Koziatek wrote:
>
> > -------------------------------
> > <!DOCTYPE html PUBLIC "-//W5C//DTD HTML 4.0 Transitional//EN

>
> This says HTML 4.0 Transitional (which was replaced with 4.01 Transitional
> before the turn of the millennium)...
>
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

>
> ... but this claims XHTML 1.0 Transitional. You might want to make your mind
> up. (HTML 4.01 Strict is usually the most suitable choice for documents
> written today).
>
> http://www.w3.org/QA/2002/04/valid-dtd-list.html
>
> > <SCRIPT language='JavaScript1.2'>

>
> In both HTML 4.0 and XHTML 1.0, the language attribute is deprecated and the
> type attribute is required.
>
> > I was experiencing difficulties installing the Java 2 Plugin for
> > applets and I may have deleted some registry keys containing the word
> > "Java". This is when I noticed that JavaScript1.2 was broken in IE6.
> > In trying to solve the problem, I uninstalled, then reinstalled WinXP
> > Service Pack 2, then did Windows Update. It did not fix it. I also
> > removed registry keys containing "internet explorer" and tried
> > deleting the "C:\Program Files\Internet Explorer" directory so I could
> > run ie6setup.exe . The contents of "c:\Program Files\Internet
> > Explorer" is listed herein.

>
> Oh boy.
>
> > Does anyone have any advice as to how to reinstall IE6 to get the
> > registry keys back to original state?

>
> Restore the backup you took of the registry before you started hacking away
> at it?
>
> Use the System Restore feature of Windows XP?
>
> Reinstall Windows?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet to run on Win 98, Win ME, Win XP, Win Vista & Win 7 ?? Krist Java 6 05-06-2010 11:53 PM
Why are "broken iterators" broken? Steven D'Aprano Python 8 09-28-2008 09:19 PM
Re: Why are "broken iterators" broken? Fredrik Lundh Python 0 09-22-2008 04:32 PM
Re: Why are "broken iterators" broken? Cameron Simpson Python 0 09-22-2008 04:32 AM
Just one ie6 template that works with ie6!? Ivor O'Connor HTML 4 11-25-2003 09:16 PM



Advertisments