Czemu mi nie działa window.innerWidth w IE?
Zawsze ma wartość undefined.
Nawet zrobiłem coś takiego:
function setPos()
{
ww = window.innerWidth;
if(ww==undefined) sid = setTimeout("setPos()", 1000);
else
{
clearTimeout(sid);
alert(ww);
}
}
setPos();
Jednak to też nic nie dało. Zawsze jest undefined :|