Software QA FYI - SQAFYI

Popup Blocker Test - P_SHOWMODALDIALOG

- Popup Windows in Forms of Modal Dialog Boxes - Developed by FYIcenter.com


Popup Behavior: A popup window shows up in the form of a modal dialog box, which remains focused on top of this browser window until it is closed. Before you closing this popup window, you can not access this browser window.

Source Code Note: JavaScript codes implemented to call the showModalDialog method.


Click your mouse here to start P_SHOWMODALDIALOG test...



If you don't see any popup windows, your popup blocker works on this popup test case.


HTML and JavaScript Codes Used by This Test

<a href="javascript:pShowModalDialog();">Click your ...
...
<script language="JavaScript">
/*
*  Popup Blocker Test - P_SHOWMODALDIALOG
*  - Popup Windows in Forms of Modal Dialog Boxes
*
*  A popup window shows up in the form of a modal dialog 
*  box. JavaScript codes implemented to call the
*  showModalDialog method.
* 
*  Version of 2007.01.01
*  Download at http://sqa.fyicenter.com/tools/
*  Copyright (C) 2007 FYIcenter.com. All rights reserved.
*/
function pShowModalDialog() {
   fyicenterVal = window.showModalDialog('popup_blocker_t...
      'dialogLeft:100px; dialogTop:100px; dialogWidth:480...
}
</script>


Popup Blocker Test - Popup Windows in Forms of Modal Dialog Boxes