Grow your CSS skills. Land your dream job.

Slide to unlock redirection

  • # May 31, 2012 at 5:19 am

    good afternoon
    i have a question about the slide to unlock in http://css-tricks.com/slide-to-unlock/
    i just wanted to know how can i make it redirect after the sliding is over to another website

    can anyone help me with this please ?
    it would be much appreciated :)
    regards

    # May 31, 2012 at 6:04 am

    Add another line after $(‘#well’).fadeOut(); and type something like:

    window.location.href = "www.example.com";
    # June 1, 2012 at 1:47 am

    thanks a million :)
    its working

    another one, do you know why is it working on chrome and not on I.E ?

    regards

    # June 1, 2012 at 9:55 am

    If you copied Chris’s code directly you have a lot of webkit only features as stated in his article
    You may be able to work around by replace the gradients with images etc

    # July 11, 2013 at 9:27 pm

    agrimsrud the redirect you posted is not working on mine…
    What could have happened? I haven’t changed anything and I have tried in both chrome AND Safari??
    Help greatly appreciated!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".