• 0

Viewer Viewer autoplay

Question

Posted · Report post

Hi Nick,

 

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

 

Many thanks,

Phil

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

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.com/plugins/royal-slider/documentation/#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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now