Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter scogee

    (@scogee)

    It’s a calculation issue:

    Here’s the hack to fix this. I’m sure there’s a more elegant solution:

    In plugin/mstw-schedules-scoreboards/js/ss-slider.js

    line: 35 and 65 reads

    Old:
    var slide_distance = (nbr_blocks-1)*block_width;

    New:

    var nbr_blocks_spacer = nbr_blocks;
    if (nbr_blocks_spacer == 1) {
    nbr_blocks_spacer = 2;
    }
    var slide_distance = (nbr_blocks_spacer-1)*block_width;

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi scogee,
    Thanks for the find and fix!! I replicated the bug on the MSTW Dev Site, made a fix, and tested it on dev.shoalsummitsolutions.com. (See bottom of page.)

    In the process, I also found some problems with the MSTW Schedules & Scoreboards stylesheets. I’ll post both to the development trunk when I get all the stylesheet corrections in.

    Thanks again.
    -Mark

    Hi, I’m having the same problem, the right arrow does not go to the next game. However I am showing multiple games in a schedule slideshow.

    Here’s the link: https://www.game-info.saintstephens.org/?page_id=292

    Thanks!

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi kellysmccormick,
    I’d be happy to help you, but this topic is RESOLVED. And I think you are really asking a different question. Please start a new thread for your specific question. Thanks for the link, also please post the version you are on.
    Thanks.
    -Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Slider doesn't move when games_to_show=1’ is closed to new replies.