jscheuer1
08-21-2012, 05:35 PM
This one has me stumped. In the CSS Image Gallery by Dynamic Drive:
http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/
It says (emphasis added):
This is a purely CSS based image gallery that displays larger versions of thumbnail images dynamically when the mouse hovers over them. A rich HTML caption can be added to the enlarged image, and every aspect of the Image Gallery exists as plain HTML on the page. The idea is to use CSS's ":hover" pseudo class to cause an element to react onMouseover. When that happens, an absolutely positioned container holding the enlarged image, anchored on the page by another container with position set to relative, is shown. Furthermore, it's possible to modify the behavior so the enlarged images are only shown onClick, though IE6 currently doesn't support this behavior well. The gallery works in IE6+, Firefox, Opera 8+.
How is that possible? CSS doesn't do onclick, or does it? CSS 3 perhaps?
In any case, this claim is not documented on the page and someone was asking about it. Anyone have a clue?
http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/
It says (emphasis added):
This is a purely CSS based image gallery that displays larger versions of thumbnail images dynamically when the mouse hovers over them. A rich HTML caption can be added to the enlarged image, and every aspect of the Image Gallery exists as plain HTML on the page. The idea is to use CSS's ":hover" pseudo class to cause an element to react onMouseover. When that happens, an absolutely positioned container holding the enlarged image, anchored on the page by another container with position set to relative, is shown. Furthermore, it's possible to modify the behavior so the enlarged images are only shown onClick, though IE6 currently doesn't support this behavior well. The gallery works in IE6+, Firefox, Opera 8+.
How is that possible? CSS doesn't do onclick, or does it? CSS 3 perhaps?
In any case, this claim is not documented on the page and someone was asking about it. Anyone have a clue?