Slider not automatically starting or transitioning

newmedia's picture
newmedia
Tue, 12/05/2017 - 11:14
#1
Slider not automatically starting or transitioning

Hi. I have installed the module fine, added slides and placed the slider on the home page. However, when I load the page the slider does nothing, until I click the bullet points and then it works. Once a slide has finished it then doesnt automatically move on to the next slide and again I have to use the bullet points to make it work.

I have inspected the page and I do get these errors which I dont know if it has anything to do with it?

Uncaught TypeError: Cannot read property 'version' of undefined
    at MDSlider.resizeFontSize (md-slider.js?p0hs7d:1627)
    at MDSlider.resizeWindow (md-slider.js?p0hs7d:1545)
    at md-slider.js?p0hs7d:237
    at dispatch (jquery.min.js?v=2.1.4:3)
    at r.handle (jquery.min.js?v=2.1.4:3)
    at Object.trigger (jquery.min.js?v=2.1.4:3)
    at jquery.min.js?v=2.1.4:3
    at Function.each (jquery.min.js?v=2.1.4:2)
    at $.fn.init.each (jquery.min.js?v=2.1.4:2)
    at $.fn.init.trigger (jquery.min.js?v=2.1.4:3)

Many thanks,

Andrew

cindy's picture
cindy
Tue, 12/05/2017 - 21:45

Hi,

Firstly, please check in configure slider, did you check box "Auto play video when showing slide"? 

The error when you inspec os because of using jquery version 2.1.4

You can following one of the two solutions below:

1. Set jquery frontend version 1.x, for example version 1.10     

2. You can still use jquery 2.x, then please open file md_slider/js/md-slider.js 

search function resizeFontSize

comment or remove 

if (parseInt($.browser.version, 10) < 9)
fontDiff = 6;

newmedia's picture
newmedia
Fri, 12/08/2017 - 05:30

Hi, Thank you for you help. I had set the automatic play checkbox, but it was the errors which were causing the issue, so all sorted. Thanks again

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.