oh my god - allex, you did it. it just works.
i am totally aware about the issues reg. usability - but in this case
it's not for the general public.
many, many thanks.
s
On Feb 7, 11:30 pm, "Smith, Allex" <[EMAIL PROTECTED]> wrote:
> I think this is a bad idea from a usability standpoint... But...
>
> Untested Code:
> $('a').click(function(){
> var hrefLoc = $(this).attr('href');
> $('body').fadeOut("slow",function(){
> window.location = hrefLoc;
> });
> return false;
>
> });
>
> Might be a better way to do it, here you go.
>
> AllexS
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
>
> Behalf Of schnuck
> Sent: Thursday, February 07, 2008 3:17 PM
> To: jQuery (English)
> Subject: [jQuery] intercepting links and adding a short animation before
> executing them
>
> hello guys,
>
> the title tells it all really: intercepting links and adding a short
> animation before executing them
>
> this might be the most amateur question for tonight - however an answer
> would be very appreciated.
>
> example:
>
> i have a simple navigation in an unordered list. i want to make the page
> i am on fade away in a smooth short animation before the onclick- event
> is actually executed.
>
> thanks in advance for any help.
>
> s