jquery - getting position from window -


i want left position in pixel window using jquery attaching image.

i using responsive grid don't have fixed divs enter image description here

the jquery offset function should give want.

var left = $('#mydivid').offset().left; 

working example - http://jsfiddle.net/d25fu/


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -