JQuery UI Slider conflicts with Mootools.fx slide

As already mentioned in this question, jQuery UI Slider moves up and disappears into the div when used. I have exactly the same problem as part of Joompla 1.6. I want to enable the base slider inside the back I tried to disable mootools, but it is part of the joomla backend, also I could not determine the dostrog answer posted in the question above More help? I use the latest jquery and jqueryui libraries

+4
source share
4 answers

I am replacing this piece of code with jquery-ui-1.8.16.custom.min.js

(function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide" (function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slidez" 

line 418

Mootools slide effect disabled

Work with

mootools 1.2.5

jQuery 1.6.2

jQuery UI 1.8.16

+6
source

here is a ticket to jquery: http://bugs.jqueryui.com/ticket/4168 The workaround that they offer is to remove the "slide" method from the element before initializing the slider:

 jQuery('div.slider').removeAttr('slide').slider({...}); 

This did not help me, but I found a similar solution that works for me:

 jQuery('div.slider')[0].slide = null; jQuery('div.slider').slider({...}); 
+9
source

The jQuery UI plans to switch to shooting widget: event (for example, slider.slide) to avoid naming collisions with its own events.

In the meantime, you can switch the prefix that the slider plugin uses as a workaround - http://jsfiddle.net/tj_vantoll/4uXbk/ .

+4
source

removeAttr ('slide') is effective with jQuery 1.5.1 and jQuery UI 1.8.6 on a higher version of jQuery, enable the mootools slideOut effect when moving the slider

PS. I am using mootools 1.2.5 from Joomla 1.5.23

+1
source

Source: https://habr.com/ru/post/1368952/


All Articles