my slider starts and freezes in the first slide

encgt's picture
encgt
Wed, 01/30/2019 - 05:51
#1
my slider starts and freezes in the first slide

Hi,

please i need your help, my slider starts and freezes in the first slide

here are the errors that i obtained : 

Uncaught TypeError: jQuery.easing[jQuery.easing.def] is not a function
    at Object.swing (jquery.easing.js?pm54o5:39)
    at init.run (jquery.min.js?v=1.10.2:6)
    at l (jquery.min.js?v=1.10.2:6)
    at Function.x.fx.timer (jquery.min.js?v=1.10.2:6)
    at er (jquery.min.js?v=1.10.2:6)
    at HTMLDivElement.a (jquery.min.js?v=1.10.2:6)
    at Function.dequeue (jquery.min.js?v=1.10.2:5)
    at HTMLDivElement.<anonymous> (jquery.min.js?v=1.10.2:5)
    at Function.each (jquery.min.js?v=1.10.2:4)
    at e.fn.init.each (jquery.min.js?v=1.10.2:4)

cindy's picture
cindy
Wed, 01/30/2019 - 22:12

Hello

Which version of MD Slider are you using? You please send us your website url to check

cindy's picture
cindy
Fri, 02/01/2019 - 03:52

Hello,

You site uses many different jQuery versions. For example, header : http://prntscr.com/mf4do0 and footer : http://prntscr.com/mf4enp

This causes problem with jQuery easing load, lacking of effect: http://prntscr.com/mf4a3s.

We try to remove 2 file jquery at footer, and there is no problem with jQuery easing: http://prntscr.com/mf4c7o

Solution:

+ Just use only 1 jquery version at header or footer

+ If you use jquery at header, you do not need to change md-slider. If you use jquery at footer, you please modify module md-slider like this: http://prntscr.com/mf4li9

cindy's picture
cindy
Sun, 02/10/2019 - 22:43

Hello

We have just resumed our service after Tet holiday. Regarding your questions, you can follow these solutions:

- Method 1: Use jquery 1.10.2 at header: Open your folder theme elos and search code add files: jquery.js , jquery-1.js, then remove or comment those code.
- Method 2: Use default theme's jquery at footer: Edit function add js of our md-slider  https://prnt.sc/mf4li9 so that Md slider adds js => scope footer.
Ex:    

/add js file to footer
drupal_add_js('js file link', array('scope' => 'footer'));



encgt's picture
encgt
Mon, 02/11/2019 - 04:12

Thank you Cindy,

I will try these solutions :)

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.