Close button on modals
Reported by Suneth Mendis | June 16th, 2008 @ 06:15 PM
Is it possible to include a close button in the Modal window? I know its not required for us geeks, but an ordinary user will be lost without a close button...
Comments and changes to this ticket
-
Caleb Jones June 20th, 2008 @ 08:39 AM
I would vehemently oppose automatically putting a close button in modal windows. Control (form a programmer's perspective) is one of the reasons I use livepipe's modal implementation.
That said, I'm not opposed to the addition of a parameter that would automatically generate a close button. That way those who want complete control can have it, and those who want a canned solution can do so (best of both worlds).
-
Ryan Johnson June 20th, 2008 @ 10:58 AM
- State changed from unconfirmed to confirmed
Duly noted and agreed. Maybe something like this syntax:
new Control.Modal({
closeOnClick: new Element('div')
});
?
-
Suneth Mendis June 20th, 2008 @ 11:37 PM
Hi Caleb,
I didn't mean to have a close button always present on Modals. That would be defeat the whole purpose of using Modal control. All I wanted to have an option to include a close, should there is a need; like the way I use Modal in my application. (And obviously after some feedback from very average users.
Ryan, that's exactly what i would like. Thanks mate!
-
Nathan L Smith May 18th, 2009 @ 04:13 PM
- Tag set to control.modal
- Milestone cleared.
Moving this feature to 1.1
-
Nathan L Smith May 18th, 2009 @ 04:14 PM
- Tag changed from control.modal to control.modal, feature
-
Nathan L Smith August 9th, 2009 @ 07:02 PM
- State changed from confirmed to hold
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
NOTE: Please do not open tickets here. If you have an issue, please open it on http://github.com/syntacticx/livepipe-ui/issues/
High quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. MIT licensed and actively maintained.