Div layer alternative to modal popup window for confirm or alert. 
Click on the 'Would you like to go to W3C?' button and a div layer will appear with any content that can be put in an html page. All input tags and the textarea will be disabled while the layer is visible. Clicking on the 'CANCEL' button on the layer will restore the page and close the layer. Clicking on the 'OK' button will close the layer and reload another page in the window (use browser back button or upper drop menu to return). This simulates a javascript confirm.
The layer will load much faster than an alert, a confirm or a window since the layer is preloaded when the page is loaded.



Works totally in IE 5 + and NS 5 +. In NS 4.x underlying form elements show through the layer although they are inaccessible except for text areas and text fields (known bug).

           


>