Modal dialog options
<p>I am opening a window as a modal.
    window.showModalDialog("http://www.google.com","","dialogWidth:500px;dialogHeight:500px") </p>

<p>as I set height, what are other options available?
Like option buttons, menus etc. where I can find tutorials?</p>

<p><strong>EDIT</strong></p>

<p><em>It works in Mozilla firefox, but people are saying it doesn't!</em></p>

<p>My code is</p>

<p>Please somebody Edit my sample code for display purpose</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script&gt;
    function abc() {
        window.showModalDialog("3.htm", "", "dialogWidth:500px;dialogHeight:500px");
    }
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;input type="button" id="check" name="check" onclick="abc()" value="open"/&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p><strong>Second EDIT</strong></p>

<p>code for page 3.htm</p>

<pre><code>     &lt;html&gt;
&lt;head&gt;
&lt;script&gt;
function abc(){
close()
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;input type="button" id="check" name="check" onclick="abc()" value="close"/&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Check out both code on fire fox! and tell me.</p>

<p><strong>Third EDIT</strong></p>

<p>Ok It's not working in corme and opera</p>
