Ho appena bloccato con la manipolazione RGBA() in jQuery utilizzando IE 8RGBA() non funziona in IE8
Finora ho questo:
$('.set').click(function (e) {
var hiddenSection = $('div.hidden');
hiddenSection.fadeIn()
.css({ 'display': 'block' })
.css({ width: $(window).width() + 'px', height: $(window).height() + 'px' })
.css({ top: ($(window).height() - hiddenSection.height())/2 + 'px',
left: ($(window).width() - hiddenSection.width())/2 + 'px'
})
.css({ 'background-color': 'rgba(0,0,0,0.5)' }) //Problem here in IE8
.appendTo('body');
$('span.close').click(function() { $(hiddenSection).fadeOut(); });
});
Funziona in tutti gli altri browser, Don Non so perché il suo fallimento in IE 8 ho avuto questo errore!
Invalid property value
in jquery.min.js.
Qualsiasi aiuto è molto apprezzato!
Grazie
RGBA non funziona in IE8 perché è nuovo per i CSS. Potresti usare un PNG24 che è leggermente trasparente e funzionerebbe in IE8 – Andrew
Per il futuro: http://caniuse.com/ aiuta davvero molto con questo. –