Download & Extend

Support for jquery_ui dialog

Project:Image javascript crop
Version:7.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Should give the option to use jquery_ui for the popups. The jquery UI is included in D7 and will become the standard method of implementing modals and dialogs. Lets adopt this standard and let jquery_ui do the work if it's installed.

It may be an idea to support this through http://drupal.org/project/dialog

Comments

#1

Status:active» closed (duplicate)

Duplicate to #850910: Alternative to Thickbox Modal Window

#2

Version:6.x-1.x-dev» 7.x-1.x-dev
Status:closed (duplicate)» active

I think that this issue deserves a second look now that there is a D7 version of this module. As the OP said, jQuery UI is now part of core, and I think that it would make sense to make use of it.

#3

The problem is. If i switch to the ctools modals. I need to change all my code to ctools specific, using the ctools commands.
This will be a major change in all js / php code. So i need to check first, if i can guarantee that other popup methods still keep working.

Also i'll need to check, if a scrollbar popups, when an image is to big for the popup. Modals don't uses iframes, so this maybe could be a problem.

#4

Could you bypass ctools altogether and use jQuery UI Dialog? I’m not too familiar with ctools modals.

We could also look at how the Overlay module works, it uses iframes—maybe we could reuse some of that.

Just throwing out some ideas.