Javascript browser shake on Firefox -
is possible use javascript shake firefox browser?
find script works on safari script doesn't seem work on firefox. http://www.jhuskisson.com/javascript/earthquake-effect-shake-the-browser
thanks,
tee
because use noscript, code not execute unless allowed on browser. warned, if shake browser window, blacklist site , send flying monkeys devour soul.
here implementation works...use caution:
<html> <head> <script language="javascript"> function shakescreen(n) { if (parent.moveby) { (i = 10; > 0; i--) { (j = n; j > 0; j--) { parent.moveby(0, i); parent.moveby(i, 0); parent.moveby(0, -i); parent.moveby(-i, 0); } } } } </script> </head> <body> <form> <input type="button" onclick="shakescreen(4)" value="shake browser window"> </form> </body> </html>
Comments
Post a Comment