Javascript problems with IE 6.0.2900.2180.xpsp.050928-1517

G

Guest

Hi I have a browsing problem with my IE version
6.0.2900.2180.xpsp.050928-1517, in some web pages which contains javascript
code. When I access them shows an error about an Object required. This not
happen with another IE version like 6.0.2900.2180.xpsp_sp2_gdr.050301-1519.

Anyone know what version is the most updated, and if know a solution for
this. I tried to update my Windows XP and IE, but already have the last
updates. I appreciate so mucho if anyone can help. Thanks in advance.
 
G

Guest

cbustamante said:
Hi I have a browsing problem with my IE version
6.0.2900.2180.xpsp.050928-1517, in some web pages which contains javascript
code. When I access them shows an error about an Object required. This not
happen with another IE version like 6.0.2900.2180.xpsp_sp2_gdr.050301-1519.

Anyone know what version is the most updated, and if know a solution for
this. I tried to update my Windows XP and IE, but already have the last
updates. I appreciate so mucho if anyone can help. Thanks in advance.

Hi,
Do you have the latest Java Installed on your System, if not try to download
and install the latest version from here;
http://www.sun.com
If you have, then try to register these DLLs, by opening the run command and
type;
regsvr32 jscript.dll
regsvr32 msjava.dll
regsvr32 cryptdlg.dll
regsvr32 mshtml.dll

Try to register every DLL alone and Press OK then after complete Open the IE
Properties Window and clear you caches and Cookies and Click on Programs Tab
then Click on the *Reset web settings* Button and Click Ok and Close IE
properties Window, then Reboot you machine and see if the Issue gone.
HTH.
Please let us know.
Regards,
nass
P.S what the exact Text of the Error Message.
 
G

Guest

Hi again, I follow your indications but when I tried to register the
msjava.dll it shows an error : LoadLibrary("msjava.dll") failed - The
especified module could not be found. I have installed Java 1.4.2_11, you
think that is necesary install Java 5?

I try again browse the web page, but still shows the error. I detected where
the error is founded, it show in the next code snippet:

<style type="text/css">
#load {position:absolute; width:365px; height:190px; z-index:3; visibility:
hidden; left:310px; top:160px;}
</style>
<script language="JavaScript1.2" type="text/javascript">

var ie5 = (document.getElementById && document.all);
var ns6 = (document.getElementById && !document.all);

var pg = document.getElementById('load');
function loadProcess(){
if(ie5 || ns6) {
pg = document.getElementById('load');
pg.style.visibility = "visible";
}
setTimeout('document.images["imgProcess"].src =
"/skins/base_skin/images/images_i18n/es/Bannersabio.gif"', 200);
}
onload=pg.style.visibility = "hide"; <--- This is the line 166, here the
error is

founded by IE.
</script>

The error shows by IE say:

Line: 166
Char: 1
Error: Object requiered
Code: 0
 
G

Guest

Sorry I forgot to say that I browse the same page with Netscape 8, Firefox
1.5 and obviously with Internet Explorer
6.0.2900.2180.xpsp_sp2_gdr.050301-1519 SP without problems. That browsers
don't shows the error like Internet Explore 6.0.2900.2180.xpsp.050928-1517.
 
F

Frank Saunders, MS-MVP OE/WM

nass said:
Hi,
Do you have the latest Java Installed on your System, if not try to
download
and install the latest version from here;
http://www.sun.com
If you have, then try to register these DLLs, by opening the run command
and
type;
regsvr32 jscript.dll
regsvr32 msjava.dll
regsvr32 cryptdlg.dll
regsvr32 mshtml.dll

Try to register every DLL alone and Press OK then after complete Open the
IE
Properties Window and clear you caches and Cookies and Click on Programs
Tab
then Click on the *Reset web settings* Button and Click Ok and Close IE
properties Window, then Reboot you machine and see if the Issue gone.
HTH.
Please let us know.
Regards,
nass
P.S what the exact Text of the Error Message.

Java and JavaScript have nothing to do with each other.
 
G

Guest

Frank Saunders said:
Java and JavaScript have nothing to do with each other.

That's True it Frank, it is the source code which this Script load the
page/banner on the client side, I think but not sure, because I didn't copy
the Code and try to Compile it and try to produce the scenario, something to
do with; onload=pg.style.visibility = "hide"; should be
onload=pg.style.visibility = "none"; and I look for the document.all this
handled well in Firefox because firefox have COM inspector to deal with
document.all which old *Tag* for IE4 I think better than IE5/6.

HTH.
Please let us know.
Regards,
nass
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top