jquery mouseover/mouseout

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-06-15T10:16:50Z Indexed on 2010/06/15 10:22 UTC
Read the original article Hit count: 697

In the following code once the mouse out is done the mouse over again does not work ,what is the work around for this

 <!DOCTYPE html>
  /* div { background:#def3ca; margin:3px; width:80px; 
  display:none; float:left; text-align:center; }*/
  <script src="http://code.jquery.com/jquery-latest.min.js"></script>
  <div id="playControls" style="position:absolute; bottom:0px; left:0px; right:0px;color:blue;">
 Mouse over me
  $(document).ready(function() {
  $("#playControls").mouseover(function () {
  $("div:eq(0)").show("fast", function () {
     /* use callee so don't have to name the function */
     $(this).next("div").show("fast", arguments.callee);
  $("#playControls").mouseout(function () {


© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui