| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

ModalDialog

Page history last edited by PBworks 17 years, 8 months ago


 

ModalDialog

(extends DynamicLayer)


Object summary

 

Creates a DHTML modal control that goes on top of (almost) everthing (except frames,iframes,flash objects,applets and combo boxes).

 

ModalDialog(elmBgLayer,elmDragLayer,elmContentLayer,elmCloseBtn)

 

parameters

elmBgLayer - Semi-transparent background layer.

elmDragLayer - The layer to drag.

elmContentLayer - show method will change this layer's innerHTML.

elmCloseBtn - (optional) When clicked on this element ModalDialog will be closed.

 

comments

Better examine the example page to have a better understanding. The object requires some CSS and some JS to be set to be able to work cross-browser.


ModalDialog.disableClose()

 

comments

Disables the close action of the ModalDialog.


ModalDialog.enableClose()

 

comments

Enables the close action of the ModalDialog.


ModalDialog.isCloseDisabled()

 

returns

true if close action is disabled, false otherwise.


ModalDialog.show(strHTML)

 

parameters

strHTML - The HTML to show in the elmContentLayer.

 

comments

Shows the ModalDialog.


ModalDialog.hide()

 

comments

Hides the ModalDialog.


See Also

 

None given


Usage Examples

 

Comments (0)

You don't have permission to comment on this page.