Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Slide to unlock redirection

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38288
    chunky2k
    Member

    good afternoon
    i have a question about the slide to unlock in https://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

    #103710
    agrimsrud
    Participant

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

    window.location.href = "www.example.com";
    #103758
    chunky2k
    Member

    thanks a million :)
    its working

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

    regards

    #103770
    karlpcrowley
    Participant

    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

    #142395
    hugopakula
    Member

    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)
  • The forum ‘CSS’ is closed to new topics and replies.