Ideal-Image-Slider-JS icon indicating copy to clipboard operation
Ideal-Image-Slider-JS copied to clipboard

Caption works in Chrome, not IE 10

Open wadiv opened this issue 9 years ago • 2 comments

The external captions work in Chrome, but not IE10. Stepping through the code the slide does not appear to have the data-caption attribute when iis-caption.js looks for it

wadiv avatar Feb 26 '15 21:02 wadiv

any updates to this ? thanks

aidens avatar Apr 29 '16 18:04 aidens

To fix this issue add your caption HTML into an ALT tag on the imgs. It seems that in IE10 the "data-caption" property doesn't get processed/read.

Also, in my case, when I added the HTML inside an ALT tag the ALT tags were displaying before the ideal-image slider initialized, to take care of that I added inline css onto my IMG: "style='width:0; height:0;'" (I'm using twig so I was able to do this for all the imgs except the first) Ideal image slider should strip the inline styling once it initializes.

MarcHartwig13 avatar May 02 '16 13:05 MarcHartwig13