My first jquery script... Its really buggy
Hi,
I have used a few existing jQuery script in the past but they where all pre existing script with a few changes to suit my needs.
Recently I have been working a a small project for a friend of mine (she selling t-shirt) I wanted to add a little efrfect on the product page. On the product page there is four T-shirts who come in contact with each other (some parst are hidden) each of these will link to the product page in the shopping cart.
In order to make it clear witch of the T-shirt is overed I wanted to fade out the others so that only one stands out form the group. I decided to make the script myself.
While it does do what I wanted to do it seem to be very buggy. Even more when you play with your mouse really fast
The first time i mess with the mouse a little bit I discover tath the script keep running even after I moved the mouse away, I had trigered wath to mush event and it wanted to play them all.
Later i used the deque function to stop the effect if I moved to mose to another T-shirt. While it did stop my first bug it seem to have included new bugs. Sometimes T-shirt remain in the faded state
anyway here the page with my first the script
http://www.famouslittlestar.com/collection_1.htm
Thanks to anyone who could have a look at this.