Are there any issues with setting window.innerWidth? Using Safari 5.0.3 Mac I'm finding that if I set it to some value, then that is the value it subsequently reports, however much the window is resized.
It appears that if I set some value using CSS, then I am unable to read that value with JavaScript. I have, instead, to not bother setting it with CSS, but instead to initialise it (to the same value) with JavaScript, and then I find I can read it back correctly. Is this expected behaviour? -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
