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

3 comments:

nycbone said...

Hey Robin thanks for contributing. I'm having some difficulty with the blinking as well so will check out your solution.

Do you have a link to the functioning page?

thanks - dave bone

Robin W. said...

ok - link to my site is up.

nycbone said...

I finally have some incite into the problem I was having with my first try at this by reading your code. Thanks for commenting it so well.

Congrats on the flickering solution as well.