the link should have it's normal state and actions when you don't return
false, as in the example code you provided.
If you want to add a call back to fire after the fade out:

$(function() { // document is ready for load
                  $('a').click(function() {
                    $('.box').fadeOut("slow", function(){
                   callback();
                   });
               });
});

regards,
Jon

2009/10/1 jessie <mi...@optusnet.com.au>

>
> Ok i'm nearly there LOL
>
> i have the link and a box which i want to foundOut as my function.
>
> All works dandy now :)
>
> But whatif i wanted after i clicked on the link to go to its normal
> state?
>
> Well i went to the jquery site but i don't think its designed for TRUE
> beginners like myself....
>
> It talks about Callback function and its displayed like this
>
> function callback() {
>  this; // dom element
> }
>
> So here is my code and where do i put this callBack? and do i need to
> add a class to it?
> $(function() { // document is ready for load
>                   $('a').click(function() {
>                     $('.box').fadeOut("slow");
>
>
>
> });
> });
>
> Jessie

Reply via email to