Jump to content


Photo
Viewer

Viewer autoplay



  • Please log in to reply
1 reply to this topic

#1 psimpson

psimpson

    Member

  • Members
  • 12 posts
  • Framework Version:2.3.8
  • Country: Country Flag

Posted 02 May 2013 - 01:44 PM

Hi Nick,

 

Is it possible to get Viewer to autoplay on page load?

 

Many thanks,

Phil



#2 sheilahoff

sheilahoff

    Advocate

  • Members

  • 406 posts
  • LocationSeattle
  • Framework Version:DMS
  • Country: Country Flag

Posted 07 November 2013 - 02:18 PM

Did you ever figure this out. I was shocked that it didn't autoplay. What's the point of having multiple slides if no one knows they're there?!

 

I looked up Royal Slider which is what the section uses and found the documentation. I tried to use this script code in the Pagelines Header Script Fallback area. But it didn’t do anything. So either I grabbed the wrong thing or that’s the wrong place or something.

 

Documentation: http://dimsemenov.co...tation/#options

 

AutoPlay script I used from there:

 
<script>jQuery(document).ready(function($) {

    $(".royalSlider").royalSlider({

        // general options go gere

        autoScaleSlider: true,

        autoPlay: {

               // autoplay options go gere

               enabled: true,

               pauseOnHover: true

        }

    }); 

});
</script>

Any help here?????

Thanks.

 

PS: Sorry...I just realized that this thread and category are for the plugin called Viewer and my issue is with the DMS Theme called View which I don't think is Nick's. I'm leaving it here just in case someone can help.

 

PPS: Just FYI...I had Ellen Moore add the code necessary to the section.php and I now have what I need.