Question

http://cambridgeuplighting.com/testimonials

This code works in Safari, IE7, and IE8, but not in FF 3.5.7. The code changes the background of the little background icon when you hover over a div.

jQuery(function( $ ){
 $('.oneThird').hover(function(){
  $(this).find('span.icon').css( {'background-position-y': '-60px'} );
 }, function(){
  $(this).find('span.icon').css( {'background-position-y': '0px'} );
 });
}); 

Can someone help? Thanks so much.

Was it helpful?

Solution

background-position-y is not supported by firefox as you can see here. use background-position: 0 -60px; instead (thus including the x and y positions instructions).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top