skip to content
IX Web Hosting

An image magnifier

Boats - for visitors without css active - please ignore the following inactive links

Support CSS play


If every visitor made a £5 GBP donation each year then I could offer all my demos for FREE.

www.wix.com

CSS play recommend

PSD to HTMLSitegrinderFree, practical CSS menus, layouts, and examples

CSS play Recommend


Information

A simple method of producing an image magnifier.

This method uses two background images. One is the smaller full image and the other is the full size image.

The smaller image is held as the background image for the unordered list. This list holds a 10 x 10 grid of links which in turn hold the full size image as the background of ems and are normally hidden from view.

When your mouse is hovered over any of these links the ems are displayed at an absolute position and the background position adjusted to make it look as though the enlarged image is being moved.

Internet Explorer and Opera have a smooth transition between images whereas FF flashes from one background image to the next.

Firefox v1.5 Beta fixes this problem.

14th October 2005

A small change to add extra style so that visitors without css enabled will see the full size image.




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.



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