Hi FOlks,
ive got the problem that i dont know how to stop my function with mouseover and restart it with mouseout
first here is my test-code:
  <script type="text/javascript">
  function fadeEngine(x) {
  var total_divs=3; //setze hier die nummer der gewollten divs
                  var y=x;
                  if(x==total_divs) y=1; else y++;
                  $("#fade"+x).css("display","none");
                  $("#fade"+y).fadeIn("slow");
                  setTimeout('fadeEngine('+y+')',3000); //modifi alle 3000 miliseconds nen neuen div
          }
  fadeEngine(0); //Initialisation des Scripts
  </script>
<script type="text/javascript">
$(document).ready(function(){
/*
    $("#container").hover(function(){
            stop('mouse over');
    },function(){
            alert('mouse out');
    });
*/
/*
$("#container").hover(function()
   {
      $(this).stop().fadeTo("slow", 1.00);
   },
   function()
   {
      $(this).stop().fadeTo("fast", 0.50);
   });
*/
});
</script>
</head>
<body>
<div id="container" style="width:200px;height:200px;background:#afafaf;color:#red;">
 <div id="fade1">Content  one</div>
 <div id="fade2" style="display:none">Content  two</div>
 <div id="fade3" style="display:none">Content three</div>
</div>
 <div class="blocker"> </div>
</body>
</html>
How i can do this to stop my function fadeEngine if im go over the contentdiv and start it if im move out of the div?
thanks a lot for help