Create Modal Window

[Total: 0    Average: 0/5]

This shows how to create a modal window.

Body Code:

function doThis()
function createModal()
  var url_source=""; /* define if you want a page popped into it */
  var modal_dim="dialogWidth:500px; dialogHeight:500px; center:yes";
  var x = window.showModalDialog(url_source,"",modal_dim);
<a href="javascript:createModal()">create a modal window</a>

Times Viewed: 1

Leave a Reply

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