1
Shake and Expand Window Mon Nov 17, 2008 8:47 pm
danilodeleon
![danilodeleon](https://2img.net/u/3413/74/71/65/avatars/10-86.jpg)
Administrative Team
![Administrative Team Administrative Team](https://2img.net/h/www.fileden.com/files/2008/4/23/1880826/Admin9.png)
Description: Shake your browser window before expanding it to its full size. This trick is triggered upon page entry.
Tested With: IE7, Fx2
</LI>
Tested With: IE7, Fx2
Quote: ________________________ |
scrW=screen.availWidth scrH=screen.availHeight window.resizeTo(10,10) window.focus() if(window.moveBy){ window.moveTo(0,0) for(l=30;l>0;l--){ for(r=3;r>0;r--){ window.moveBy(0,l) window.moveBy(l,0) window.moveBy(0,-l) window.moveBy(-l,0) } } } for(x=0;x<80;x++){ window.resizeTo(scrW*x/80,scrH*x/80) } window.resizeTo(scrW,scrH) |
- _________________________________________
- Important Notes:
- No need to alter anything in the script. Just copy and paste in your js file.
</LI>