28
Dec
2011

Jquery UI slider hides when slides – Event name collision with mootools

Hi,

after few hours of investigating this bug …
if you are trying to put a jquery ui slider on a page with mootools it won’t work as you would excpect because mootools slide event fires before jquery does.

the fix for this problem is easy, just do .prop(‘slide’,null) before initializing the jquery slider. this will remove Mootools’s Fx.Slide from the element.

scroller.prop('slide',null).slider({...});

Hope i helped someone with this ... 

G'day
Ady
Posted in HTML, html5, javascript

6 comments »

  1. Chris said,
    June 11, 2012 @ 4:28 pm

    Thank you! :D Was realy helpfull!

  2. Ritesh said,
    July 26, 2012 @ 9:44 am

    Its great help! Thanks a ton.

  3. Ritesh said,
    July 26, 2012 @ 9:47 am

    Its great help! Thanks a ton.
    jQuery(“#slider”).prop(“slide”,null);

  4. Reverse Hack said,
    December 10, 2012 @ 10:50 am

    Thanks a lot. It helped a lot

  5. Fabio said,
    September 21, 2013 @ 7:14 pm

    Thank you sooooooo much! It was a life saver now. Really.

  6. Saroj said,
    October 23, 2013 @ 7:37 am

    Thanks a ton buddy!

    It really save me….

Leave a Comment