Software QA FYI - SQAFYI

Popup Blocker Test - P_WINDOW_ANIMATED

- Popup Windows Opened in Animated Fashions - Developed by FYIcenter.com


Popup Behavior: A popup window shows up slowly in an animated fashion.

Source Code Note: JavaScript codes used to resize the window continuously, developed by www.dynamicdrive.com.


Click your mouse here to start P_WINDOW_ANIMATED 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:pWindowAnimated();">Click your mouse ...
...
<script language="JavaScript">
var winheight=100
var winsize=100
var x=5
/*
Animated Window Opener Script (updated 00/04/24)-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions, 100's mo...
Use, visit dynamicdrive.com
*/
function pWindowAnimated() {
temploc='popup_blocker_test_popup_html_document.html';
   if (!(window.resizeTo&&document.all)&&!(window.resizeT...
      window.open('popup_blocker_test_popup_html_document...
      return
   }
   win2=window.open("","","scrollbars")
   win2.moveTo(0,0)
   win2.resizeTo(100,100)
   go2()
}
function go2(){
   if (winheight>=screen.availHeight-3)
   x=0
   win2.resizeBy(5,x)
   winheight+=5
   winsize+=5
   if (winsize>=screen.width-5){
      win2.location=temploc
      winheight=100
      winsize=100
      x=5
   return
   }
   setTimeout("go2()",50)
}
</script>


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