Log in

View Full Version : pictures enlarging when mouse hovering



domt
04-04-2006, 08:43 AM
Hi,
i have some scrolling images on my site's homepage (which as a novice i am quite proud of), which are hyperlinked to the appropriate pages. Is there a way that as the mouse hovers over the card and the hand appears for the hyperlink that the card enlarges itself so the details are more visible?
Thanks

jscheuer1
04-10-2006, 05:02 PM
This ordinarily can be done as a simple rollover of the image but how would depend on the code that you are using to scroll them in the first place. Code adjustments might need to be made to account for the added width the enlarged image adds, or it might be able to be applied as an absolutely positioned popup. In any case, the code you currently have for the scroller only works well in IE. So, I would first consider using something more cross browser like the Conveyor Belt Slideshow (http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm) script here at DD.

djr33
04-11-2006, 03:03 AM
not that this helps you code it, but you should really think about what that will do to making it work.

the "dock" on mac OSX is pretty much like that and it works fine, but there are some real issues to think about... what happens when you scroll off and are now on an image two images over or something because it squeezes back together... it'll end up pseudo-displacing the mouse as the images shrink....

but... it's possible to work out... just a bit complex... :)

domt
04-11-2006, 08:01 AM
Thanks guys, probably a bit to complicated for me but i will have a look at the conveyor belt slide show.