0
IE7 n’aime pas l’attribut backgroundPosition.
A la place il faut utiliser backgroundPositionX et Y.
// PRODUCT FAKE DROPDOWNS
// on-the-fly adjustments
$('.fake-dropdown').each(function(){
$('li', $(this)).each(function(i){
if (i) {
$(this).css('marginTop', 20*(i-1));
$(this).css('marginBottom', 0);
if (i>1) {
if (navigator.appName=='Microsoft Internet Explorer') {
$(this).css('backgroundPositionX', 'right');
$(this).css('backgroundPositionY', '-20px');
} else {
$(this).css('backgroundPosition', 'right, -20px');
}
}
}
})
})
DATE 24 Oct 2010
