The Goal:
- On mouseover (or :hover), enlarge the preview image by about 400% and display it in the center of the page
- Remove the preview when the mouse leaves
The Problem:
- Solutions like FancyBox are too bloated
- in FancyBox’s case it ignores width and height for image elements, which makes it useless
- Most of these “lightboxes” steal focus when they’re called
Really, I’m just looking for a simple, efficient solution.
try something like this. the trick is
positionyou can put the div wherever you want.read something here. and you can read about hover here
here is an html example. (copy this to a text file and open it withyour browser)