View Full Version : jQuery jquery IE bug

09-07-2010, 10:16 PM
So im building a portfolio with a gallery. it works great in ff and webkit. for some reason IE8 doesnt like this line of code:


is there any part of this that is incompatible with IE?

09-08-2010, 10:31 AM
Yes, the window.innerWidth bit :thumbsup:

$(window).width() (http://api.jquery.com/width/) will return the viewport width.