JavaScript Reference/Javascript Methods/showModelessDialog
"showModelessDialog()" Example
<source lang="javascript">
<html> <body> <script language="JavaScript"> function openWindow() {
var myArguments = new Object(); myArguments.param1 = document.all.myColor.value; window.showModelessDialog("http://www.wbex.ru", myArguments, "");
} </script> <select id="myColor">
<option value="red">Red</option> <option value="green">Green</option> <option value="blue">Blue</option> <option value="yellow">Yellow</option>
</select> <button onclick="openWindow();">Open window</button> </body> </html>
</source>
"showModelessDialog()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |window | +----------------+--------------------------------------------------------------+
</source>
"showModelessDialog()" Syntax, Parameters and Note
<source lang="javascript">
Note: Opens a modeless dialog window.
Syntax:
window.showModelessDialog(param1, param2, param3) Parameters:
param1 Required; the URL of the document to display. param2 Optional; an object with added properties. The modeless window will receive this object using its dialogArguments property. param3 Optional; a semicolon-delimited list of one or more of the style attributes listed at http://msdn.microsoft.ru/workshop/author/dhtml/reference/methods/showmodaldialog.asp.. </source>