I found this one recently:
The javascript (put it in the head in the nesting html-doc):
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
<!-- Please leave credits -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!!
http://javascript.internet.com -->
<!-- Modified by Flash kit
http://www.flashkit.com -->
<!-- and modified a bit more by Lars Bregendahl Bro -
http://www.westend.dk -->
function shakeBrowser_xy(n) {
if (self.moveBy) {
for (i = 8; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
}
function shakeBrowser_x(n) {
if (self.moveBy) {
for (i = 8; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(i,0);
self.moveBy(-i,0);
}
}
}
}
function shakeBrowser_y(n) {
if (self.moveBy) {
for (i = 8; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(0,i);
self.moveBy(0,-i);
}
}
}
}
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
//-->
</SCRIPT>
And the actionscript:
ActionScript Code:
getURL ("javascript:shakeBrowser_xy(1)");
Please note that the word "Javascript" is in one word, but the forum keeps breaking it up to two (odd?!)
That should work...