Showing posts with label class 5. Show all posts
Showing posts with label class 5. Show all posts

Wednesday, October 22, 2008

Class 5 - eCommerce site - Solved mouseout blinking problem


I was having this problem - every time I moved the mouse over an image. What happened is the prod info would start to flash back and forth from image to prod info.

I solved this problem by checking the position of the mouse and only reverting back to the image if the mouse coordinates moved outside the current thumb element.


Here is my code (the solution lies in the javascript).

ecommerce.html
ecommerce.css
ecommerce.js