jneaod Posted March 5, 2006 Share Posted March 5, 2006 jneaod@yahoo.comI wanted to know how i would make a javascript document that makes it create a new window everytime you move your mouse.I did this already:<html><head><script type="text/javascript">function Box(){alert("Some text here")}</script></head><body onmousemove="Box()"></body></html>All it does is it makes an alert box popup with what ever text you replace "some text here" with. everytime you click a button it comes back. The only way to get rid of it is to ctrl+alt+del or turn the conputer off. Link to comment Share on other sites More sharing options...
Webworldx Posted March 5, 2006 Share Posted March 5, 2006 Why would we help you create such an annoying script? Javascript was meant to aid users link with pages, not make them inaccessible. Link to comment Share on other sites More sharing options...
jneaod Posted March 5, 2006 Author Share Posted March 5, 2006 Sorry . I just wanted to see if i could do it. Link to comment Share on other sites More sharing options...
Webworldx Posted March 6, 2006 Share Posted March 6, 2006 Well, it's certainly possible - but it's probably better spending your time learning more useful Javascript things Have a read through the W3Schools JS tutorials Link to comment Share on other sites More sharing options...
jneaod Posted March 7, 2006 Author Share Posted March 7, 2006 I already have but i keep getting distracted so i got a book on javascript so i could have a reference. Link to comment Share on other sites More sharing options...
scott100 Posted March 7, 2006 Share Posted March 7, 2006 instead of alert() try a window.open() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now