August 14, 2001 - Creating A Modal Dialog Box
August 14, 2001 Creating A Modal Dialog Box Tips: August 2001
Yehuda Shiran, Ph.D.
|
You create a modal dialog box with showModalDialog()
. To show 010814.html
in a modal dialog box, you would go:
window.showModalDialog("010814.html");
Click the following button to create a modal dialog box: This button is defined as follows:
<INPUT TYPE="button" VALUE="Push To Create" onclick="fnOpenModal()">
The function fnOpenModal()
is defined as:
function fnOpenModal(){
window.showModalDialog("010814.html")
}