Posts by zasalamel correy • 41 points
2 posts
-
4
votes2
answers85
viewsQ: help here div and html functions
I have this code, when I pass the mouse over the div it moves, but I wanted it to happen when I hit the button: <head> <style> .square{width:100px ;height:100px ;background:red…
-
0
votes2
answers682
viewsQ: Automatically close browser after alert
How do I get the browser to automatically close after the alert? <html> <head> </head> <body> <div onmouseover="showText();" onmouseout="javascript:alert('my alert');"…