jquery - .shake() jumping past its distance attribute after x number of mouse hovers -


please take @ webpage: problem page. if hover on supplied images, have .shake() jquery effect applied them number of times, eventually, image fading in 'jumps' far left (beyond 3px distance described in animation), causing text left bumped way out of container. here jquery code this:

$('.pic_windows').hover(function() {      $(this).find('img')          .effect('shake',{             times:4,             distance:3              },15);     $(this).find('.hover').fadein(1000); }, function () {     $(this).find('.hover').stop().fadeout(1000); 

and here html:

 <figure class="pic_windows">          <a href="index.html">            <img src="img/armoredhumvee.jpg" />            <img src="img/armoredhumvee-1.jpg" class="hover" />          </a>          <figcaption>home</figcaption>   </figure> 

i'm pretty noob @ jquery i'm not sure why animation start getting weird after indeterminate number of iterations, there missing?

serious bonus points can figure out why <figcaption> text way off in ie......

update @ loss why breaking in ie: please hover on tank photos in ie. had working @ 1 point result of in question. pointed me jsfiddle works in ie. when apply code page, there no 'color image' fadein. , hovering more few times in page causes shake effect stop working well. (it on laptop running vista ie9).

here css further clarification:

my css:  .pic_windows {float:left; width:167px; height:125px; background-image:url(../img/pic_bg.png); background-repeat:no-repeat; margin:5px; position:relative;} .pic_windows img {padding:6px; right:0px; height:100px; position:absolute;} .pic_windows figcaption {font: 13px/12px 'specialeliteregular', arial, sans-serif; -webkit-transform:rotate(-90deg); -moz-transform:rotate(-90deg); filter: progid:dximagetransform.microsoft.basicimage(rotation=3); text-transform:uppercase; position:relative; top:40%; right:40%} .hover {display:none; } 

if remove display:none .hover class, can see fadein working, ie finding correct class , following through animation. don't why won't transition display:none display:inline (which fadein() method supposed do), , why shakes slowly, breaks altogether after few iterations on page.
works in other browsers, though shake() method slow , clunky (and rotated text gets thrown out of container sometimes) in firefox on mac. weird jumping out of container remains in chrome.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -