Log in

View Full Version : Javascript needed .. mouse over effect



vikaspa
05-21-2011, 10:04 AM
Dear all
pls refer

http://www.polyvore.com/earrings/shop?category_id=64

on mouse over a window pops up
how can i do this

i want to use the same javascript

please help

jscheuer1
05-21-2011, 03:33 PM
To use the exact javascript, you would have to contact the site owner or designer as there's no documentation as to which script is used, the name, author, etc. It may be proprietary.

I can tell you that it's not a window. It's script generated HTML markup made to look like a window.

It's a sort of Lightbox, or more generically, a modal window of sorts. There are tons of Lightbox and Lightbox type scripts around and also plenty of modal window scripts. To make any of them that I know of look and act just like the one on that page would require tweaking, probably fairly extensive tweaking. Most if not all of them use onclick, changing to mouseover would be easier for some than for others. ColorBox:

http://colorpowered.com/colorbox/

might be one that is most easily adapted because, according to the documentation, you may load one up with an event of your choosing.