IE8 support?
-
Hi,
Thanks for a great plugin. I have a question though, if it is possible to add IE8 support?
The script that adds the eventlistener doesn’t work in IE8 because addEventListener isn’t supported in IE prior to 9 (https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener). I think a check if addEventListener is detected would work, like:if ( document.addEventListener ) { /* your code */ } else { /* your edited code with attachEvent instead of addEventListener */ }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘IE8 support?’ is closed to new replies.