Modal Dialog Window

[Total: 0    Average: 0/5]

This shows how to use the modal dialog window method.

Body Code:

<script>
function doIt() {
var x = window.showModalDialog("http://www.js-examples.com/","","dialogWidth:300px; dialogHeight:200px; center:yes");
}
</script>
<a href="javascript:doIt()">Click to open up the modal dialog window.</a>

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *