Advertisement
2_2002-2004 .JS files #126403

Browser window vibrator or Screen shaker

This code will shake or vibrate the browser window. To see an example of what this code can do! go to http://www.imagineer-web.com/MasterKey/vibrate.htm

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
<!-- The following script vibrate the screen upon loading page -->
<!-- To see an example of what this code can do! -->
<!-- http://www.imagineer-web.com/MasterKey/vibrate.htm -->
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
function vibrate(x)
 {
 if (parent.moveBy) {
 for (a = 10; a > 0; a--) {
  for (b = x; b > 0; b--) {
  parent.moveBy(0,-a);
  parent.moveBy(-a,0); 
  parent.moveBy(0,a);
  parent.moveBy(a,0);
  }
 }
 }
 }
// End of vibrate code --> 
</script>
Original Comments (3)
Recovered from Wayback Machine