Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery UI Slider conflicts with Mootools.fx slide

Tags:

jquery

As it was mentioned in this question jQuery UI Slider moving upwards and disappearing in the div when used I have exactly the same problem, as a part of Joompla 1.6 i want to include a basic slider inside the back end I have tried disabling mootools, but is a part of the joomla backend, also i haven't managed ti figure out the answer dostrog posted in the question above Any more help? I'am using the latest jquery and jqueryui libraries

like image 350
vorillaz Avatar asked Dec 01 '22 07:12

vorillaz


2 Answers

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

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

That didn't help me, but I found similar solution that work for me:

jQuery('div.slider')[0].slide = null;
jQuery('div.slider').slider({...});
like image 87
Sergey Larionov Avatar answered Dec 11 '22 03:12

Sergey Larionov


I replace this part of code in 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 is disable

Work with

mootools 1.2.5

jQuery 1.6.2

jQuery UI 1.8.16

like image 40
mitrich Avatar answered Dec 11 '22 03:12

mitrich