In your #4 I assumed you were still in the 'out-of-view' state. But you had set it back to 'regular'.
I'd be interested to know whether it works in IE 11.
I used two containers, both with an inline image, position absolute, so that they are lying exactly on top of each other.
(I used two of those images from that site Marc linked to)
In other contexts (toggling pictures) I have used pictures changing by having one as a background image to a container which holds the other picture (which changed to a zero opacity as necessary). I did need to ensure that the original images had exactly the same ratio of width to height, and used an image program for that. The background image could then be set to 'contain' and the other image to a width of 100%.
Later: I made it. I definitely made it too complicated earlier...
Yes, I have found that a lot of things on dynamicdrive are not useful because they are not responsive. I did not check this one before I posted. I should have done that...oops
Mark, I have used the one you mention in 'the old days', before the world got responsive. I've also tried to responsify it, but that didn't go very well.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.