FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Moving Around Browser Windows with Javascript

 


lolnubcakes
Hello everyone! I saw a website where the browser window moved around on the screen whenever I went to the URL, and I was wondering if this was done with Javascript, and how it could be done. Any information? Thanks.
MrBlueSky
You can indeed move the browser window using Javascript (if the browser allows it). For example, with:

Code:

window.moveTo(100,100)
Fire Boar
I wouldn't recommend it though. People generally don't like their browser windows being moved about. I'm one of those people. It's got the down from me.
Ranfaroth
Secure browsers don't allow this kind of stupid scripts.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.