internet explorer - jquery position() not working in IE9 -
internet explorer - jquery position() not working in IE9 -
has else had problem position() working odd in ie? i'm trying homecoming left position of div centrally placed. chrome returns 342, right. ie9 returns 0.5. what's about?
var sp = $('.jcarousel-container').position(); alert(sp.left)
it seems .offset() work in ie9 in jsfiddle example:
http://jsfiddle.net/fme6v/7/
here's code:
var sp = $('.jcarousel-container').offset(); alert(sp.left)
jquery internet-explorer internet-explorer-9 position
Comments
Post a Comment