Bootstrap Carousel

Out of context: Reply #5

  • Started
  • Last post
  • 7 Responses
  • Maaku0

    That bootsnipp works perfectly if I have everything on the same page. I can't get it to work if my thumbnails and slider are in separate pages.

    I am using hashes for the URLs like this:
    "mySlidePage.html#slide3"

    and

    $(document).ready(function(){
    var slideNumber= window.location.hash.replace('#s...
    $('a.panel-open').eq( slideNumber).trigger('click')// this assumes you have an a.panel-open for each image

    })

    • Clicking any thumbnails still takes me to the first slide of the carousel :(Maaku

View thread