What's the best way to display a blown-up image using minimal JQuery?
Posted
by TkTech
on Stack Overflow
See other posts from Stack Overflow
or by TkTech
Published on 2010-05-09T18:06:31Z
Indexed on
2010/05/09
18:08 UTC
Read the original article
Hit count: 134
jQuery
|JavaScript
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.
Oops - StackOverflow won't let me post images yet, mockup -> http://img685.imageshack.us/img685/7649/idae.png
© Stack Overflow or respective owner