Codeinwp / Ideal-Image-Slider-JS

Quite simply the ideal Image Slider in vanilla JS.
http://idealimageslider.com
GNU General Public License v3.0
1.57k stars 160 forks source link

Problem with IIS using links on IE11 #60

Open spacekids opened 9 years ago

spacekids commented 9 years ago

Hi there, love the IIS, works brilliantly and so straightforward. Having a problem with a slide show with links on each image on IE11 default settings, works fine on firefox though. The slide show simply fails to appear in IE soon as I wrap tags around each image but works fine in firefox

Double checked your links demo:http://gilbitron.github.io/Ideal-Image-Slider/demo/links.html and that one doesnt show either on IE11

I hope you might be able to figure out a way round the issue?

Thanks and regards Robert

enzosterro commented 8 years ago

Hi, I have same problem.

ercsey commented 8 years ago

I'm having the same problem. Any solutions?

msigley commented 8 years ago

Still an issue. Ideal Image Slider works in IE for straight img tags, but when you wrap the img tags in a tags, the images disappear. I am investigating this issue and will submit a PR when I have the fix.

msigley commented 8 years ago

So the issue is document.querySelector is bugged on IE and only returns the first level of children in returned results. I am writing a patch that replaces document.querySelector with a combination of document.getElementByID and document.querySelectorAll, which funny enough returns good results.