$(elem).css('backgroundPositionY')
Works on Chrome, IE, and Safari, but not on Firefox (or Opera, if I'm not mistaken). It's surprising that jQuery doesn't have a polyfill for this as of version 1.5. How can I easily obtain the background Y position for use in animations like parallax scrolling?
UPDATE: Let Mozilla know that you would like to see support for background-position-[x,y]
. Use the "vote" feature instead of commenting unless you have valuable insights to add. The bug has been open since 2010 (3 years now), so don't expect a quick solution. :)