internet explorer 7 - out of present range bug javascript IE 7 -
hey guys have following javascript below
for(var k in style){ if(style.hasownproperty(k)){ this.elem.style[k]=style[k]; } }
where style object e.g
{'maxheight':'50px','maxwidth':'50px'}
in ie 7 getting out of present range error because of
this.elem.style[k]=style[k];
any other way can set style using object oriented way
thanks
i setting zindex 9999999999 guess ie 7 not support
the highest z-index ie7 supports 999999999
, i.e. 9 digits.
Comments
Post a Comment