Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Caption works in Chrome, not IE 10 #63

Open
wadiv opened this issue Feb 26, 2015 · 2 comments
Open

Caption works in Chrome, not IE 10 #63

wadiv opened this issue Feb 26, 2015 · 2 comments

Comments

@wadiv
Copy link

wadiv commented Feb 26, 2015

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

@aidens
Copy link

aidens commented Apr 29, 2016

any updates to this ? thanks

@MarcHartwig13
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants