Photographs copyright stu nicholls - taken at Slimbridge - Wildfowl & Wetlands Trust (WWT)
A standard thumbnail image which when clicked will produce a popup panel showing a larger version of the image. But this time the large image will animate into view when using Firefox 4+, Safari, Chrome and Opera. The popup panel can also have a title and descriptive text with links if required, and a CLOSE X which when cicked will close the popup panel with the animation reversed.
For IE8, IE9 and Firefox 3 or earlier, the popup panel will have no animation.
I believe that the final release of IE10 will have support for transitions, so will see if it can animate this in the same way as all the other major browsers.
The popBox will also work in IE7, but the descriptive text will need adjusting to fit the width of the popup panel by adding <br /> tags to force line feeds.
The popup panel will adjust iteself to the size of the large image and the amount of descriptive text. The position of the popup panel can also be adjusted for each image using just three extra stylesheet lines.
Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.
Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.