Make that window go away! |
|
|
Trucos y Jaladas del ... |
||
Tricks with scripts. |
Script for:
Click on a link and make the webpage to go away.
Precione sobre el enlace y haga que la pagina se comience a ir
poco a poco.
| Html example (Script in green) Ejemplo de html (Script en verde) |
Get the script | Notes | |
| <html> <head> <title></title> <meta ....> <script language="JavaScript"> function moveWin() { for (var i = 1; i < 1001; i++) window.moveBy(1, 1); window.moveBy(-1000, -1000); } </script> </head> <body> <a href="#" onclick="moveWin(); window.location. href='http://www.masterdiz.com';"> Abracadabra</a> </body> </html> |
This script has two parts: Copy and paste the first part between <head>and</head> (See html example) Este script consta de dos partes: This is the first Part. ---------------------- This is the second part, copy and paste between <body>and</body> Esta es la segunda parte, copie y empaste entre <body>Y</body>
|
In the second part of the script you have to do two changes only: Where the red letters are, replace it with the url you want, and where the pink letters are, replace it with the name of the link you want. (see html example) En la segunda parte del script solo tiene que hacer dos cambios:
|
Links
|
Light Speed Web Graphics. |
Copyright © 2003 MasterDiz.com "El mago mafufo" (All graphics and scripts are copyright by their own authors and we don't claim their copyright)