skip to content
Website Builder

A Vertical Scrolling Photograph Gallery

16th June 2009

CSS play Support


CSS play Recommend

PSD to HTMLuk white label shopping carts for resellersFree, practical CSS menus, layouts, and examplesSitegrinder



Information

This has been asked for many times so here it is. The previous horizontal scrolling gallery changed into a vertical scrolling one and using the latest techniques which work in all the modern browsers. Well almost.

This use the :active and :focus states to hold a clicked image on the page until another mouse click is made, but Safari and Google Chrome handle mouse clicks in a different way to other browsers so the image will only stay on screen in these two browsers whilst the mouse key is held down,

Also IE will cancel the mouse click when using the scroll bar. So you will need to use the mouse wheel to scroll if you want the full size image to stay on screen.




Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.



CSS play Recommend

CSS play Testimonial

"The citroen.co.uk web site uses
CSS play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."

Damon Clark - Brandwidth