You have to intercept clicks on links, store the href while the page
fades then redirect to that address:

$(document).ready(function(){
    $('a').click(function() {
        var target = $(this).attr('href');
        $('body').fadeOut('slow', function() {
            window.location = target;
        });
    return false
    });
});

Tested IE7, seems to work fine :)

On May 20, 11:57 am, Anabelle <[EMAIL PROTECTED]> wrote:
> I need to add a simple effect to my website but I've been searching
> all afternoon with no luck, hope someone can help me.
>
> I need to add a Fade out effect to the entire page whe the user clicks
> a link leaving the current page.
>
> How can I do it?

Reply via email to