3.0.0

IE 6 Bug

Hello,

i keep getting a js error on line 79 of aw.js. I exploded the code so that I could see exaclty where the error was. It occurs on the bolded line below.

if(AW.ie6 && AW.strict){
this.setTimeout(function(){
e.lastChild.style.width=(ww-20)+"px";
e.lastChild.style.height=(hh-20)+"px";
e=null
}


Any ideas/workarounds, can i remove this piece of code?

I am running it in IE 6.0

Thanks,
Adam
September 18,
Me too,

It only breaks occasionally ,

but always when within a frameset.

I have 2 grids on a form and I am populating the second grid from an xml document dynamically using ajax.
Kevin
September 26,
my problem was also on ie6

I have worked around the problem by doing the following
on my grid refresh.

setTimeout('obj.refresh();',500);

im not pleased with this but it seems to work.

are there any better solutions.?
Kevin
September 26,
maybe it's accessing that code before the browser has finished loading as I recollect those properties are read only until the onload event

you could do

if(AW.ie6 && AW.strict){
this.setTimeout(function(){
try
{
e.lastChild.style.width=(ww-20)+"px";
e.lastChild.style.height=(hh-20)+"px";
e=null
}
catch (e)
{
}
}


but it's not a solution since it's just ignoring the problem
September 26,
Have you chaeked the code properly
It should be like this
if(AW.ie6 && AW.strict){
        this.setTimeout(function(){
        e.lastChild.style.width=(ww-20)+"px";
        e.lastChild.style.height=(hh-20)+"px";
        e=null
        })
    }
Sanjay Sharma
September 26,
Alex (ActiveWidgets)
October 25,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.