Popup Blocker Test - P_BODY_ONLOAD
- Popup Windows Triggered by Page Loading Events - Developed by FYIcenter.com
Popup Behavior: A single popup window shows up when a page is loaded into the browser.
Source Code Note: JavaScript codes implemented on the onload event of the BODY tag.
Click here to start P_BODY_ONLOAD test...
HTML and JavaScript Codes Used by This Test
<body onload="pBodyOnloadTest();">
...
/*
* Popup Blocker Test - P_BODY_ONLOAD
* - Popup Windows Triggered by Page Loading Events
*
* A popup window shows up when a page is loaded into the
* browser. JavaScript codes implemented on the onload
* event of the BODY tag.
*
* Version of 2007.01.01
* Download at http://sqa.fyicenter.com/tools/
* Copyright (C) 2007 FYIcenter.com. All rights reserved.
*/
function pBodyOnloadTest() {
fyicenterWin = window.open('', 'Popup', 'toolbar=no,scrollba...
fyicenterWin.document.write('<html><body bgcolor="#eeeeff">'...
fyicenterWin.document.write('<p><b>P_BODY_ONLOAD Test</b>');...
fyicenterWin.document.write(' - Popup Window Triggered by Pa...
fyicenterWin.document.write(' - Developed by FYIcenter.com</...
fyicenterWin.document.write('<p><img src="popup_test_fyicent...
fyicenterWin.document.write('If you see this popup window, y...
fyicenterWin.document.write('</body></html>');
fyicenterWin.document.close();
}
</script>
|