0

Considering that in firefox the position-y doesn't work I need to write a bit of code in jquery to be able to set the background-position-y when hasClass 'no-event'.

what I am doing wrong?

CSS

#products-events .nav li.no-event a:after{background-position-y:-67px;}

Jquery

    if ($('#products-events li').hasClass('no-event')) {

        //$('.no-event').css('background-position','-67' + yposition );
    }

FIDDLE

http://jsfiddle.net/L8qvz/58/

DD77
  • 1,367
  • 2
  • 13
  • 25

0 Answers0