Trying to find the position of a div, relative to the window. I've got a horizontal div and I want to get the left value relative to the window. So If I scroll the second div to the left of the window, it will read "0".
Not sure if this is possible without a parent div. Here is my fiddle: http://jsfiddle.net/FSrye/
edit: it should function like this without a parent div.