# Onmouseover similar to any Clothing Store?

**URL:** <https://www.ruby-forum.com/t/onmouseover-similar-to-any-clothing-store/138204>\
**Category:** Rails\
**Created:** [May 21, 2008, 2:05am UTC](https://www.ruby-forum.com/t/onmouseover-similar-to-any-clothing-store/138204 "2008-05-21T02:05:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![freaknasty](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Post date:** [May 21, 2008, 2:05am UTC](https://www.ruby-forum.com/t/onmouseover-similar-to-any-clothing-store/138204/1 "2008-05-21T02:05:06Z")

</div>

Hi everyone,

I was wondering what would be needed in doing something similar to the  
onmouseover events on webpages such as old navy or similar clothing  
stores? So for example, old navy’s site, when you’re looking at a  
shirt, you’re able to do a mouse over on different color boxes and that  
updates a bigger image. If the color is clicked, the color is then now  
the default image. How do you do that? Any help is greatly  
appreciated.

---

<div class="post-metadata">

**Author:** ![freaknasty](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Post date:** [May 21, 2008, 3:44am UTC](https://www.ruby-forum.com/t/onmouseover-similar-to-any-clothing-store/138204/2 "2008-05-21T03:44:58Z")

</div>

Take a look at the Spree commerce project ([http://spreehq.org](http://spreehq.org).) This  
project has some examples of AJAX goodness involving multiple product  
images.

---

<div class="post-metadata">

**Author:** ![freaknasty](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Post date:** [May 21, 2008, 4:38am UTC](https://www.ruby-forum.com/t/onmouseover-similar-to-any-clothing-store/138204/3 "2008-05-21T04:38:01Z")

</div>

Thanks for the insight. I was looking to see if anyone knew how to do  
this using onmouseover.

schof wrote:

> Take a look at the Spree commerce project ([http://spreehq.org](http://spreehq.org).) This  
> project has some examples of AJAX goodness involving multiple product  
> images.
