I have a javascript that causes the browser window to shake if someone clicks a button on the site to activate a function called shake().
This seems to work fine in Internet Explorer but it also causes the browser window to resize in Firefox.
you can also play with the numbers 10 and 1 in the script, you can change them to say 20 and 5 to get slightly different effects, but going to something like 50 or 100 could produce some scarey effects, don't know if i would trust such effects on my computer, javascript can get out of hand on a computer if mathmatics are not done right.