PHP2Go Javascript Framework

Class ModalDialog

Object
   |
   +--Dialog
         |
         +--ModalDialog
Direct Known Subclasses:
ImageDialog

class ModalDialog
extends Dialog

Defined in widgets/dialog.js


Field Summary
 Number opacity
          Background opacity
 Object overlay
          Overlay element used as dialog background
 String overlayClass
          CSS class for the overlay element
 String overlayColor
          Overlay color
   
Fields inherited from class Dialog
id, el, contentEl, parent, container, left, top, zIndex, followScroll, contents, contentsClass, loadUri, loadMethod, loadParams, trigger, focusId, buttons, buttonsClass, hoverClose, onBeforeOpen, onOpen, onBeforeClose, onClose, visible, i
 
Constructor Summary
ModalDialog (<Object> opts)
            Extends base dialog by adding modal behavior: blocks the user from accessing areas outside the dialog and grays out the dialog background
 
Method Summary
 void hide()
           Hides the modal dialog
 void keyHandler(e)
           Event listener that helps to prevent user from tabbing outside the dialog area
 void place()
           Places the modal dialog according to the provided settings
 void setup()
           Performs initialization routines on the dialog
 void show()
           Shows the modal dialog
 void tabDelimBlurHandler()
           Event listener that helps to prevent user from tabbing outside the dialog area
 void tabDelimFocusHandler(e)
           Event listener that helps to prevent user from tabbing outside the dialog area
 
Methods inherited from class Dialog
setupContents, addButton, setButtonAction, setContents, open, close, resizeHandler, scrollHandler
 

Field Detail

opacity

Number opacity

overlay

Object overlay

overlayClass

String overlayClass

overlayColor

String overlayColor

Constructor Detail

ModalDialog

ModalDialog(<Object> opts)

Method Detail

hide

void hide()

keyHandler

void keyHandler(e)

place

void place()

setup

void setup()

show

void show()

tabDelimBlurHandler

void tabDelimBlurHandler()

tabDelimFocusHandler

void tabDelimFocusHandler(e)

PHP2Go Javascript Framework

Copyright © 2002-2006 by Marcos Pont
Documentation generated by JSDoc on Sun Oct 7 19:52:10 2007