tags:

views:

352

answers:

3

I have a search result which includes images. When the user hover over the image, the image should expand like we see in bing http://www.bing.com/images/search?q=world&go=&form=QBIR&qs=n . Please help.

A: 

It's all javascript and CSS. There has to be a jQuery or some other JS Library plugin for it but I don't know one off hand. Here is a tutorial on how to get a similar effect using jQuery.

beggs
A: 

you should take a look into javascript frameworks

All of those would be able to implement such effects, if you want the exact same effect let me know which framework you want to use I would provide a code snippet.

RageZ
A: 

If you can use jQuery then you can write

animate

function on

hover

event.

In the animate function change the width and height to your desired one.

rahul
if i change the height and width it only crops and not the whole image is enlarged. Please help
Rajasekar