Thanks for the reply Ricardo. I realize it's unusual to make the user
wait.. but it basically comes down to an esthetic aspect for which i
would normally use Flash.
In short: I want to create a transition from the so-called splash
page, which basically is white with a logo in the center and the
adress info, to the main overal site, which is black. Normally if I
were building the entire site in flash I would fade or ease out the
logo and create a transition from white to black and build up the new
page. But I'm not building it in Flash so now it would be the white
splash page.. users would click on enter and go to the main site which
was black. I wanted a smoother transition for this and since I'm not
building the site in Flash it's useless to use it for just the
transition. So I thought maybe I could use jQuery and create the
transition effect and afterwards guide the user to the main site.

I'll stick with location.href thanks for the input!

Dwayne

On Oct 14, 5:35 am, ricardobeat <[EMAIL PROTECTED]> wrote:
> That's some rather unexpected functionality.. why do you want to make
> the user wait before loading a new page? As there is no 'delay' in
> javascript, changing the location.href is the only way.
>
> - ricardo
>
> On Oct 13, 3:52 pm, Dwayne <[EMAIL PROTECTED]> wrote:
>
> > Hi guys,
>
> > I'm new to jQuery but already see lots of potential to use it above
> > let's say Flash. Very excited about learning more!!
> > I have a question pertaining the jQuery event.preventDefault() method:
>
> > Is there a way to reinvoke the default action again? I would like to
> > fade out or ease out (haven't made up my mind as yet) certain elements
> > on a website on clicking a hyperlink. So I figured I'd make use of
> > jQuery's animation effects methods. At the moment I use the
> > preventDefault method to stop the browser from retrieving the URL. But
> > I would certainly need the browser to retrieve the page after the
> > animation effects are done. So far I couldn't come up with anything
> > better than just using javascripts 'this.location.href'. But I figured
> > there might also be some API in the core for this.
>
> > Kind regards,
> > Dwayne!

Reply via email to