Jump to:

23491 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Jquery with cms inputs

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 379 Views
  • shluckey
    Avatar
    Community Member
    19 Posts

    Jquery with cms inputs Link to this post

    Hi,

    Does anyone know if it is possible to use a jquery image gallery that takes images specified by the user through the cms. I have the gallery running fine in ss3. But it takes its inputs through <img src=""> so they are always fixed. Like so...

    <div class="slider-wrapper theme-default">
    <div id="slider2" class="nivoSlider">
       <div class="imagemargin">
    <img src="image-1.jpg" transition="slideInLeft" />
    <img src="image-2.jpg" transition="slideInLeft" />
    <img src="image-3.jpg" transition="slideInLeft" />
    </div>
    </div>
    </div>

    Is there anyway I can change the input method to be an array or failing that have a function within the page code that allows the user to have say 10 chosen fixed amount of images at any one time?

    379 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.