I tried to do
myfun(params,
function(){
//something happen
}
);
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.
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".
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.
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.
aniCircle it is the function where I want to nest my sequences of animations. This it is how does it look the function:
$("#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)
}
);
Here there is the webpage http://life-is-simple.co.uk/test5/index.html
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.
Thank you for all your help