title: How to create a sequence of functions?
body: <p>I tried to do</p>
  
  <pre><code>myfun(params,
     function(){
         //something happen
     }
  );
  </code></pre>
  
  <p>but it is not working, and I absolutely do not know why, and I am going crazy.
  I am still banging my head on a problem after several weeks, and I need really an help because I am not so good at Jquery syntax.</p>
  
  <p>What I am trying to achieve is:
  Starting a function that check if you are hovering inside a circle area, if you do than trigger a sequence of function, one after another (in this case showing a series of animation). And I cannot make "one after another".</p>
  
  <p>I am trying to do this, because in safari when you make a link round with radius-border, and you want to hover on the element, it still behave as a square. And I would like not to use image-maps.</p>
  
  <p>As well I cannot re-use the same function to check the hovering inside a circle area more than once (do not ask me why, I tried to understand but I am not clever enough or able enough to comprehend), so my only last resource it is to try to trigger an event based on a sequence. </p>
  
  <p>aniCircle it is the function where I want to nest my sequences of animations. This it is how does it look the function:</p>
  
  <pre><code>$("#cv").hover( 
      function(){
          $("#sliders .circle").css("z-index","6");
  
          aniCircle(1, $(this), "#slider1", {"opacity":"0"},{"opacity":"1"}, 0, speed2, 
              function(){$("#slider2").delay(speed2).animate({"opacity":"1"},speed2)}
          );
  
      },
      function(){
  
          $("#slider1").animate({"opacity":"0"},speed2)
          $("#slider2").delay(speed2).animate({"opacity":"0"},speed2)
  
      }
  );
  </code></pre>
  
  <p>Here there is the webpage
  <a href="http://life-is-simple.co.uk/test5/index.html" rel="nofollow">http://life-is-simple.co.uk/test5/index.html</a></p>
  
  <p>Remember on FF4 it works fine the circle area, it is on webkit browser that it doesn't and I want to fix it using JS. </p>
  
  <p>Thank you for all your help</p>