Backstretch Selector

Discussion in 'General Discussion' started by bt012ss, Feb 4, 2017.

  1. bt012ss

    bt012ss Well-Known Member

    Hi, is it possible for the future to get more locations to use the backstretch function?
    I f i use it for the Welcome Notice than i can´t use it anywhere else in the forum.
    The reason is also clear :)

    Thanks ;)
     
  2. Russ

    Russ Designer

    I like this idea... I've implemented something kind of simple yet will require a bit of coding.

    backstretch.png

    the "Extra Backstretch Call", you can add a new custom backstretch call which will be loaded in additional to the backstretch setup above.

    Examples being...
    Code:
    Copy Source
    $(".navTabs").backstretch("@imagePath/xenforo/sources/navbg.png");
    Code:
    Copy Source
    $("#logoBlock").backstretch([
        "@imagePath/xenforo/sources/logobg1.png",
        "@imagePath/xenforo/sources/logobg2.png",
        "@imagePath/xenforo/sources/logobg3.png"   
      ], {duration: 4000});
     
  3. bt012ss

    bt012ss Well-Known Member

    Sounds good :cool:
     

Let's work together on your next project

Contact us today to talk about how we can help you