I'm trying to learn jquery. Below I include a fairly short html testing page.
I stack up four preview divs. Each preview div contains an image and a text area. On load, I hide all of the previews except for the first one.
At the bottom of the page, I have four links. When I hover over a link, i want the current preview to fade out and a new preview to fade in.
This usually works. But if I start moving the mouse too fast, I soon get into a situation when the new preview fades in, but the old preview doesn't fade out. This example uses hoverIntent. But I have the same problem if i switch to hover. Adding that stop statement seems to have helped somewhat but the problem persists.
Anywhere, here is the complete code. I have not attached the four images, which are just somewhat modified screen captures.
Click <a href="http://markpendergrast.com">here</a> to visit this site.
</div> </div> <div class="preview"> <div class="pimg"><img class="previmg" src="bbjcScreen.png" alt="" /></div> <div class="text"> <h2><strong>The Bernard Baran Justice Committee</strong></h2> successfully worked for the release of Bernard Baran, the first person convicted during the 80s daycare hysteria.
Baran was imprisoned for 22 years for crimes that never occurred. After his release, the BBJC fought for three more years to get all of the charges against Baran dropped.
Click <a href="http://freebaran.org">here</a> to visit this site.
</div> </div> <div class="preview"> <div class="pimg"><img class="previmg" src="fojScreen.png" alt="" /></div> <div class="text"> <h2><strong>Friends of Justice</strong></h2> is a blog for people concerned about false accusations and wrongful convictions.
Click <a href="http://bobchatelle.net">here</a> to visit this site.