I try to animate header in IE8 but i see error "Invalid procedure call or argument"
function init() {
window.addEventListener( 'scroll', function( event ) {
if( !didScroll ) {
didScroll = true;
setTimeout( scrollPage, 250 );
}
}, false );
}
I wound similar solution here ( addEventListener not working in IE8 ) but i can't modify my source....