Forums

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

Home Forums JavaScript Slider effect

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #205010
    NoobSimon
    Participant

    I am trying to recreate this effect
    https://imgur.com/0QmFb72

    I have had a peek at the source code but I think it uses Slider revolution – here is the code I have extracted
    http://codepen.io/aggressivedigital/pen/MwXmqN

    I have also tried to create a similar effect in FlexSlider, but then realised its not even close to the effect. http://codepen.io/aggressivedigital/pen/XbYRjv/

    Please help me as the effect seems very cool but I have no idea where to start in JS

    Edit:
    Further digging shows that GSAP is used (I think)

    #205044
    Shikkediel
    Participant

    This close enough?

    Link to pen

    #205070
    NoobSimon
    Participant

    Thanks for the help! :)
    I can see you have added the jQuery and it is supposed to run when the document is ready but for some reason it does not run. :/

    #205097
    Shikkediel
    Participant

    Have you included the library on that page then? Another thing that could usually go wrong is that the script is pasted inside HTML without any script tags around it.

    Maybe you could post a link so we can troubleshoot…

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.