Home › Forums › Other › AnythingSlider – How do I get it to play my 4 slides, then stop on the first one again
- This topic is empty.
-
AuthorPosts
-
April 10, 2011 at 9:15 pm #32306StellaBobMember
I’ve been searching through the forum for this one…it’s probably here, but I haven’t found it. I’m using a template that came with the AnythingSlider (very cool!) But, the client want’s it to run through the 4 slides, then stop on the first one. I found the ‘stopAtEnd:true’ option, but that doesn’t seem to work…although I could be applying it wrong. Can anyone help. Please know…I’m not a JavaScrlipt person, so I may not know where to apply any code you recommend. Please help. Thanks.
February 12, 2014 at 1:50 pm #162712emidesignsParticipantHey Mottie, cheers for this awesome slider.
You answered to my question on stackoverflow, but I’m just not sure where to reference the above code.
This is what I have:
`<script> // DOM Ready $(function(){ $('#slider') .anythingSlider({ resizeContents : true, addWmodeToObject : 'opaque', navigationFormatter : function(index, panel){ // Format navigation labels with text return ['1', '2', '3', '4'][index - 1]; } }) // Initialize video extension // see https://developers.google.com/youtube/player_parameters?hl=en#Parameters for a list of parameters .anythingSliderVideo({ // video id prefix; suffix from $.fn.anythingSliderVideo.videoIndex videoId : 'asvideo', // auto load YouTube api script youtubeAutoLoad : true, // see: https://developers.google.com/youtube/player_parameters#Parameters youtubeParams: { modestbranding : 1, iv_load_policy : 3, fs : 1 } }); }); </script>`
Thank you!
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.