Thanks for the example modal dialogs. However, is it possible to specify that the dialog be "draggable" and if so how?

Comments

southweb’s picture

Any thoughts on this? thanks

southweb’s picture

Is dragging a modal dialog feasible?

thanks

merlinofchaos’s picture

No it's currently not possible to drag the modal, and I currently have no plans to implement such a feature to it. It could theoretically be added in using the modal settings, but it would require someone to do the development effort.

nod_’s picture

on that topic, would you consider using jquery ui to handle modal dialog for 7.x ? If that's the case i'd be happy to send patches.

southweb’s picture

I think I won't bother with this module. Have had a look at dialog which has dev version for 7. Still a bit buggy though. Then I hear there is talk of a jQuery modal dialog built into the core? Anyone know the story?

merlinofchaos’s picture

I think I won't bother with this module.

That's fine, but please don't post to issues in this module's queue if that's the case.

merlinofchaos’s picture

As for the jquery UI modal, that's a definite maybe. It's significantly different enough that I worry about mucking up the existing API. The modal that CTools uses is very simple and is relatively easy to use. I'm not against it, and I'd be interested in a patch as long as it was well executed and could work seamlessly.

dave reid’s picture

Component: User interface » Modal

I think it's probably better if we used jQuery UI Modals for this rather than adding this functionality in: #1397370: Make modal.js use jQuery dialog.