Modal window generated, but not draggable, weired problem solved

These days I'm working with the jQuery UI toolkit and facing diversified problems which are quite silly in nature.

For example today i was trying to implement modal windows using the UI toolkit, the window was getting generated but it was not draggable.

A little investigation revealed that these libraries are not only dependent on other smaller building block files, but also on the order in which the files are included.

I altered the following sequence:

jquery.ui.draggable.min.js
jquery.ui.mouse.min.js

to

jquery.ui.mouse.min.js
jquery.ui.draggable.min.js

And it worked like a charm. Hope this helps anyone facing similar problems.

Cheers!

Comments

Popular posts from this blog

uTorrent: Data error (cyclic redundancy check)

Khude Jajabor Istasi

Photo upload to Facebook from your PHP web application