Sorprendé a tus visitantes con este asombroso
truco. Al pasar el mouse sobre el link, aparece
la explicación de ese link en un cuadro con la
cantidad de palabras que queramos poner.
Solo tenés que reemplazar mis direcciones por
las tuyas, y el texto deseado por el tuyo.
<p> <script language="JavaScript"><!-- function escribe(frase){document.desplaza.cuadro.value=frase; } // --></script> </p> <table border="0"> <tr> <td width="200"><p align="center"><strong>Opciones.</strong></p> <p><a href="http://www.CheNico.com" _fcksavedurl="http://www.CheNico.com" _fcksavedurl="http://www.CheNico.com" onmouseover="escribe(' Página principaln ----------------nn Cuando hagas Click en este enlace irás directamente a la página de inicio de mi web');">Página principal</a><br> <a href="http://usuarios.lycos.es/pauluk/trucosprin.htm" _fcksavedurl="http://usuarios.lycos.es/pauluk/trucosprin.htm" _fcksavedurl="http://usuarios.lycos.es/pauluk/trucosprin.htm" onmouseover="escribe(' Trucos PCn -----------nn Este enlace te llevará a la página de Trucos PC en la que podés encontrar muchos más trucos interesantes para realizar e incluir en tus páginas web');">Trucos PC</a><br> <a href="http://usuarios.lycos.es/pauluk/GLOSARIO.HTM" _fcksavedurl="http://usuarios.lycos.es/pauluk/GLOSARIO.HTM" _fcksavedurl="http://usuarios.lycos.es/pauluk/GLOSARIO.HTM" onmouseover="escribe(' Glosarion -------------- nn Diccionario de Términos Informáticos. Enterate el significado de esas palabras de computación que decís todos los días pero que no sabés exactamente qué significa.');">Glosario</a><br> </p> </td> <td><form name="desplaza"> <p><textarea name="cuadro" rows="8" cols="30" wrap="physical">
CODIGO HTML EFECTO NIEVE:
Podés cambiar la imagen reemplazando por
una tuya donde este alojada.
<script> var no = 5; // snow number var speed = 15; // smaller number moves the snow faster var snowflake = "snow.gif"; var ns4up = (document.layers) ? 1 : 0; // browser sniffer var ie4up = (document.all) ? 1 : 0; var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 400, doc_height = 500; if (ns4up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = 500; doc_height = 500; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width-50); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ns4up) { // set layers if (i == 0) { document.write("<layer name="dot"+ i +"" left="15" "); document.write("top="15" visibility="show"><img src=""); document.write(snowflake + "" border="0"></layer>"); } else { document.write("<layer name="dot"+ i +"" left="15" "); document.write("top="15" visibility="show"><img src=""); document.write(snowflake + "" border="0"></layer>"); } } else if (ie4up) { if (i == 0) { document.write("<div id="dot"+ i +"" style="POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;"><img src=""); document.write(snowflake + "" border="0"></div>"); } else { document.write("<div id="dot"+ i +"" style="POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;"><img src=""); document.write(snowflake + "" border="0"></div>"); } } } function snowNS() { // Netscape main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx[i] += stx[i]; document.layers["dot"+i].top = yp[i]; document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowNS()", speed); } function snowIE() { // IE main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx[i] += stx[i]; document.all["dot"+i].style.pixelTop = yp[i]; document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowIE()", speed); } if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } </script>
Subrayar un Link al pasar el mouse :
Con este código podemos lograr ese tan conocido efecto que
al pasar el mouse sobre un link, este se subraye.
Podemos hacer que tenga un color antes
de visitar el link, y que tenga otro una vez visitado.
<STYLE type="text/css"> <!-- A:link {COLOR: red; TEXT-DECORATION: none} A:visited {COLOR: gray; TEXT-DECORATION: none} A:active {TEXT-DECORATION: none} A:hover {COLOR: blue; TEXT-DECORATION: underline} --> </STYLE> </p> <p><a href="l1.htm" _fcksavedurl="l1.htm" _fcksavedurl="l1.htm">El texto que quieras.</a><br> <a href="l2.htm" _fcksavedurl="l2.htm" _fcksavedurl="l2.htm">otro texto.</a><br> <a href="l3.htm" _fcksavedurl="l3.htm" _fcksavedurl="l3.htm">Otro texto.</a><br> </p>
Dificultar copia de página:
Con este recurso sencillo podemos hacer más difícil el acceso al
código-fuente o la copia de imágenes de nuestro sitio.
Cuando el visitante haga click con el botón derecho
del mouse, surgirá un mensaje creado previamente por nosotros.
Recordemos que a algunas personas no les gusta este
tipo de bloqueo. Nosotros tenemos que decidir si queremos
incluirlo o no en nuestras páginas. Podemos colocarlo antes
de la etiqueta <html> o después de la etiqueta <body>.
<Script language=JavaScript> function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){ alert("Coloca el mensaje aquí."); return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("Coloca el mensaje aquí."); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; </script>
Pantalla que tiembla:
Al insertar este código, cada vez que entremos en la Web se
producirá una especie de terremoto en el explorador.
Un efecto interesante para atraer la atención de nuestros visitantes.
<html> <head> <title>www.seba37.es.tl</title> <FCK:meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" ></FCK:meta> </head> <body bgcolor="#FFFFFF" text="#000000"> <p> <script language="JavaScript1.2"> function tremer(n) { if (self.moveBy) { for (i = 10; i > 0; i--) { for (j = n; j > 0; j--) { self.moveBy(0,i); self.moveBy(i,0); self.moveBy(0,-i); self.moveBy(-i,0); }}}} tremer(5) </script> <Script language=JavaScript> function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){ alert("www.seba37.es.tl"); return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("www.seba37.es.tl"); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; </script> </body> </html>
Botón Colorido:
¿Cansado del botón siempre gris? Ahora con CSS podés
definir cualquier color para tus botones. Ellos combinarán
más con tu página y son muy fáciles de crear.Copia el
código que sigue y pegalo dentro de la etiqueta de
formulario de tu página:
<input type="submit" name="button" value="www.seba37.es.tl" style="color: #000000; background-color: #FF9900">
Subir Imagenes en tu web a PIXELEA:
Al insertar este codigo en tu web podras subir imagenes
directamente a PIXELEA.
<form enctype="multipart/form-data" method="post" action="http://pixelea.com/index.php" target="_blank"> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px" align="center"><input id="imagen" class="boton" size="35" type="file" name="imagen" /><br /> <input id="enviar" class="botondos" type="submit" name="enviar" value="Subir imagen" /> <input type="hidden" name="action" value="upload" /> </div> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px" align="center"> </div> </form>
Subir imagenes a ImagesHack desde tu web:
Al insertar este codigo en tu web podras subir imagenes
directamente a IMAGESHACK.
<h3> </h3> <form enctype="multipart/form-data" method="post" action="http://load.imageshack.us/" target="_blank"> <font color="#0000ff" size="4"><em><strong><a target="_self" href="http://www.seba37.es.tl" _fcksavedurl="http://www.seba37.es.tl" _fcksavedurl="http://www.seba37.es.tl">Subir Imágen</a></strong></em></font><font color="#0000ff"> </font><br /> <br /> <input type="hidden" name="PHPSESSID" value="b0a04e9eab46a137d520bf98fef60d13" /> <table> <tbody> <tr> <td><img alt="" src="http://imageshack.us/img/imageshack.png" _fcksavedurl="http://imageshack.us/img/imageshack.png" _fcksavedurl="http://imageshack.us/img/imageshack.png" /></td> <td> </td> </tr> </tbody> </table> <br /> <input type="hidden" name="MAX_FILE_SIZE" value="1048576" /> <input type="hidden" name="aff" /> <input type="hidden" name="type" value="blank" /> <input type="hidden" name="where" value="iframe" /> <br /> <input size="3" type="file" name="fileupload" /><br /> <input type="submit" value="Subir imagen" /> </form> <tr> </tr> <td body=""> </td>
Buscador Google:
este codigo es para poner un buscador de google en tu web.
codigo pedido por los usuarios
<!-- Búsqueda Google --> <p> </p> <center> <form action="http://www.google.com/search" method="get"> <table bgcolor="#ffffff"> <tbody> <tr> <td><a href="www.google.es/" _fcksavedurl="www.google.es/" _fcksavedurl="www.google.es/"><img alt="Google" align="absMiddle" border="0" src="http://www.google.com/logos/Logo_40wht.gif" _fcksavedurl="http://www.google.com/logos/Logo_40wht.gif" _fcksavedurl="http://www.google.com/logos/Logo_40wht.gif" /></a> <input maxlength="255" size="31" name="q" /> <input type="hidden" name="hl" value="es" /> <input type="submit" name="btnG" value="Búsqueda Google" />
codigo para central web:
Con este codigo podras centrar tu web para tener
tu web mas acomodada.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http:/www.w3.org/1999/xhtml"> <div style="width:900px; position: relative; margin-left: auto; margin-right: auto;">
Quitar boton intro
Miren este es el codigo lo pegan al principio de la
Fuente HTML de la extra Intro o intro-Flash
<style type="text/css"> <!-- input { visibility: hidden; } //--> </style>
Ya han Ajustar disparos en su sitio:
los disparadores web son cuando tu tienes link en tu
pagina y cuando pones el mouse arriba de un link se
mostra una imagen rapida de como es la web.
si quieren que aparezca en todas las paginas de tu web
lo pones en texto por encima de la pagina y si quieres
que aparezca en una solo pagina lo pones el codigo
en la pagina que quieres que salga.
<script type="text/javascript" src="http://shots.snap.com/ss/36bec0f2827d1b8bb004ecad9846824a/snap_shots.js"></script>
Ocultar el titulo de tu web
hola les dejo este code para que el titulo de tu web
no destruya tu cabezal con el texto lo que tienes
que hacer es pegar este code en texto
por encima de la pagina.
<style type="text/css"> <!-- td.headline,.headline2,.headline3 {visibility:hidden;} --> </style>
/
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es . ¿Quieres también tu sitio web propio?
Registrarse gratis