Can't get jquery to work on mouseover -


i sure there simple solution problem can't find it. have images 'gold' trying have move on mouseover jquery transit. under larger image 'cabin1' has transparent areas. clicking on button, can work fine want have images move on mouseover. have created hotspots on larger image can't figure selector should mouseover function work. maybe hotspots not way go. anyhow, code working button version follows. question how work mouseover instead of button. new help.

    "http://ricostacruz.com/jquery.transit/jquery.transit.min.js"></script>      <script>     $(document).ready(function(){      $("button").click(function(){     $("#gold2").transition({y:'-25px'});     });     });     </script>        <body>     <div id="container"><button>start animation</button>        <img src="cabin1.gif" alt="cabin2" name="cabin" width="715" height="522"         id="cabin"   longdesc="cabin1.gif" />         <img src="gold.gif" alt="gold" id=gold2 style="position:absolute;        left:630px;top:380px; z-index:-3;"/> 


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -