У меня проблема с моей веб-страницей, я проверил все остальные браузеры, и она работает, но единственная проблема - это IE. это не работает на IE. У меня есть анимация для непрозрачности.
в IE ничего не анимируется
вот мой код:
Jquery
$(document).ready(function() {
$('.hideme').css('display', 'none');
/* Every time the window is scrolled ... */
$('#activate').click(function() {
$('.hideme').css('pointer-events', 'all');
/* Check the location of each desired element */
$('.hideme').each(function(i) {
var bottom_of_object = $(this).position().top + $(this).outerHeight();
var bottom_of_window = $(window).scrollTop() + $(window).height();
/* If the object is completely visible in the window, fade it it */
if (bottom_of_window => bottom_of_object) {
$(this).animate({
'opacity': '1',
' -moz-opacity': '1',
' -khtml-opacity': '1',
'transition': 'all .3s linear',
}, 1500);
}
});
});
});
HTML / PHP
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">