|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--DHTMLSuite.modalMessage
Purpose of class: Display a modal DHTML message on the page. All other page controls will be disabled until the message is closed(demo).
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0
Field Summary | |
Object |
cssClassOfMessageBox
|
Object |
height
|
Object |
htmlOfModalMessage
|
Object |
isModal
|
Object |
layoutCss
|
Object |
objectIndex
|
Object |
shadowDivVisible
|
Object |
shadowOffset
|
Object |
url
|
Object |
width
|
Constructor Summary | |
DHTMLSuite.modalMessage
(props)
|
Method Summary | |
void
|
close()
Close the modal dialog box |
void
|
display()
Display the modal dialog box |
void
|
setCache(cacheStatus)
Enable or disable cache for the ajax object |
void
|
setCssClassMessageBox(newCssClass)
Assign the message box to a new css class.(in case you wants a different appearance on one of them) |
void
|
setDomReference(domRef)
Specify reference to DOM element which will be displayed inside the modal message box. |
void
|
setHtmlContent(newHtmlContent)
Setting static HTML content for the modal dialog box. |
void
|
setIsModal(isModal)
Specify if the box should be modal, i.e. |
void
|
setShadowDivVisible(visible)
Display the modal dialog box |
void
|
setShadowOffset(newShadowOffset)
Specify the size of shadow |
void
|
setSize(width,height)
Set the size of the modal dialog box |
void
|
setSource(urlOfSource)
Set source of the modal dialog box |
void
|
setWaitImage(newImage)
Set a wait Image when Ajax is busy inserting content |
void
|
setWaitMessage(newMessage)
Set a wait message when Ajax is busy inserting content |
Field Detail |
Object cssClassOfMessageBox
Object height
Object htmlOfModalMessage
Object isModal
Object layoutCss
Object objectIndex
Object shadowDivVisible
Object shadowOffset
Object url
Object width
Constructor Detail |
DHTMLSuite.modalMessage(props)
Array
- - Associative array of properties. These properties can also be set by calling invidiual set-methods. Possible keys in this array:Method Detail |
void close()
void display()
void setCache(cacheStatus)
Boolean
- cacheStatus = false = off, true = on
void setCssClassMessageBox(newCssClass)
String
- newCssClass = Name of new css class (Pass false if you want to change back to default)
void setDomReference(domRef)
Object
- domRef = Dom reference
void setHtmlContent(newHtmlContent)
String
- newHtmlContent = Static HTML content of box
void setIsModal(isModal)
void setShadowDivVisible(visible)
void setShadowOffset(newShadowOffset)
Int
- newShadowOffset = Offset of shadow div(in pixels from message box - x and y)
void setSize(width,height)
int
- width = width of box
int
- height = height of box
void setSource(urlOfSource)
void setWaitImage(newImage)
String
- newImage = New wait Image
void setWaitMessage(newMessage)
String
- newMessage = New wait message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |