SlideShare una empresa de Scribd logo
1 de 88
Trucos html para paginas web (parte 1)<br />Anuncios Google<br />  Plant. de encuest. grat.www.SurveyMonkey.com - Obtenga ayuda con diseños,obtención de respuestas y análisis ¡Únase ya!<br />Hola a todos los users de Taringa que estan online bueno hoy les traigo un post de codigos html son todos exactamente y al mero ultimo les voy a dejar la fuente para que entren y los chequen bien bueno aqui estan los trucos html: <br />Redireccionar a una pagina<br />Si tenés una dirección larga, y los servidores que te dan direcciones cortas no tienen buena capacidad de almacenamiento o de taza de transferencia de datos, con este código podés hacer que al escribir una dirección se abra otra, solo tenés que insertar este código en el index.html del dominio corto poniendo tu dirección actual donde está en verde: <HTML> <HEAD> <TITLE>Redireccionado por www.CheNico.com</TITLE> <SCRIPT LANGUAGE=quot;
JavaScriptquot;
> location.href='http://www.CheNico.com'; </SCRIPT> </HEAD> <BODY> <br />Abrir una web en Pop Up<br />Con este código vamos a hacer que al entrar en nuestra página automáticamente se abra otra, ej. otra Web nuestra, una sección que queremos mostrar, una publicidad, etc. <script language='JavaScript'>window.open('http://www.chenico.com', 'geoflotante', '');</script> <br />NO permitir seleccionar el texto de nuestra web<br />Con este código vamos a impedir que los visitantes seleccionen el texto de nuestra página para luego copiarlo a otro lado. <script language=quot;
Javascriptquot;
> <!-- Begin function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function (quot;
return falsequot;
 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } // End --> </script> <br />Horas restantes para finalizar el dia<br />Con este código insertamos un pequeño relojito que indica la cuenta regresiva de las horas, minutos y segundos que faltan para finalizar el día. <body> <p>El reloj...</p> <form name=quot;
Relojquot;
> <input type=quot;
textquot;
 size=quot;
7quot;
 name=quot;
tiempoquot;
 value=quot;
mm:hh:ssquot;
 title=quot;
Tiempo restante para finalizar el díaquot;
> <script language=quot;
JavaScriptquot;
> <!-- var tiempoAtras; updateReloj(); function updateReloj() { var tiempo = new Date(); var hora = 23-tiempo.getHours(); var minutos = 59-tiempo.getMinutes(); var segundos = 59-tiempo.getSeconds(); tiempoAtras= (hora < 10) ? hora :hora; tiempoAtras+= ((minutos < 10) ? quot;
:0quot;
 : quot;
:quot;
 + minutos; tiempoAtras+= ((segundos < 10) ? quot;
:0quot;
 : quot;
:quot;
 + segundos; document.Reloj.tiempo.value = tiempoAtras; setTimeout(quot;
updateReloj()quot;
,1000); } //--> </script> </form> </body> <br />Recomendar pagina<br />Con este código podemos hacer que si a un visitante le gustó nuestra Web, la recomiende a un amigo escribiendo su dirección de correo electrónico en la casilla, al hacer click en quot;
Recomendar esta Webquot;
 se envía un mensaje de correo con el asunto quot;
Pienso que te puede interesar esta página...quot;
 y en el cuerpo del mensaje aparece la dirección completa donde se encuentra el código y el título de la misma. <form name=quot;
eMailerquot;
> ENVÍA ESTA PÁGINA A UN AMIGO <br> Indica su e-mail: <br> <input type=quot;
textquot;
 name=quot;
addressquot;
 size=quot;
25quot;
> <br> <input type=quot;
buttonquot;
 value=quot;
Recomendá esta Web!quot;
 onClick=quot;
mailThisUrl();quot;
> </form> <script language=quot;
JavaScript1.2quot;
> var good; function checkEmailAddress(field) { // the following expression must be all on one line... var goodEmail = field.value.match(/b(^(S+@).+((.com)|(.net)| (.edu)|(.mil)|(.gov)|(.org)|(..{2,2}))$)b/gi); if (goodEmail){ good = true } else { alert('Por favor introduce un e-mail valido') field.focus() field.select() good = false } } u = window.location; m = quot;
Pienso que te puede interesar esta página...quot;
; function mailThisUrl(){ good = false checkEmailAddress(document.eMailer.address) if (good){ // the following expression must be all on one line... window.location = quot;
mailto:quot;
+document.eMailer.address.value+quot;
?subject=quot;
+m+quot;
&body=quot;
+document.title+quot;
 quot;
+u; } } </script> <br />Crear un formulario o un Libro de visitas<br />Con este código podemos crear un formulario para que complete el visitante. O también un libro de visitas, luego que el visitante apriete el botón quot;
enviarquot;
, los datos serán enviados a tu casilla de correo. <H2>Libro de visitas de www.CheNico.com</H2> <FORM ACTION=quot;
mailto:tunombre@tuservidor.comquot;
 METHOD=quot;
postquot;
> <TABLE> <TD ALIGN=RIGHT>Nombre:</TD> <TD><INPUT type=quot;
textquot;
 size=36 name=quot;
nombrequot;
></TD> <TR><TD ALIGN=RIGHT>Direccion E-mail:</TD> <TD><INPUT type=quot;
textquot;
 size=36 name=quot;
direccionquot;
></TD> <TR><TD ALIGN=RIGHT>como llegaste hasta esta pagina?</TD> <TD><INPUT type=quot;
textquot;
 size=36 name=quot;
procedenciaquot;
></TD> <TR><TD ALIGN=RIGHT>Tus comentatios:</TD> <TD><TEXTAREA rows=5 cols=30 name=quot;
comentariosquot;
></TEXTAREA></TD> </TABLE> <INPUT type=quot;
resetquot;
 value=quot;
Borrar todoquot;
> <INPUT type=quot;
submitquot;
 value=quot;
Enviarquot;
> </FORM> <br />Crear un titulo que cambia de Colores<br />Este codigo esta muy largo pero de todas formas lo dejo para que lo chequen y tambien les voy a dejar el link para que vean como tiene que quedar Este es el código: <!-- inicio de head--> <script> mesk=new Array();mesk[10]=quot;
Aquot;
;mesk[11]=quot;
Bquot;
;mesk[12]=quot;
Cquot;
;mesk[13]=quot;
Dquot;
;mesk[14]=quot;
Equot;
;mesk[15]=quot;
Fquot;
;A=10;B=11;C=12;D=13;E=14;F=15;let=quot;
ABCDEFquot;
;functionmes(num){if(let.indexOf(num) != -1){return eval(num)};else{if(num < 10){return eval(num)};else{return mesk[num]}}}; function color(begin,einde,stappen,stap){ hh1=(mes(begin.charAt(0))*16)+mes(begin.charAt(1)); hh2=(mes(begin.charAt(2))*16)+mes(begin.charAt(3)); hh3=(mes(begin.charAt(4))*16)+mes(begin.charAt(5)); pp1=(mes(einde.charAt(0))*16)+mes(einde.charAt(1)); pp2=(mes(einde.charAt(2))*16)+mes(einde.charAt(3)); pp3=(mes(einde.charAt(4))*16)+mes(einde.charAt(5)); if(hh1 < pp1){ff1=hh1+Math.floor((pp1-hh1)/stappen*stap); ff1=eval(quot;
'quot;
+mes(Math.floor(ff1/16))+quot;
'quot;
+eval(quot;
'quot;
+mes(ff1-(Math.floor(ff1/16)*16))+quot;
'quot;
;} ;else{ff1=hh1-Math.floor((hh1-pp1)/stappen*stap); ff1=eval(quot;
'quot;
+mes(Math.floor(ff1/16))+quot;
'quot;
+eval(quot;
'quot;
+mes(ff1-(Math.floor(ff1/16)*16))+quot;
'quot;
;} if(hh2 < pp2){ff2=hh2+Math.floor((pp2-hh2)/stappen*stap); ff2=eval(quot;
'quot;
+mes(Math.floor(ff2/16))+quot;
'quot;
+eval(quot;
'quot;
+mes(ff2-(Math.floor(ff2/16)*16))+quot;
'quot;
;} ;else{ff2=hh2-Math.floor((hh2-pp2)/stappen*stap); ff2=eval(quot;
'quot;
+mes(Math.floor(ff2/16))+quot;
'quot;
+eval(quot;
'quot;
+mes(ff2-(Math.floor(ff2/16)*16))+quot;
'quot;
;} if(hh3 < pp3){ff3=hh3+Math.floor((pp3-hh3)/stappen*stap); ff3=eval(quot;
'quot;
+mes(Math.floor(ff3/16))+quot;
'quot;
+eval(quot;
'quot;
+mes(ff3-(Math.floor(ff3/16)*16))+quot;
'quot;
;} ;else{ff3=hh3-Math.floor((hh3-pp3)/stappen*stap); ff3=eval(quot;
'quot;
+mes(Math.floor(ff3/16))+quot;
'quot;
+eval(quot;
'quot;
+mes(ff3-(Math.floor(ff3/16)*16))+quot;
'quot;
;} ;return ff1+ff2+ff3} bum=0;bum2=0;txt=new Array();txt[0]=quot;
quot;
;function lightf(){ for(i=0;i != Math.floor(message.length/2);i++){txt=color(lightcolor1,lightcolor2,Math.floor(message.length/2),i)}; for(i=Math.floor(message.length/2);i != message.length;i++){txt=color(lightcolor2,lightcolor1,Math.floor(message.length/2),(i-Math.floor(message.length/2)))}; lightf1()} function lightf1(){txt[message.length+1]=quot;
quot;
;bum2=message.length-bum;for(i=0;i != message.length;i++){if(i+bum < message.length){txt[message.length+1]=txt[message.length+1]+quot;
<font color='#quot;
+txt[(i+bum)]+quot;
'>quot;
+message.charAt(i)+quot;
</font>quot;
};else{txt[message.length+1]=txt[message.length+1]+quot;
<font color='#quot;
+txt[i-bum2]+quot;
'>quot;
+message.charAt(i)+quot;
</font>quot;
 }};if(bum != message.length){bum++;};else{bum=0};light.innerHTML=txt[message.length+1];setTimeout(quot;
lightf1()quot;
,50)} </script> </head> <body bgcolor=quot;
#FFFFFFquot;
 background=quot;
globulos.jpgquot;
> <!--inicio del body --> <center><h1><div id=quot;
lightquot;
></div></h1> <script> lightcolor1=quot;
FF0000quot;
 // color lightcolor2=quot;
33CC66quot;
 // color message=quot;
Título que cambia de coloresquot;
 // introduce el texto lightf() </script> </center> <!--fin del body --> Este es el link de la pagina para que vean como queda http://www.trucos-pc.8k.com/trucospchcolores.htm <br />Cuadro explicativo de enlaces<br />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=quot;
JavaScriptquot;
><!-- function escribe(frase){document.desplaza.cuadro.value=frase; } // --></script> </p> <table border=quot;
0quot;
> <tr> <td width=quot;
200quot;
><p align=quot;
centerquot;
><strong>Opciones.</strong></p> <p><a href=quot;
http://www.CheNico.comquot;
 onmouseover=quot;
escribe(' Página principaln ----------------nn Cuando hagas Click en este enlace irás directamente a la página de inicio de mi web');quot;
>Página principal</a><br> <a href=quot;
http://***/pauluk/trucosprin.htmquot;
 onmouseover=quot;
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');quot;
>Trucos PC</a><br> <a href=quot;
http://***/pauluk/GLOSARIO.HTMquot;
 onmouseover=quot;
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.');quot;
>Glosario</a><br> </p> </td> <td><form name=quot;
desplazaquot;
> <p><textarea name=quot;
cuadroquot;
 rows=quot;
8quot;
 cols=quot;
30quot;
 wrap=quot;
physicalquot;
></textarea></p> </form> </td> </tr> </table> <br />Insertar un sonido o música de fondo<br />Si quieren que los visitantes escuchen una canción mientras visitan la Web, o simplemente recibirlos con una melodía estilo presentación, este es el código que estabas buscando. Solo tenés que guardar el sonido en el directorio raíz de tu servidor e insertar el siguiente código html: <BGSOUND SRC=quot;
sonido.midquot;
 LOOP=none> <WIDTH=200 HEIGHT=55 AUTOSTART=quot;
truequot;
 LOOP=quot;
falsequot;
 HIDDEN=quot;
truequot;
> Se recomienda usar sonidos en formato quot;
midiquot;
 que son los de menor peso. <br />Crear un link para dowland<br />Si queremos poner archivos para que los visitantes los puedan descargar a sus computadoras, solo debemos subir ese archivo a nuestro servidor e insertar en nuestra Web el siguiente código HTML: <a href=quot;
ejemplo.exequot;
>Descripción del enlace </a> No existe un comando que inicie la descarga. Lo que sucede es que, siempre que aparece un tipo de archivo no reconocido por el navegador, este comienza a descargarlo automáticamente. Ejemplo: Si el navegador no logra abrir un archivo quot;
zipquot;
 (compactado), inicia la descarga automáticamente. <br />Efecto nieve en cualquier imagen<br />Podés cambiar la imagen reemplazando por una tuya alojada en el servidor poniendo su nombre donde está en rojo. <script> var no = 5; // snow number var speed = 15; // smaller number moves the snow faster var snowflake = quot;
snow.gifquot;
; 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 = 0; // set coordinate variables xp = Math.random()*(doc_width-50); // set position variables yp = Math.random()*doc_height; am = Math.random()*20; // set amplitude variables stx = 0.02 + Math.random()/10; // set step variables sty = 0.7 + Math.random(); // set step variables if (ns4up) { // set layers if (i == 0) { document.write(quot;
<layer name=quot;
dotquot;
+ i +quot;
quot;
 left=quot;
15quot;
 quot;
; document.write(quot;
top=quot;
15quot;
 visibility=quot;
showquot;
><img src=quot;
quot;
; document.write(snowflake + quot;
quot;
 border=quot;
0quot;
></layer>quot;
; } else { document.write(quot;
<layer name=quot;
dotquot;
+ i +quot;
quot;
 left=quot;
15quot;
 quot;
; document.write(quot;
top=quot;
15quot;
 visibility=quot;
showquot;
><img src=quot;
quot;
; document.write(snowflake + quot;
quot;
 border=quot;
0quot;
></layer>quot;
; } } else if (ie4up) { if (i == 0) { document.write(quot;
<div id=quot;
dotquot;
+ i +quot;
quot;
 style=quot;
POSITION: quot;
; document.write(quot;
absolute; Z-INDEX: quot;
+ i +quot;
; VISIBILITY: quot;
; document.write(quot;
visible; TOP: 15px; LEFT: 15px;quot;
><img src=quot;
quot;
; document.write(snowflake + quot;
quot;
 border=quot;
0quot;
></div>quot;
; } else { document.write(quot;
<div id=quot;
dotquot;
+ i +quot;
quot;
 style=quot;
POSITION: quot;
; document.write(quot;
absolute; Z-INDEX: quot;
+ i +quot;
; VISIBILITY: quot;
; document.write(quot;
visible; TOP: 15px; LEFT: 15px;quot;
><img src=quot;
quot;
; document.write(snowflake + quot;
quot;
 border=quot;
0quot;
></div>quot;
; } } } function snowNS() { // Netscape main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp += sty; if (yp > doc_height-50) { xp = Math.random()*(doc_width-am-30); yp = 0; stx = 0.02 + Math.random()/10; sty = 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx += stx; document.layers[quot;
dotquot;
+i].top = yp; document.layers[quot;
dotquot;
+i].left = xp + am*Math.sin(dx); } setTimeout(quot;
snowNS()quot;
, speed); } function snowIE() { // IE main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp += sty; if (yp > doc_height-50) { xp = Math.random()*(doc_width-am-30); yp = 0; stx = 0.02 + Math.random()/10; sty = 0.7 + Math.random(); doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx += stx; document.all[quot;
dotquot;
+i].style.pixelTop = yp; document.all[quot;
dotquot;
+i].style.pixelLeft = xp + am*Math.sin(dx); } setTimeout(quot;
snowIE()quot;
, speed); } if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } </script> Link para que vean como queda: http://www.trucos-pc.8k.com/trucospcnieve.htm <br />Subrayar link al pasar el mouse<br />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=quot;
text/cssquot;
> <!-- 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=quot;
l1.htmquot;
>El texto que quieras.</a><br> <a href=quot;
l2.htmquot;
>otro texto.</a><br> <a href=quot;
l3.htmquot;
>Otro texto.</a><br> </p> <br />Transformar el cursor en una mira<br />Transformá la clásica flechita de Windows en una mira de disparo. <style type=quot;
text/cssquot;
> <!-- body { cursor: crosshair} --> </style> <br />Tabla de colores html competa<br />Esta si esta dificil de poner en el post mejor les voy a poner el link para que se vallan directamente a ella: http://www.usuarios.sion.com/pauluk/coloreshtml.htm <br />Comentario sobre un link en la barra de estado<br />Al pasar el mouse sobre el link deseado, veremos en la barra de estado un comentario sobre éste. Por ejemplo posicionen el mouse sobre Pauluk Computación y vean en la barra de estado. (para verlo bien en ésta página pasen el mouse varias veces, ya que hay otro código parecido que lo obstruye). <a href=quot;
http://www.CheNico.comquot;
 onmouseout=quot;
window.status=''quot;
 onmouseover=quot;
window.status='Acá aparece el mensaje que quieras';return truequot;
> Pauluk Computación</a> <br />Dificultar copia de pagina<br />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(quot;
Coloca el mensaje aquí.quot;
; return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert(quot;
Coloca el mensaje aquí.quot;
; return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; </script> Nota: Para evitar este truco, también hay un contratruco, si entrás a una página que tiene este truco que no te deja copiar imágenes o texto, solo tenés que hacer click con el botón derecho del mouse sobre la barra de estado y sin soltarlo arrastrarlo hasta la imágen. Listo, se abrirá el menú como si la página no estuviese bloqueada a la copia. Hay que tener en cuenta que muy poca gente conoce este truco, por lo tanto podés usar tranquilo el truco de bloqueo. <br />Establecer como una pagina de inicio<br />Este código html te sirve para crear un link para que el visitante pueda hacer que tu página sea la de inicio de su computadora. Con solo hacer clic sobre el link creado, tu página se iniciará automáticamente cada vez que esa persona se conecte a Internet. <A class=chlnk style=quot;
FONT-WEIGHT: bold; CURSOR: hand; COLOR: #004080; FONT-FAMILY: Verdanaquot;
 onclick= quot;
this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.CheNico.com');quot;
> <FONT face=Arial color=#000000 size=-2><U> Establecer como página de inicio</U></FONT></A> <br />Enviar un e-mail con mensaje y asunto<br />Con este truco podés hacer que al hacer clic sobre una palabra, se abra el Outlook para enviar un mensaje con tu dirección, el asunto que quieras y el texto que quieras <a href=quot;
mailto:webmaster@pauluk.8k.com?subject=Prueba.&body=Estoy probando el truco...quot;
>Hacé clic acá para mandarme un mensaje</a> <br />Abrir enlace en una ventana nueva<br />Cuando tenemos Links en nuestras páginas y alguien hace clic sobre ellos, automáticamente se abre esa dirección en nuestra ventana. Con este truco podemos hacer que al hacer clic sobre un determinado Link, esta dirección se abra en una ventana nueva, quedando la nuestra también abierta: <a href=quot;
http://www.CheNico.comquot;
 target=quot;
_blankquot;
>Pauluk Computación</a><br />Crear un PopUp:<br />Abrir una pequeña ventana con una imagen. Podemos darle las medidas que queramos cambiando quot;
Widthquot;
 y quot;
Heightquot;
.<br /><a name=quot;
1quot;
></a><Aonclick=quot;
window.open('MiFoto.jpg','Estructuras','toolbar=no,location=no,scrollbars=yes,directories=no,status=no,menubar=no,resizable=no,width=400,height=475');quot;
 href=quot;
#1quot;
><b><font face=quot;
Verdanaquot;
 size=quot;
2quot;
>Ejemplo</font></b></a><br /> <br /> <br />Otra barra con mas colores:<br />A continuación veremos otro código para ponerle color a la barra de desplazamiento, en este caso vamos a poder personalizar los colores de la barra, del fondo y los bordes. Reemplazar los nombres de los colores por otros o por los código de letras y números. Mas abajo está la tabla de colores.<br /><style><!--body { scrollbar-face-color: darkgreen ;scrollbar-shadow-color: yellow;scrollbar-highlight-color: violet;scrollbar-3dlight-color: navy;scrollbar-darkshadow-color: magenta;scrollbar-track-color: blue;scrollbar-arrow-color: black }--></style><br />Observación: para ver este truco, es necesario tener instalada las últimas versiones de los navegadores. Preferentemente Internet Explorer 6.<br /> <br /> <br />Abrir un link de una imagen en una ventana nueva:<br />Con este código podemos insertar una imagen (ej. banner) y que al hacer click sobre ella se abra el link de destino en una ventana nueva. Primero ponemos la ruta del link de destino, y luego la ruta donde está alojada la imagen. Si está alojada en la raíz de nuestro servidor solo ponemos el nombre y listo.<br /><a href=quot;
http://www.CheNico.comquot;
 target=quot;
_blankquot;
><img src=quot;
imagen.gifquot;
 border=0></a><br /> <br /> <br />Hora y texto en la barra de estado:<br />Con este truco, podemos hacer que aparezca en la barra de estado la hora de la PC que entra a nuestra Web y poner el texto que queramos.<br /><script language=quot;
JavaScriptquot;
><!--mensaje=quot;
 |======| www.CheNico.com quot;
 function hora() { var h = new Date(); window.status=quot;
|======| quot;
+ h.getHours() +quot;
:quot;
+ h.getMinutes() +quot;
quot;
 +mensaje ; window.setTimeout('hora()',100); }hora()//--></script><br /> <br /> <br />Botón animado:<br />Aprendé a dar movimiento a tu página con botones animados por Java Script. Cada botón puede llevar a un enlace distinto. Sólo tienes que configurar los parámetros quot;
lineArrquot;
 y quot;
urlArrquot;
 del script, que permiten destacar cosas en tu página.<br /><font face=quot;
Arial, Helvetica, sans-serifquot;
 size=quot;
2quot;
><script language=quot;
JavaScriptquot;
>var timerID = nullvar timerRunning = falsevar charNo = 0var charMax = 0var lineNo = 0var lineMax = 3var lineArr = new Array(lineMax)var urlArr = new Array(lineMax)lineArr[1] = quot;
Pauluk Computaciónquot;
 urlArr[1] = quot;
http://www.CheNico.comquot;
lineArr[2] = quot;
Trucos PCquot;
 urlArr[2] = quot;
http://www.pauluk.8k.com/trucosprin.htmquot;
lineArr[3] = quot;
Noticias Tecnológicas y Actualidadquot;
 urlArr[3] = quot;
http://www.pauluk.8k.com/noticias.htmquot;
var lineText = lineArr[1]function StartShow() {StopShow()ShowLine()timerRunning = true}function FillSpaces() {for (var i = 1; i <= lineWidth; i++) {spaces += quot;
 quot;
}}function StopShow() {if (timerRunning) {clearTimeout(timerID)timerRunning = false}}function ShowLine() {if (charNo == 0) {if (lineNo < lineMax) {lineNo++}else {lineNo = 1}lineText = lineArr[lineNo]charMax = lineText.length}if (charNo <= charMax) {document.formDisplay.buttonFace.value = lineText.substring(0, charNo)charNo++timerID = setTimeout(quot;
ShowLine()quot;
, 100)}else {charNo = 0timerID = setTimeout(quot;
ShowLine()quot;
, 3000)}}function GotoUrl(url){top.location.href = url} document.write(quot;
<form name="
formDisplay"
>quot;
);document.write(quot;
<input type="
button"
 name="
buttonFace"
 value="
&{lineText}"
 size="
18"
 onClick="
GotoUrl(urlArr[lineNo])"
>quot;
);document.write(quot;
</form>quot;
);StartShow();</script></font><br /> <br /> <br />Letrero de mensajes:<br />Este es un efecto muy fácil de lograr y muy funcional para tu página. Podés definir cuántos textos y enlaces quieras. Ellos se destacarán y tu página quedará mucho más dinámica. Podés ver cómo personalizar este recurso al final de esta página. Es mejor que Java ya que es mucho más liviano y rápido de cargarse, y no necesita archivos adicionales.<br />Para incluir este recurso en tu página debes seguir dos pasos:<br />Paso 1: Incluye el siguiente código en tu etiqueta quot;
<BODY>quot;
, agrega un espacio después del último parámetro e incluye: <br />onload=quot;
if (document.all||document.layers) {regenerate2();update()}quot;
  <br />Observa un ejemplo sencillo de cómo quedaría la etiqueta: <br /><body onload=quot;
if (document.all||document.layers) {regenerate2();update()}quot;
><br /> <br />Paso 2: Pega en tu página HTML el siguiente código personalizando las partes indicadas:<br /> <br /><style><!-- #mensagem{position:relative;layer-background-color:black;width:400;height:12;}#submensagem{background-color:black;position:absolute;border: 1px solid black;width:400;height:12;}.submensagemfont{font:bold 12px Verdana;text-decoration:none;color:white;}.submensagemfont a{top:0;color:white;text-decoration:none;}--></style><div id=quot;
mensagemquot;
> <div id=quot;
submensagemquot;
 class=quot;
submensagemfontquot;
>Iniciando...</div></div><script language=quot;
JavaScript1.2quot;
>var speed=4500var textos=new Array()textos[0]=quot;
<center><a href='Enlace1 Aquí'>Descripción del enlace1 aquí</a></center>quot;
textos[1]=quot;
<center><a href='Enlace2 Aquí'>Descripción del enlace2 aquí</a></center>quot;
textos[2]=quot;
<center><a href='Enlace3 Aquí'>Descripción del enlace3 aquí</a></center>quot;
<br />i=0if (document.all)tickerobject=document.all.submensagem.styleelsetickerobject=document.mensagem.documentfunction regenerate(){window.location.reload()}function regenerate2(){if (document.layers)setTimeout(quot;
window.onresize=regeneratequot;
,450)}<br />function update(){BgFade(0xff,0xff,0xff, 0x00,0x00,0x00,10);if (document.layers){document.mensagem.document.submensagem.document.write('<span class=quot;
submensagemfontquot;
>'+textos[i]+'</span>')document.mensagem.document.submensagem.document.close()}else document.all.submensagem.innerHTML=textos[i]<br />if (i<textos.length-1)i++elsei=0setTimeout(quot;
update()quot;
,speed)}function BgFade(red1, grn1, blu1, red2,grn2, blu2, steps) {sred = red1; sgrn = grn1; sblu = blu1; ered = red2; egrn = grn2; eblu = blu2; inc = steps; step = 0; RunFader();}function RunFader() {var epct = step/inc; var spct = 1 - epct; if (document.layers)tickerobject.bgColor =Math.floor(sred * spct + ered *epct)*256*256 +Math.floor(sgrn * spct + egrn * epct)*256 +Math.floor(sblu * spct + eblu * epct); elsetickerobject.backgroundColor=Math.floor(sred * spct + ered *epct)*256*256 +Math.floor(sgrn * spct + egrn * epct)*256 +Math.floor(sblu * spct + eblu * epct); if ( step < inc ) {setTimeout('RunFader()',50); }step++;}</script><br /> <br /> <br />Pantalla que tiembla:<br />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.<br /><html><head><title>www.CheNico.com</title><meta http-equiv=quot;
Content-Typequot;
 content=quot;
text/html; charset=iso-8859-1quot;
></head><body bgcolor=quot;
#FFFFFFquot;
 text=quot;
#000000quot;
><p> <script language=quot;
JavaScript1.2quot;
>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(quot;
www.CheNico.comquot;
);return false;}else if (navigator.appName == 'Microsoft Internet Explorer' &&(event.button == 2 || event.button == 3)) {alert(quot;
www.CheNico.comquot;
);return false;}return true;}document.onmousedown=right;if (document.layers) window.captureEvents(Event.MOUSEDOWN);window.onmousedown=right;</script></body></html><br />Botón Colorido:<br />¿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.<br />Copia el código que sigue y pegalo dentro de la etiqueta de formulario de tu página:<br /> <br /><input type=quot;
submitquot;
 name=quot;
buttonquot;
 value=quot;
www.CheNico.comquot;
 style=quot;
color: #000000; background-color: #FF9900quot;
><br /> <br /> <br />Texto que sigue al mouse:<br /> <br />Hacé que un texto cualquiera siga al mouse del visitante en tu página. Es un efecto fabuloso y fácil de incluir en las páginas<br />Incluye el siguiente código en tu página HTML:<br /> <br /><style>.animado {position:absolute;visibility:visible;top:-50px;font-size:10pt;font-family:Arial;font-weight:bold;color:black;}</style><script language=JavaScript>var x,yvar tempo=10var espera=0<br />var texto=quot;
www.CheNico.comquot;
texto=texto.split(quot;
quot;
)<br />var xpos=new Array()for (i=0;i<=texto.length-1;i++) {xpos[i]=-50}<br />var ypos=new Array()for (i=0;i<=texto.length-1;i++) {ypos[i]=-50}<br />function seguir(e){x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientXy = (document.layers) ? e.pageY : document.body.scrollTop+event.clientYespera=1}<br />function animar_cursor() {if (espera==1 && document.all) {for (i=texto.length-1; i>=1; i--) {xpos[i]=xpos[i-1]+tempoypos[i]=ypos[i-1]}xpos[0]=x+tempoypos[0]=y<br />for (i=0; i<texto.length-1; i++) {var camada = eval(quot;
spanquot;
+(i)+quot;
.stylequot;
)camada.posLeft=xpos[i]camada.posTop=ypos[i]}}<br />else if (espera==1 && document.layers) {for (i=texto.length-1; i>=1; i--) {xpos[i]=xpos[i-1]+tempoypos[i]=ypos[i-1]}xpos[0]=x+tempoypos[0]=y<br />for (i=0; i<texto.length-1; i++) {var camada = eval(quot;
document.spanquot;
+i)camada.left=xpos[i]camada.top=ypos[i]}}var timer=setTimeout(quot;
animar_cursor()quot;
,30)}<br /></script><script Language=JavaScript>for (i=0;i<=texto.length-1;i++) {document.write(quot;
<span id='spanquot;
+i+quot;
' class='animado'>quot;
)document.write(texto[i])document.write(quot;
</span>quot;
)}<br />if (document.layers){document.captureEvents(Event.MOUSEMOVE);}document.onmousemove = seguir;animar_cursor()</script><br /> <br /> <br />Imagen volando por la pantalla:<br />Este efecto hace que cualquier imagen que elijas quede quot;
paseandoquot;
 por la pantalla, siendo un recurso excelente tanto para llamar la atención por alguna novedad en tu sitio como para darle más movimiento a la página.<br />Copiá y pegá el siguiente código en tu página HTML.Recordá que la imagen debe estar en el mismo directorio de tu página html.<br /> <br /><SCRIPT language=quot;
JavaScript1.2quot;
> var imagem=quot;
Ingresa el nombre del archivo de imagen aquíquot;
if (document.layers){document.write(quot;
<LAYER NAME='animacao' LEFT=10 TOP=10><img src='quot;
+imagem+quot;
' ></LAYER>quot;
)}else if (document.all){document.write(quot;
<div id='animacao' style='position:absolute;top:10px;left:10px;width:17px;height:22px;z-index:50'><img src='quot;
+imagem+quot;
'></div>quot;
)}<br />conta=-1; move=1;function curva(){abc=new Array(0,1,1,1,2,3,4,0,6,-1,-1,-1,-2,-3,-4,0,-6)for (i=0; i < abc.length; i++){var C=Math.round(Math.random()*[i])}iniciar=abc[C];setTimeout('curva()',1900);return iniciar;}ypos=10;xpos=10;movimento = 60;function moveR(){caminho=movimento+=iniciar;y = 4*Math.sin(caminho*Math.PI/180);x = 6*Math.cos(caminho*Math.PI/180);if (document.layers){ypos+=y;xpos+=x;document.animacao.top=ypos+window.pageYOffset;document.animacao.left=xpos+window.pageXOffset;}else if (document.all){ypos+=y;xpos+=x;document.all.animacao.style.top=ypos+document.body.scrollTop;document.all.animacao.style.left=xpos+document.body.scrollLeft;}T=setTimeout('moveR()',50);}function edges(){if (document.layers){if (document.animacao.left >= window.innerWidth-40+window.pageXOffset)movimento=Math.round(Math.random()*45+157.5);if (document.animacao.top >= window.innerHeight-30+window.pageYOffset)movimento=Math.round(Math.random()*45-112.5);if (document.animacao.top <= 2+window.pageYOffset) movimento = Math.round(Math.random()*45+67.5);//OK!if (document.animacao.left <= 2+window.pageXOffset) movimento = Math.round(Math.random()*45-22.5);//OK!}else if (document.all){if (document.all.animacao.style.pixelLeft >= document.body.offsetWidth-45+document.body.scrollLeft)movimento=Math.round(Math.random()*45+157.5);if (document.all.animacao.style.pixelTop >= document.body.offsetHeight-35+document.body.scrollTop)movimento=Math.round(Math.random()*45-112.5);if (document.all.animacao.style.pixelTop <= 2+document.body.scrollTop) movimento = Math.round(Math.random()*45+67.5);//OK!if (document.all.animacao.style.pixelLeft <= 2+document.body.scrollLeft) movimento = Math.round(Math.random()*45-22.5);//OK!}setTimeout('edges()',100);}function efeito(){curva();moveR();// onUnload=quot;
opener.gO()quot;
edges();}if (document.all||document.layers)efeito()</script><br /> <br /> <br />Texto en expansión:<br />Colocá en tu página mensajes animados que se agrandan y llaman la atención de los visitantes. Además, incluyen enlaces hacia donde vos quieras.<br />Copiá el siguiente código y pegalo en tus páginas debajo de la etiqueta <Body>.<br /> <br /><script language=quot;
JavaScriptquot;
>var velocidade = 45;var ciclo = 2000;var tamanho = 20;var x = 0;var y = 0;var mensagens, size;var esize = quot;
</font>quot;
;<br />function initArray() {this.length = initArray.arguments.length;for (var i = 0; i < this.length; i++) {this[i] = initArray.arguments[i];}}var mensagens2 = new initArray(quot;
Visitaquot;
,quot;
www.CheNico.comquot;
,quot;
webmaster@pauluk.8k.comquot;
);if(navigator.appName == quot;
Netscapequot;
)document.write('<layer id=quot;
wdsquot;
></layer><br>');if (navigator.appVersion.indexOf(quot;
MSIEquot;
) != -1)document.write('<span id=quot;
wdsquot;
></span><br>');function aumenta(){ mensagens = mensagens2[y];if (x < tamanho) {x++;setTimeout(quot;
aumenta()quot;
,velocidade);}else setTimeout(quot;
diminui()quot;
,ciclo);<br />if(navigator.appName == quot;
Netscapequot;
) {size = quot;
<font face=arial color=#000099 point-size='quot;
+x+quot;
pt'>quot;
; document.wds.document.write(size+quot;
<center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot;
+mensagens+quot;
</a></center>quot;
+esize);document.wds.document.close();}if (navigator.appVersion.indexOf(quot;
MSIEquot;
) != -1){wds.innerHTML = quot;
<font face=arial color=#000099><center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot;
+mensagens+quot;
</a></center></font>quot;
;wds.style.fontSize=x+'px'}} function diminui(){if (x > 1) {x--;setTimeout(quot;
diminui()quot;
,velocidade);}else {setTimeout(quot;
aumenta()quot;
,ciclo);y++;if (y > mensagens2.length - 1) y = 0;}if(navigator.appName == quot;
Netscapequot;
) {size = quot;
<font face=arial color=#000099 point-size='quot;
+x+quot;
pt'>quot;
; document.wds.document.write(size+quot;
<center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot;
+mensagens+quot;
</a></center>quot;
+esize);document.wds.document.close();}if (navigator.appVersion.indexOf(quot;
MSIEquot;
) != -1){wds.innerHTML = quot;
<font face=arial color=#000099><center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot;
+mensagens+quot;
</a></center></font>quot;
;wds.style.fontSize=x+'px'}}setTimeout(quot;
aumenta()quot;
,velocidade);</script><br />Página protegida por clave:<br />Este es un excelente recurso. Podés proteger tus páginas con una clave. Así podés definir exactamente quienes entrarán a tu página. No tenés que preocuparte por configuraciones. Es muy sencillo: la clave siempre será el nombre de tu página sin la extensión .htm, es decir, si la página tiene el nombre de quot;
ejemplo.htmquot;
, la clave será quot;
ejemploquot;
. ¿Ves que fácil?.<br />Para tener este recurso en tu sitio debes incluir un código en la página de quot;
entradaquot;
 en donde el visitante ingresará la clave, y enviar a tu sitio el archivo de la página que será cargada.<br /> <br /><Form name=quot;
frmquot;
><center><Script Language=quot;
JavaScriptquot;
><!--//function loadpage(){var psj=0;newwin = window.open(document.frm.pswd.value + quot;
.htmquot;
) }//--></script>Ingresa tu clave: <inputtype=quot;
passwordquot;
 name=quot;
pswdquot;
 size=quot;
20quot;
></center><center><p> <input type=quot;
buttonquot;
 value=quot;
Entraquot;
onClick=quot;
loadpage()quot;
 name=quot;
buttonquot;
>&nbsp;</p></center></form><br /> <br /> <br />Cambiar el color de la barra de desplazamiento al pasar el mouse:<br />Con este truco podés hacer que además de cambiar el color clásico gris de la barra de desplazamiento por otro, hacer que cuando el mouse se pose sobre ella cambie a otro color. Cambiando los números y letras en verde variaran los colores. Probalo pasando por la barra de la derecha!.<br /> <br /><script language=quot;
JavaScript1.2quot;
><!--function scrollBar(line,face,theme){if (!line||!face){line=null;face=null;switch(theme){case quot;
bluequot;
:var line=quot;
blackquot;
;var face=quot;
#6699FFquot;
;break;}}with(document.body.style){scrollbarDarkShadowColor=line;scrollbar3dLightColor=line;scrollbarArrowColor=quot;
blackquot;
;scrollbarBaseColor=face;scrollbarFaceColor=face;scrollbarHighlightColor=face;scrollbarShadowColor=face;scrollbarTrackColor=quot;
#FFFFFFquot;
;}}function colorBar(){var w = document.body.clientWidth;var h = document.body.clientHeight;var x = event.clientX;var y = event.clientY;if(x>w) scrollBar('#000080','#E58D28');else scrollBar(null,null,quot;
bluequot;
);}if (document.all){scrollBar(null,null,quot;
bluequot;
);document.onmousemove=colorBar;}//--></script>quot;
#6699FFquot;
;break;}}with(document.body.style){scrollbarDarkShadowColor=line;scrollbar3dLightColor=line;scrollbarArrowColor=quot;
blackquot;
;scrollbarBaseColor=face;scrollbarFaceColor=face;scrollbarHighlightColor=face;scrollbarShadowColor=face;scrollbarTrackColor=quot;
#FFFFFFquot;
;}}function colorBar(){var w = document.body.clientWidth;var h = document.body.clientHeight;var x = event.clientX;var y = event.clientY;if(x>w) scrollBar('#000080','#E58D28');else scrollBar(null,null,quot;
bluequot;
);}if (document.all){scrollBar(null,null,quot;
bluequot;
);document.onmousemove=colorBar;}//--></script><br /> <br /> <br />Cambiar el color de la barra de desplazamiento:<br />Con éste código van a conseguir cambiar el clásico color gris de la barra de desplazamiento de la derecha y abajo por el color que quieran. Para cambiar de colores, cambien el número 000000 por otros, cada color tiene su número, pero la lista es muy larga, así que prueben con los número que ya van a encontrar el deseado.<br /><style><!--BODY { scrollbar-base-color : #000000;scrollbar-arrow-color : #FFFFFF; }.nav {color : #FFCC00;font-size : 8pt;}--></style><br /> <br /> <br />Reloj - formato texto:<br />Este es otro tipo de reloj que también cuenta los segundos y que puede utilizar texto. Es muy fácil incluirlo en tu página. Siempre que un usuario acceda a tu sitio el efecto será iniciado.<br /> <br />Paso 1: Para que el recurso se inicie junto con la página, debes incluir dentro de la etiqueta <body> el parámetro de inicio. Agregá un espacio después del último parámetro e incluye:<br /> <br />Onload=quot;
show5()quot;
<br /> <br />Observa un ejemplo sencillo de cómo queda la etiqueta: <br /><body Onload=quot;
show5()quot;
><br /> <br />¡Atención! Sin eso tu reloj no funcionará.<br /> <br />Paso 2: Incluye el siguiente código en tu página después de la etiqueta <body>.<br /> <br /><Font face=Verdana><span id=relogio style=quot;
POSITION: absolutequot;
></span><Script Language=JavaScript><!--function show5(){if (!document.layers&&!document.all)returnvar Digital=new Date()var hours=Digital.getHours()var minutes=Digital.getMinutes()var seconds=Digital.getSeconds()var dn=quot;
AMquot;
 if (hours>12){dn=quot;
PMquot;
hours=hours-12}if (hours==0)hours=12if (minutes<=9)minutes=quot;
0quot;
+minutesif (seconds<=9)seconds=quot;
0quot;
+secondsmeurelogio=quot;
<font size='5' face='Arial'><b>quot;
+hours+quot;
:quot;
+minutes+quot;
:quot;
+seconds+quot;
 quot;
+dn+quot;
</b></font>quot;
if (document.layers){document.layers.relogio.document.write(meurelogio)document.layers.relogio.document.close()}else if (document.all)relogio.innerHTML=meurelogiosetTimeout(quot;
show5()quot;
,1000)}<br />//--></script></font><br /> <br /> <br />Poniendo fecha en tu sitio:<br />Aprendé a incluir la fecha en tu sitio sin necesidad de actualizarla cada día. Sólo tenés que usar un JavaScript que automáticamente exhibirá la fecha del día en tu página cada vez que ésta se abra.<br />No tenés que preocuparte con ninguna configuración. Sólo tenés que copiar y pegar el código en tu página.<br /> <br /><script language=quot;
JavaScriptquot;
><!--mydate = new Date();myday = mydate.getDay();mymonth = mydate.getMonth();myweekday= mydate.getDate();weekday= myweekday;<br />if(myday == 0)day = quot;
 Domingo, quot;
<br />else if(myday == 1)day = quot;
 Lunes, quot;
<br />else if(myday == 2)day = quot;
 Martes, quot;
<br />else if(myday == 3)day = quot;
 Miércoles, quot;
<br />else if(myday == 4)day = quot;
 Jueves, quot;
<br />else if(myday == 5)day = quot;
 Viernes, quot;
<br />else if(myday == 6)day = quot;
 Sábado, quot;
<br />if(mymonth == 0)month = quot;
Enero quot;
<br />else if(mymonth ==1)month = quot;
Febrero quot;
<br />else if(mymonth ==2)month = quot;
Marzo quot;
<br />else if(mymonth ==3)month = quot;
Abril quot;
<br />else if(mymonth ==4)month = quot;
Mayo quot;
<br />else if(mymonth ==5)month = quot;
Junio quot;
<br />else if(mymonth ==6)month = quot;
Julio quot;
<br />else if(mymonth ==7)month = quot;
Agosto quot;
<br />else if(mymonth ==8)month = quot;
Setiembre quot;
<br />else if(mymonth ==9)month = quot;
Octubre quot;
<br />else if(mymonth ==10)month = quot;
Noviembre quot;
<br />else if(mymonth ==11)month = quot;
Diciembre quot;
<br />document.write(quot;
<font face=arial, size=1>quot;
+ day);document.write(myweekday+quot;
 de quot;
+month+ quot;
</font>quot;
);// --></script><br /> <br /> <br />Mensaje de bienvenida:<br />Con este recurso personalizás tu sitio para el visitante. Al entrar, el visitante verá un espacio para ingresar su nombre y un mensaje que dice quot;
Hola, Fulanoquot;
.<br />Copiá el siguiente código y pégalo donde quieras que aparezca el mensaje:<br /> <br /><Script language=quot;
JavaScriptquot;
>mensagem = prompt(quot;
Por favor, ingresa tu nombrequot;
,'');if (mensagem==null) {document.write(quot;
¡Hola, visitante!quot;
)}else{if (mensagem=='') {document.write(quot;
<b><font face=arial size=2 color=#000000>¡Hola, visitante!</font></b>quot;
)}else{document.write(quot;
<b><font face=arial size=2 color=#000000>¡Holaquot;
+mensagem+quot;
! Bienvenido a mi sitio</font></b>quot;
);}}</script><br />Atrás y Adelante:<br />Atrás:<a href=quot;
javascript:history.go(-1)quot;
>Atrás </a>Adelante: <a href=quot;
javascript:history.go(1)quot;
>Adelante</a><br /> <br /> <br />Imprimir pagina actual:<a href=quot;
javascript:print()quot;
>Imprimir</a><br /> <br /> <br />Cartel de novedades:<br />Este efecto te permite tener un cartel o letrero de mensajes incluyendo enlaces para tu sitio. Los mensajes van cruzando la pantalla como si fueran noticias; es un recurso excelente para destacar características especiales de tu sitio. Cada mensaje tendrá un enlace<br />Paso 1: Copiá el siguiente código y pegalo en tu página:<br /> <br /><script language=quot;
JavaScript1.2quot;
>var largura=150var altura=120var bgcolor='white'var fundo=''<br />var mensagens=new Array()mensagens[0]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 1 aquí'>Coloca el texto del enlace 1 aquí</a></font></center>quot;
mensagens[1]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 2 aquí'>Coloca el texto del enlace 2 aquí</a></font></center>quot;
mensagens[2]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 3 aquí'>Coloca el texto del enlace 3 aquí</a></font></center>quot;
mensagens[3]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 4 aquí'>Coloca el texto del enlace 4 aquí</a></font></center>quot;
mensagens[4]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 5 aquí'>Coloca el texto del enlace 5 aquí</a></font></center>quot;
<br />if (mensagens.length>1)i=2elsei=0<br />function mover1(whichlayer){tlayer=eval(whichlayer)if (tlayer.top>0&&tlayer.top<=5){tlayer.top=0setTimeout(quot;
mover1(tlayer)quot;
,3000)setTimeout(quot;
mover2(document.principal.document.segundo)quot;
,3000)return}if (tlayer.top>=tlayer.document.height*-1){tlayer.top-=5setTimeout(quot;
mover1(tlayer)quot;
,100)}else{tlayer.top=alturatlayer.document.write(mensagens[i])tlayer.document.close()if (i==mensagens.length-1)i=0elsei++}}<br />function mover2(whichlayer){tlayer2=eval(whichlayer)if (tlayer2.top>0&&tlayer2.top<=5){tlayer2.top=0setTimeout(quot;
mover2(tlayer2)quot;
,3000)setTimeout(quot;
mover1(document.principal.document.primeiro)quot;
,3000)return}if (tlayer2.top>=tlayer2.document.height*-1){tlayer2.top-=5setTimeout(quot;
mover2(tlayer2)quot;
,100)}else{tlayer2.top=alturatlayer2.document.write(mensagens[i])tlayer2.document.close()if (i==mensagens.length-1)i=0elsei++}}<br />function mover3(whichdiv){tdiv=eval(whichdiv)if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){tdiv.style.pixelTop=0setTimeout(quot;
mover3(tdiv)quot;
,3000)setTimeout(quot;
mover4(segundo2)quot;
,3000)return}if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){tdiv.style.pixelTop-=5setTimeout(quot;
mover3(tdiv)quot;
,100)}else{tdiv.style.pixelTop=alturatdiv.innerHTML=mensagens[i]if (i==mensagens.length-1)i=0elsei++}}<br />function mover4(whichdiv){tdiv2=eval(whichdiv)if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){tdiv2.style.pixelTop=0setTimeout(quot;
mover4(tdiv2)quot;
,3000)setTimeout(quot;
mover3(primeiro2)quot;
,3000)return}if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){tdiv2.style.pixelTop-=5setTimeout(quot;
mover4(segundo2)quot;
,100)}else{tdiv2.style.pixelTop=alturatdiv2.innerHTML=mensagens[i]if (i==mensagens.length-1)i=0elsei++}}<br />function iniciar(){if (document.all){mover3(primeiro2)segundo2.style.top=alturasegundo2.style.visibility='visible'}else if (document.layers){document.principal.visibility='show'mover1(document.principal.document.primeiro)document.principal.document.segundo.top=altura+5document.principal.document.segundo.visibility='show'}}</script><table width=quot;
150quot;
 border=quot;
1quot;
 cellspacing=quot;
1quot;
 cellpadding=quot;
0quot;
><tr><td><ilayer id=quot;
principalquot;
 width=&{largura}; height=&{altura}; bgColor=&{bgcolor}; background=&{fundo}; visibility=hide><layer id=quot;
primeiroquot;
 left=0 top=1 width=&{largura};><script language=quot;
JavaScript1.2quot;
>if (document.layers)document.write(mensagens[0])</script></layer><layer id=quot;
segundoquot;
 left=0 top=0 width=&{largura}; visibility=hide><script language=quot;
JavaScript1.2quot;
>if (document.layers)document.write(mensagens[1])</script></layer></ilayer><br /><script language=quot;
JavaScript1.2quot;
>if (document.all){document.writeln('<span id=quot;
principal2quot;
 style=quot;
position:relative;width:'+largura+';height:'+altura+';overflow:hiden;background-color:'+bgcolor+' ;background-image:url('+fundo+')quot;
>')document.writeln('<div style=quot;
position:absolute;width:'+largura+';height:'+altura+';clip:rect(0 '+largura+' '+altura+' 0);left:0;top:0quot;
>')document.writeln('<div id=quot;
primeiro2quot;
 style=quot;
position:absolute;width:'+largura+';left:0;top:1;quot;
>')document.write(mensagens[0])document.writeln('</div>')document.writeln('<div id=quot;
segundo2quot;
 style=quot;
position:absolute;width:'+largura+';left:0;top:0;visibility:hiddenquot;
>')document.write(mensagens[1])document.writeln('</div>')document.writeln('</div>')document.writeln('</span>')}iniciar()</script></td></tr></table>><br /> <br />Personalizando: Para cambiar el color de fondo o incluir una imagen de fondo, observa esta parte del código:  <br />var largura=150var altura=120var bgcolor='white'var fundo=''<br /> <br />Donde dice quot;
whitequot;
 podés ingresar el valor hexadecimal del nuevo color; por ejemplo: #FFCC00 En quot;
fondoquot;
 podés colocar el nombre de la imagen de fondo del letrero; por ejemplo:<br />var largura=150var altura=120var bgcolor='white'var fundo='Nombre del archivo de imagen' <br />Para incluir más mensajes en el letrero, observá que el último mensaje aparece de la siguiente forma:<br />mensagens[4]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 5 aquí'>Coloca el texto del enlace 5 aquí</a></font></center>quot;
<br />Sólo tenés que agregar una unidad al número indicado al final del mensaje. Por ejemplo:<br />mensagens[5]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 5 aquí'>Coloca el texto del enlace 5 aquí</a></font></center>quot;
 mensagens[6]=quot;
<center><font face='Arial' size=2><a href='Coloca la dirección de la página 6 aquí'>Coloca el texto del enlace 6 aquí</a></font></center>quot;
<br />Seguí hasta llegar al número total de mensajes que desees incluir.<br /> <br /> <br />Barra de estado fija:<br />Podés colocar la palabra o el mensaje que quieras en la barra de estado de tu sitio y mantenerlo fijo. De esta forma tu sitio quedará mucho más personalizado, además de contar con otras ventajas. Por ejemplo: el visitante no verá la dirección del enlace al que está apuntando, sólo el mensaje definido por vos.<br /> <br /><Script language=quot;
JavaScriptquot;
>statuss(); function statuss(){window.status = quot;
www.pauluk.8k.com - Un Sitio. Muchas Opciones.quot;
;setTimeout(quot;
statuss()quot;
, 1);}</script><br />Saludo al visitante:<br />Puedes poner en tu sitio un mensaje personalizado según la hora en que el visitante entre. Este puede recibir el saludo quot;
Buen díaquot;
, quot;
Buenas tardesquot;
, quot;
Buenas nochesquot;
, o puedes sustituirlos por otros mensajes de tu preferencia. De esta forma el visitante verá el mensaje de acuerdo con el horario que entre a tu página.<br /> <br /><Font size=2 face=arial><b><Script Language=quot;
JavaScriptquot;
><!-- today = new Date()if(today.getMinutes() < 10){ pad = quot;
0quot;
}else pad = quot;
quot;
;document.write ;if((today.getHours() >=6) && (today.getHours() <=9)){document.write(quot;
¡Buen día!quot;
)}if((today.getHours() >=10) && (today.getHours() <=11)){document.write(quot;
¡Buen día!quot;
)}if((today.getHours() >=12) && (today.getHours() <=19)){document.write(quot;
¡Buenas tardes!quot;
)} if((today.getHours() >=20) && (today.getHours() <=23)){document.write(quot;
¡Buenas noches!quot;
)}if((today.getHours() >=0) && (today.getHours() <=3)){document.write(quot;
¡Buenas noches!quot;
)}if((today.getHours() >=4) && (today.getHours() <=5)){document.write(quot;
¡Buenas noches!quot;
)}// --></script></b></font><br /> <br /> <br />Texto animado:<br />Con este recurso puedes hacer que cualquier texto tenga movimiento en tu página. Es ideal para destacar tu logo o lo que vos prefieras.<br /> <br /><script language=quot;
JavaScriptquot;
><!--done = 0;step = 4function anim(yp,yk){if(document.layers) document.layers[quot;
textoquot;
].top=yp;else document.all[quot;
textoquot;
].style.top=yp;if(yp>yk) step = -4if(yp<60) step = 4setTimeout('anim('+(yp+step)+','+yk+')', 35);}function start(){if(done) returndone = 1;if(navigator.appName==quot;
Netscapequot;
) {document.texto.left=innerWidth/2 - 145;anim(60,innerHeight - 60)}else {texto.style.left=11;anim(60,document.body.offsetHeight - 60)}}// --></script><br /><div id=quot;
textoquot;
 style=quot;
position: absolute; top: -50; color: #FF8000; font-family: Arial, Helvetica; font-weight:bold; font-size:40px;quot;
> <p><font face=quot;
Arial, Helvetica, sans-serifquot;
 size=quot;
3quot;
><b><font size=quot;
6quot;
 color=quot;
#990000quot;
>INGRESA TU TEXTO AQUI</font></b></font></p></div><br /><script language=quot;
JavaScriptquot;
><!--setTimeout('start()',10);//--></script><br /> <br /> <br />Texto de apertura:<br />Este es un recurso muy interesante. Podés lograr que, al entrar a tu página, el usuario vea un mensaje de bienvenida o cualquier otro que configures. Luego, el usuario es llevado automáticamente a la página que tú definas.<br />Para tener este recurso en tu página, sólo debes copiar el siguiente código, pegarlo en tu editor y guardar la página como principal. De esta forma, al entrar a tu página, los visitantes verán los mensajes y luego serán llevados a la página que tú definas. Es muy fácil configurar este recurso. Basta con alterar las áreas destacadas en negrito en el código. Si tienes problemas con algún editor HTML que no reconozca el código, copia y pega este código en el bloc de notas del Windows u otro editor de texto y no olvides guardarlo con extensión html.<br /> <br /><HTML><HEAD><TITLE>Ingresa el título aquí</TITLE><SCRIPT LANGUAGE = quot;
JavaScriptquot;
>function makeArray() {this.length = makeArray.arguments.length;for (var i = 0; i < this.length; i++)this[i + 1] = makeArray.arguments[i];}<br />function makeSlideShow (obj, wait, pre, url) {this.curText = '';this.posit = 1; this.word = obj; this.length = obj.length;this.pre = pre;this.wait = wait;this.url = url;this.display = displaySlideShow;}<br />function displaySlideShow() {if (this.posit <= this.length) {this.curText = this.word[this.posit]outStringWord = blankFrameTop + this.pre + this.curText + blankFrameBottom;parent.draw.location = 'javascript:parent.outStringWord';this.posit++;}else {doneLoop = true;top.location = this.url;}}<br />function displayLoop() {if (!doneLoop) reDraw = setTimeout('displayLoop()', wordIntro.wait);wordIntro.display();}<br />var words = new makeArray ('Ingresa el primer texto aquí', 'Ingresa el segundo texto aquí', 'Ingresa el tercer texto aquí', 'Ingresa el cuarto texto aquí', 'ABRIENDO EL SITIO... ');var wordIntro = new makeSlideShow (words, 2500, '<CENTER><BR><BR><BR><BR><BR><BR><BR><BR><FONT SIZE = 5>', 'Ingresa aquí el URL de la página que aparecerá');var blankFrameTop = '<HTML><BODY BGCOLOR = quot;
#000000quot;
 TEXT = quot;
#FFFFFFquot;
>';var blankFrameBottom = '</BODY></HTML>';var blankFrame = blankFrameTop + blankFrameBottom;var doneLoop = false;<br /></SCRIPT></HEAD><FRAMESET onLoad = quot;
displayLoop()quot;
 ROWS = quot;
100%, *quot;
 FRAMEBORDER = NO BORDER = 0><br /><FRAME SCROLLING=AUTOSRC = quot;
javascript:parent.blankFramequot;
NAME = quot;
drawquot;
 MARGINWIDTH = 2 MARGINHEIGHT = 2></FRAMESET> </HTML><br /> <br /> <br />Texto en la barra de estado:  <br />Con este recurso podés incluir varios mensajes, novedades y noticias sobre tu sitio. Es una forma de destacar lo que quieras y también de agregar un efecto diferente a tu sitio.<br /> <br /><script LANGUAGE=quot;
JavaScriptquot;
><!-- var speed = 10 var pause = 1500 var timerID = nullvar bannerRunning = false var ar = new Array()<br />ar[0] = quot;
Ingresa aquí el primer texto quot;
ar[1] = quot;
Ingresa aquí el segundo textoquot;
ar[2] = quot;
Ingresa aquí el tercer textoquot;
ar[3] = quot;
Ingresa aquí el cuarto textoquot;
ar[4] = quot;
Ingresa aquí el quinto textoquot;
<br />var message = 0 var state = quot;
quot;
 clearState()<br />function stopBanner() { if (bannerRunning) clearTimeout(timerID) timerRunning = false}<br />function startBanner() { stopBanner() showBanner()}<br />function clearState() { state = quot;
quot;
 for (var i = 0; i < ar[message].length; ++i) { state += quot;
0quot;
 }}<br />function showBanner() { if (getString()) { message++ if (ar.length <= message) message = 0 clearState() timerID = setTimeout(quot;
showBanner()quot;
, pause) } else { var str = quot;
quot;
 for (var j = 0; j < state.length; ++j) { str += (state.charAt(j) == quot;
1quot;
) ? ar[message].charAt(j) : quot;
 quot;
 } window.status = str timerID = setTimeout(quot;
showBanner()quot;
, speed) }}<br />function getString() { var full = true for (var j = 0; j < state.length; ++j) { if (state.charAt(j) == 0) full = false } if (full) return true while (1) { var num = getRandom(ar[message].length) if (state.charAt(num) == quot;
0quot;
) break } state = state.substring(0, num) + quot;
1quot;
 + state.substring(num + 1, state.length) return false}<br />function getRandom(max) { var now = new Date() var num = now.getTime() * now.getSeconds() * Math.random() return num % max}// --></script><br />Paso 2: Ingresa el siguiente código en la etiqueta <body> de tu página:<br /><Body onLoad=quot;
startBanner()quot;
><br />Si ya existen otros parámetros en tu etiqueta body, sólo agrega un espacio después del último e incluye onLoad=quot;
startBanner()quot;
. Este comando es importante para hacer que el texto aparezca en la barra de estado inmediatamente al cargarse la página.<br />Efecto de apertura:<br />Este es un recurso fabuloso y muy fácil que permite crear un efecto de entrada a tu página. Es sólo copiar y pegar el código en tu página. Siempre que alguien acceda a tu sitio el efecto será activado.<br /> <br /><style><!--.entrada{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}--></style><div id=quot;
i1quot;
 class=quot;
entradaquot;
></div><div id=quot;
i2quot;
 class=quot;
entradaquot;
></div><div id=quot;
i3quot;
 class=quot;
entradaquot;
></div><div id=quot;
i4quot;
 class=quot;
entradaquot;
></div><div id=quot;
i5quot;
 class=quot;
entradaquot;
></div><div id=quot;
i6quot;
 class=quot;
entradaquot;
></div><div id=quot;
i7quot;
 class=quot;
entradaquot;
></div><div id=quot;
i8quot;
 class=quot;
entradaquot;
></div><script language=quot;
JavaScript1.2quot;
>//var velocidade=10var tempo=new Array()var tempo2=new Array()if (document.layers){for (i=1;i<=8;i++){tempo[i]=eval(quot;
document.iquot;
+i+quot;
.clipquot;
)tempo2[i]=eval(quot;
document.iquot;
+i)tempo[i].width=window.innerWidth/8-0.3tempo[i].height=window.innerHeighttempo2[i].left=(i-1)*tempo[i].width}}else if (document.all){var clipbottom=document.body.offsetHeight,cliptop=0for (i=1;i<=8;i++){tempo[i]=eval(quot;
document.all.iquot;
+i+quot;
.stylequot;
)tempo[i].width=document.body.clientWidth/8tempo[i].height=document.body.offsetHeighttempo[i].left=(i-1)*parseInt(tempo[i].width)}}function openit(){window.scrollTo(0,0)if (document.layers){for (i=1;i<=8;i=i+2)tempo[i].bottom-=velocidadefor (i=2;i<=8;i=i+2)tempo[i].top+=velocidadeif (tempo[2].top>window.innerHeight)clearInterval(stopit)}else if (document.all){clipbottom-=velocidadefor (i=1;i<=8;i=i+2){tempo[i].clip=quot;
rect(0 auto+quot;
+clipbottom+quot;
 0)quot;
}cliptop+=velocidadefor (i=2;i<=8;i=i+2){tempo[i].clip=quot;
rect(quot;
+cliptop+quot;
 auto auto)quot;
}if (clipbottom<=0)clearInterval(stopit)}}function gogo(){stopit=setInterval(quot;
openit()quot;
,100)}gogo()</script><br /> <br />¿Querés cambiar el color? Podés cambiarlo por cualquier otro color. ¡Es muy fácil:<br />Observá que existe una parte del código que contiene:<br /> <br /><style><!--.entrada{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}--></style><br /> <br />Donde dice quot;
greenquot;
, debes poner el nombre en inglés o el código hexadecimal del color que deseas.<br />Podés también seleccionar uno de los colores que siguen y sustituir la referida parte del código original por esta nueva que vas a recibir.<br /> <br /> <br />Imagen que sigue al mouse:<br /> <br />Observá cómo queda el cursor del mouse con este recurso. Podés elegir la imagen que quieras y ésta acompañará el movimiento del mouse. Puede ser el logotipo de tu empresa, por ejemplo, o la imagen de tu preferencia. Tu sitio ganará personalidad y combinará mucho más con tu estilo.<br />Para tener este recurso en tu página, tenés que seguir dos pasos:<br />Paso 1: Incluí el siguiente código en tu página HTML.<br /> <br /><script language=quot;
JavaScriptquot;
><!-- function YY_Mousetrace(evnt){ if (yyns4){if (evnt.pageX) {yy_ml=evnt.pageX; yy_mt=evnt.pageY;} }else{yy_ml=(event.clientX + document.body.scrollLeft);yy_mt=(event.clientY + document.body.scrollTop);}if (yy_tracescript)eval(yy_tracescript)}//--></script><script language=quot;
JavaScriptquot;
><!--function YY_Layerfx(yyleft,yytop,yyfnx,yyfny,yydiv,yybilder,yyloop,yyto,yycnt,yystep) {if ((document.layers)||(document.all)){eval(quot;
myfunc=yyfnx.replace(/x/gi, yycnt)quot;
);with (Math) {yynextx= eval(myfunc)}eval(quot;
myfunc=yyfny.replace(/x/gi, yycnt)quot;
);with (Math) {yynexty= eval(myfunc)}yycnt=(yyloop && yycnt>=yystep*yybilder)?0:yycnt+yystep;if (document.layers){eval(yydiv+quot;
.top=quot;
+(yynexty+yytop))eval(yydiv+quot;
.left=quot;
+(yynextx+yyleft))}if (document.all){eval(quot;
yydiv=yydiv.replace(/.layers/gi, '.all')quot;
);eval(yydiv+quot;
.style.pixelTop=quot;
+(yynexty+yytop));eval(yydiv+quot;
.style.pixelLeft=quot;
+(yynextx+yyleft));}argStr='YY_Layerfx('+yyleft+','+yytop+',quot;
'+yyfnx+'quot;
,quot;
'+yyfny+'quot;
,quot;
'+yydiv+'quot;
, '+yybilder+','+yyloop+','+yyto+','+yycnt+','+yystep+')';if (yycnt<=yystep*yybilder){eval(yydiv+quot;
.yyto=setTimeout(argStr,yyto)quot;
);}} } //--></script><script language='JavaScript'><!--var yyns4=window.Event?true:false; var yy_mt = 0; var yy_ml = 0;if (yyns4) document.captureEvents(Event.MOUSEMOVE);document.onmousemove = YY_Mousetrace;yy_tracescript = '';//--></script><br /><div id=quot;
Orbitaquot;
 style=quot;
position:absolute; left: 475px; top: 11px; width: 36px; height: 32pxquot;
><img src=quot;
Ingresa aquí el nombre del archivo de imagenquot;
 border=0></div><br /> <br />En las últimas líneas donde dice que tenés que ingresar el nombre del archivo de imagen que aparecerá con el cursor del mouse, podés incluir archivos del tipo gif o jpg.<br /> <br />Paso 2: Ahora es necesario que incluyas el código que sigue en tu tag <body>, que quedará así:<br /><body onLoad=quot;
YY_Mousetrace('',',document.YY_Mousetrace1'); YY_Layerfx(8,18,'yy_ml','yy_mt','document.layers[apos;Orbitaapos;]',50000,false,0,0,10)quot;
><br />Si ya existen otros parámetros en tu etiqueta , agregá un espacio después del último y luego incluí:<br />onLoad=quot;
YY_Mousetrace('',',document.YY_Mousetrace1'); YY_Layerfx(8,18,'yy_ml','yy_mt','document.layers[apos;Orbitaapos;]',50000,false,0,0,10)quot;
<br />Efectos de transición especiales:<br />Estos efectos de transición son especiales porque con ellos tu página tendrá una apertura muy original, pero sólo funcionarán con Internet Explorer. No tendrás problemas para utilizar este recurso, ya que los usuarios de otros navegadores no verán errores y la página se cargará normalmente.<br /> <br />Ingresá el código debajo de la etiqueta <body> de tu página.<br /> <br /><script language=javaScript>var n = 15fadeIn();function fadeIn(){var num=new Array(quot;
FFFFFFquot;
,quot;
FFCC00quot;
,quot;
2quot;
,quot;
3quot;
,quot;
4quot;
,quot;
5quot;
,quot;
6quot;
,quot;
7quot;
,quot;
8quot;
,quot;
9quot;
,quot;
aquot;
,quot;
bquot;
,quot;
cquot;
,quot;
dquot;
,quot;
equot;
,quot;
fquot;
,quot;
gquot;
)for (var i=0; i<=n; i++){for (var j=0; j<= n; j++){color=num[i]+num[j]+num[i]+num[j]+num[i]+num[j]document.bgColor=color}}document.bgColor=quot;
#FFFFFFquot;
}</script><br /> <br /> <br />Menú desplegable:<br /> <br />El menú desplegable permite que coloques varios enlaces en un solo lugar. Con esto, ganás espacio y facilidad de navegación. Este menú no necesita un botón para activarse. Basta con seleccionar el enlace y automáticamente el navegador se dirigirá a la página. Este menú funciona en páginas sin marcos.<br /> <br />Para crear tu menú y personalizarlo, pegá el siguiente código en tu página HTML:<br /> <br /><form><select NAME=quot;
linksquot;
 onChange=quot;
top.location.href=this.form.links.options[this.form.links.selectedIndex].valuequot;
><option SELECTED>Elija la sección que desee</option><option VALUE=quot;
http://www.pauluk.8k.comquot;
>Pauluk Computación</option><option VALUE=quot;
http://www.pauluk.8k.com/trucos.htmquot;
>Trucos PC</option><option VALUE=quot;
http:/www.pauluk.8k.com/noticias.htmquot;
>Noticias Tecnológicas</option></select> </form><br /> <br />Instrucciones para personalización: Observá que cada opción del menú se hace con la etiqueta:<br /><option VALUE=quot;
Ingresa el enlace aquíquot;
>Ingresa el nombre del enlace aquí</option><br />No alteres la siguiente etiqueta:<br /><select NAME=quot;
linksquot;
 onChange=quot;
top.location.href=this.form.links.options[this.form.links.selectedIndex].valuequot;
><br />Si cambiás algo en ella, tu menú no funcionará correctamente.<br /> <br /> <br />Tu icono en la lista de los favoritos:<br />Este recurso es muy bueno pero sólo funcionará en IE. Cuando alguien agrega tu página a la lista de favoritos, aparece al lado del título un pequeño icono de Internet Explorer. ¿Qué tal si colocas tu propio icono allí? Sí: más personalización para tu sitio.<br />Para que el icono aparezca en la lista de favoritos del usuario, tenés que colocarlo, primero, dentro de tu espacio y después, incluir dentro de tus páginas una pequeña y simple línea de código que hará que el mismo aparezca en la lista. Podés usar cualquier icono que desees (no olvides que los archivos de icono tienen la extensión .ICO, imágenes gif o jpg no pueden ser usadas).<br />Incluye el siguiente código entre las etiquetas quot;
<head>quot;
 y quot;
</head>quot;
 de tu página:<br /><link rel=quot;
SHORTCUT ICONquot;
 href=quot;
ÍCONO AQUÍquot;
> <br /> <br />Sonido de fondo en la página:<br /> <br />Podés incluir en tu página un sonido de fondo. De esta forma, siempre que alguien acceda a tu página, escuchará dicho sonido. Así podés darle más personalidad a tu sitio. Los archivos de sonido ideales para una homepage son aquellos en formato MIDI (.MID), pero también podés incluir sonidos del tipo WAVE (.WAV).<br /> <br />Netscape e Internet Explorer presentan algunas diferencias en su sistema y, por lo tanto, en algunas versiones de Netscape el sonido puede no ser escuchado.<br /> <br />La etiqueta para incluir sonido en tu página debe ser <EMBED>. Observá el ejemplo:<br /> <br /><embed src=quot;
nombre del temaquot;
 autostart=quot;
truequot;
 loop=quot;
10quot;
 width=quot;
1quot;
 height=quot;
1quot;
></embed><br /> <br />- En quot;
nombre del temaquot;
, ingresás el nombre del tema mid o wav. - En quot;
loopquot;
, ingresás el número de veces que el sonido será repetido. - En quot;
autostartquot;
, definís si querés que el tema comience a sonar solo (atributo TRUE). Si colocás quot;
FALSEquot;
, el usuario tendrá que hacer clic en el botón quot;
playquot;
 para escuchar el tema.<br /> <br /> <br />Actualizar:<br />La página quot;
Actualizarquot;
 lleva al usuario a otra página sin que el mismo deba ejecutar acción alguna. Funciona como un simple redireccionador.<br /> <br /><HTML> <HEAD><META HTTP-EQUIV=quot;
REFRESHquot;
 CONTENT=quot;
Segundos;URL=http://www.pauluk.8k.comquot;
> <TITLE> Titulo </TITLE></HEAD> <BODY> Códigos HTML</BODY> </HTML><br /> <br />En quot;
segundosquot;
, colocás el tiempo que deseas que la página demore hasta redireccionar el usuario al nuevo URL.<br /> <br /> <br />Agregar página a Favoritos:<br />Aprendé a incluir en tu página un enlace para que los usuarios puedan agregarla automáticamente a los favoritos del navegador. El visitante sólo tiene que hacer clic en un enlace para que la página se incluya en su lista de favoritos.<br /><a href=quot;
javascript:window.external.AddFavorite('http://www.pauluk.8k.com','Pauluk Computacion')quot;
><small><font face=quot;
Verdanaquot;
 size=quot;
1quot;
>Agregar a favoritos</font></small></a><br />Barra de estado animada:<br />Podés darle movimiento a la barra de estado del navegador del visitante en tu sitio. Es un efecto fabuloso que te permite destacar lo que desees.<br />Copiá el siguiente código y pegalo en tus páginas debajo de la etiqueta <Body>.<br /> <br /><script language=quot;
JavaScriptquot;
>tempo = 10;chars = 5;texto = quot;
-- Ingresa el texto aquí --quot;
;wtexto = new Array(33);wtexto[0] = texto;blnk = quot;
 quot;
;//Mantén estos espaciosfor (i = 1; i < 32; i++) {b = blnk.substring(0, i);wtexto[i] = quot;
quot;
;for (j = 0; j < texto.length; j++) wtexto[i] = wtexto[i] + texto.charAt(j) + b;}function animastatus() {if (chars > -1) str = wtexto[chars]; else str = wtexto[0];if (chars-- < -40) chars = 31;status = str;clearTimeout(tempo);tempo = setTimeout(quot;
animastatus()quot;
, 150);}animastatus()</script><br /> <br /> <br />Efecto de apertura múltiple:<br />Este efecto ofrece otra alternativa de apertura para tu sitio, una forma diferente de presentarlo a los visitantes. Es sólo copiar y pegar el código en tu página. Siempre que alguien acceda a tu sitio el efecto será activado.<br /> <br /><style>.intro{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}</style><br /><div id=quot;
i1quot;
 class=quot;
introquot;
></div><div id=quot;
i2quot;
 class=quot;
introquot;
></div><div id=quot;
i3quot;
 class=quot;
introquot;
></div><div id=quot;
i4quot;
 class=quot;
introquot;
></div><div id=quot;
i5quot;
 class=quot;
introquot;
></div><div id=quot;
i6quot;
 class=quot;
introquot;
></div><div id=quot;
i7quot;
 class=quot;
introquot;
></div><div id=quot;
i8quot;
 class=quot;
introquot;
></div><script language=quot;
JavaScript1.2quot;
>var velocidade=20var tempo=new Array()var tempo2=new Array()if (document.layers){for (i=1;i<=8;i++){tempo[i]=eval(quot;
document.iquot;
+i+quot;
.clipquot;
)tempo2[i]=eval(quot;
document.iquot;
+i)tempo[i].width=window.innerWidthtempo[i].height=window.innerHeight/8tempo2[i].top=(i-1)*tempo[i].height}}else if (document.all){var clipright=document.body.clientWidth,clipleft=0for (i=1;i<=8;i++){tempo[i]=eval(quot;
document.all.iquot;
+i+quot;
.stylequot;
)tempo[i].width=document.body.clientWidthtempo[i].height=document.body.offsetHeight/8tempo[i].top=(i-1)*parseInt(tempo[i].height)}}function openit(){window.scrollTo(0,0)if (document.layers){for (i=1;i<=8;i=i+2)tempo[i].right-=velocidadefor (i=2;i<=8;i=i+2)tempo[i].left+=velocidadeif (tempo[2].left>window.innerWidth)clearInterval(stopit)}else if (document.all){clipright-=velocidadefor (i=1;i<=8;i=i+2){tempo[i].clip=quot;
rect(0 quot;
+clipright+quot;
 auto 0)quot;
}clipleft+=velocidadefor (i=2;i<=8;i=i+2){tempo[i].clip=quot;
rect(0 auto auto quot;
+clipleft+quot;
)quot;
}if (clipright<=0)clearInterval(stopit)}}function gogo(){stopit=setInterval(quot;
openit()quot;
,100)}gogo()</script><br /> <br />¿Quieres cambiar el color? Puedes cambiarlo por cualquier otro color. ¡Es muy fácil:<br />Observá que existe una parte del código que contiene:<br /> <br /><style><!--.entrada{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}--></style><br />Donde dice quot;
greenquot;
, tenés que poner el nombre en inglés o el código hexadecimal del color que deseas.<br />Podés también seleccionar uno de los colores que siguen y sustituir la referida parte del código original por esta nueva que vas a recibir.<br /> <br /> <br />Cambiando la barra de estado:<br />¿Querés que la barra de estado cambie cuando el mouse pase sobre los enlaces? ¡Es fácil! Podés hacer que cualquier mensaje aparezca en la barra de estado del navegador cuando alguien pase el mouse sobre los enlaces de tu página. Observá cómo hacerlo acá:<br />- Ejemplo- El código HTML de un enlace común se parece al siguiente ejemplo:<br /><a href=fotos.html>Fotos del Viaje</a><br /> <br />Sólo tenés que incluir el siguiente código:<br />ONMOUSEOVER=quot;
window.status='COLOCA EL TEXTO AQUI';return true;quot;
 ONMOUSEOUT=quot;
window.status='';return true;quot;
<br />- Código<a href=fotos.html ONMOUSEOVER=quot;
window.status='COLOCA EL TEXTO AQUI';return true;quot;
 ONMOUSEOUT=quot;
window.status='';return true;quot;
>Fotos del Viaje</a><br />Copia el código y pégalo en tus páginas debajo de la etiqueta <Body>.<br />Texto aleatorio:<br />Con el texto aleatorio es posible hacer que, a cada visita a tu página, el usuario vea un mensaje diferente sin necesidad de actualizar tu sitio a todo momento.<br /> <br /><Script Language=quot;
JavaScriptquot;
>hoje = new Date()numero_de_textos = 4 segundos = hoje.getSeconds()numero = segundos % numero_de_textosif (numero == 0){texto = quot;
Ingresa el primer texto aquíquot;
}if (numero == 01){texto = quot;
Ingresa el segundo texto aquíquot;
}if (numero == 02){texto = quot;
Ingresa el tercer texto aquíquot;
}if (numero == 03){texto = quot;
Ingresa el cuarto texto aquíquot;
}document.write('' + texto +'') </script><br /> <br />Instrucciones para personalización: Si deseas incluir más de tres textos, debes ingresar en quot;
numero de textosquot;
 el número total de textos que aparecerán.<br />if (numero == Ingresa el número del texto aquí){texto = quot;
Ingresa el texto que aparecerá aquíquot;
}<br />En quot;
Ingresa el número del texto aquíquot;
, sigue la secuencia. En el código, por ejemplo, el último número era quot;
03quot;
, por lo tanto, para incluir un nuevo texto, el número será quot;
04quot;
, y así sucesivamente para cada nuevo texto.<br />¡ATENCION! Incluye el código del nuevo texto siempre antes de quot;
document.write('' + texto +'') </script>quot;
.<br /> <br /> <br />Imagen aleatoria:<br />Con este recurso es posible hacer que, a cada visita a tu página, el usuario vea una imagen diferente sin necesidad de actualizar tu sitio a cada momento.<br />Imágenes aleatórias con enlaces: Pegá el siguiente código en tu página HTML. Podés pegarlo donde quieras que aparezcan las imágenes.<br /> <br /><Script Language=quot;
JavaScriptquot;
>hoje = new Date()numero_de_imagens = 2segundos = hoje.getSeconds()numero = segundos % numero_de_imagensif (numero == 0){banner = quot;
Ingresa el nombre de la imagen 1 aquiquot;
link = quot;
http://quot;
alvo = quot;
_selfquot;
}if (numero == 1){banner = quot;
Ingresa el nombre de la imagen 2 aquiquot;
link = quot;
http://quot;
alvo = quot;
_selfquot;
}document.write('<a href=quot;
' + link + 'quot;
 target=quot;
' + alvo + 'quot;
 ><img src=quot;
' + banner + 'quot;
 border=0></a>') </script><br /> <br /> <br />Añadir el Asunto y el cuerpo cuando nos envíen un e-mail:<br />Ya sabés que para enviar un mensaje, tenés que incluir mailto:webmaster@pauluk.8k.com<br />Bueno, si añadís al final de la dirección de correo ?subject=el subject, éste aparecerá de forma automática en ese campo, así de fácil.<br /><html><a href=quot;
mailto:webmaster@pauluk.8k.com?subject=Probando.&body=Probando trucoquot;
>Hacé clic aquí</a><br /> <br /> <br />Detectar el navegador:<br />Esto sirve para comprobar el navegador que se está usando, por si queremos crear una página para Netscape y otra para Internet Explorer:<br /> <br /><script language=quot;
JavaScriptquot;
><br /><!--<br />function esIE30(){<br />var browserType=navigator.userAgent;<br />if (browserType.indexOf(quot;
MSIEquot;
)==-1)<br />return false;<br />else<br />return true;<br />}<br /> <br /><!-- Cargar la página según el explorador --><br />function cargar(){<br />if (esIE30())<br />window.location.href=quot;
indice_ie.htmquot;
;<br />else<br />window.location.href=quot;
indice_netscape.htmquot;
;<br />}<br />//--><br /></script><br /> <br /> <br />Ir a un lugar dentro de la misma página:<br />Nota: Hay que tener en cuenta que se diferencian las mayúsculas de las minúsculas.<br /><a href=quot;
#posicion1quot;
>Ir a la posicion1</a><br /> <br /> <br />Ir a un lugar determinado de otra página:<br />Nota: Hay que tener en cuenta que se diferencian las mayúsculas de las minúsculas.<br /><a href=quot;
otra_pagina.htm#posicion1quot;
>Ir a la posicion1 de otra_pagina</a><br /> <br /> <br />Cambiar el contenido de una página cada quot;
xquot;
 segundos:<br />O mejor dicho, cargar otra página después de quot;
xquot;
 segundos.Este comando debe estar en el bloque <HEAD>...</HEAD><br /><HEAD><!-- otras cosas --><META http-equiv=quot;
refreshquot;
 content=quot;
segundos; url=siguiente_pagina.htmquot;
><!--y algunas mas --></HEAD><br />Trucos Html<br />Anuncios Google<br />  Software grat. p encuest.www.SurveyMonkey.com - Obtenga ayuda con diseños,obtención de respuestas y análisis ¡Únase ya!<br />Voy a ir agregando cada ves mas codigos! Redireccionar una página: Si tenés una dirección larga, y los servidores que te dan direcciones cortas no tienen buena capacidad de almacenamiento o de taza de transferencia de datos, con este código podés hacer que al escribir una dirección se abra otra, solo tenés que insertar este código en el index.html del dominio corto poniendo tu dirección actual donde está en verde: <HTML> <HEAD> <TITLE>Redireccionado por www.CheNico.com</TITLE> <SCRIPT LANGUAGE=quot;
JavaScriptquot;
> location.href='www.CheNico.com'; </SCRIPT> </HEAD> <BODY> Abrir una Web en Pop Up: Con este código vamos a hacer que al entrar en nuestra página automáticamente se abra otra, ej. otra Web nuestra, una sección que queremos mostrar, una publicidad, etc. <script language='JavaScript'>window.open('http://www.chenico.com', 'geoflotante', '');</script> No dejar seleccionar el texto de nuestra Web: Con este código vamos a impedir que los visitantes seleccionen el texto de nuestra página para luego copiarlo a otro lado. <script language=quot;
Javascriptquot;
> <!-- Begin function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function (quot;
return falsequot;
 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } // End --> </script> Horas restantes para finalizar el día: Con este código insertamos un pequeño relojito que indica la cuenta regresiva de las horas, minutos y segundos que faltan para finalizar el día. <body> <p>El reloj...</p> <form name=quot;
Relojquot;
> <input type=quot;
textquot;
 size=quot;
7quot;
 name=quot;
tiempoquot;
 value=quot;
mm:hh:ssquot;
 title=quot;
Tiempo restante para finalizar el díaquot;
> <script language=quot;
JavaScriptquot;
> <!-- var tiempoAtras; updateReloj(); function updateReloj() { var tiempo = new Date(); var hora = 23-tiempo.getHours(); var minutos = 59-tiempo.getMinutes(); var segundos = 59-tiempo.getSeconds(); tiempoAtras= (hora < 10) ? hora :hora; tiempoAtras+= ((minutos < 10) ? quot;
:0quot;
 : quot;
:quot;
 + minutos; tiempoAtras+= ((segundos < 10) ? quot;
:0quot;
 : quot;
:quot;
 + segundos; document.Reloj.tiempo.value = tiempoAtras; setTimeout(quot;
updateReloj()quot;
,1000); } //--> </script> </form> </body> Recomendar Pagina: Con este código podemos hacer que si a un visitante le gustó nuestra Web, la recomiende a un amigo escribiendo su dirección de correo electrónico en la casilla, al hacer click en quot;
Recomendar esta Webquot;
 se envía un mensaje de correo con el asunto quot;
Pienso que te puede interesar esta página...quot;
 y en el cuerpo del mensaje aparece la dirección completa donde se encuentra el código y el título de la misma. <form name=quot;
eMailerquot;
> ENVÍA ESTA PÁGINA A UN AMIGO <br> Indica su e-mail: <br> <input type=quot;
textquot;
 name=quot;
addressquot;
 size=quot;
25quot;
> <br> <input type=quot;
buttonquot;
 value=quot;
Recomendá esta Web!quot;
 onClick=quot;
mailThisUrl();quot;
> </form> <script language=quot;
JavaScript1.2quot;
> var good; function checkEmailAddress(field) { // the following expression must be all on one line... var goodEmail = field.value.match(/(^(+@).+((com)|(net)| (edu)|(mil)|(gov)|(org)|(.{2,2}))$)/gi); if (goodEmail){ good = true } else { alert('Por favor introduce un e-mail valido') field.focus() field.select() good = false } } u = window.location; m = quot;
Pienso que te puede interesar esta página...quot;
; function mailThisUrl(){ good = false checkEmailAddress(document.eMailer.address) if (good){ // the following expression must be all on one line... window.location = quot;
mailto:quot;
+document.eMailer.address.value+quot;
?subject=quot;
+m+quot;
&body=quot;
+document.title+quot;
 quot;
+u; } } </script> Crear un Formulario o Libro de Visitas: Con este código podemos crear un formulario para que complete el visitante. O también un libro de visitas, luego que el visitante apriete el botón quot;
enviarquot;
, los datos serán enviados a tu casilla de correo. <H2>Libro de visitas de www.CheNico.com</H2> <FORM ACTION=quot;
mailto:tunombre@tuservidor.comquot;
 METHOD=quot;
postquot;
> <TABLE> <TD ALIGN=RIGHT>Nombre:</TD> <TD><INPUT type=quot;
textquot;
 size=36 name=quot;
nombrequot;
></TD> <TR><TD ALIGN=RIGHT>Direccion E-mail:</TD> <TD><INPUT type=quot;
textquot;
 size=36 name=quot;
direccionquot;
></TD> <TR><TD ALIGN=RIGHT>como llegaste hasta esta pagina?</TD> <TD><INPUT type=quot;
textquot;
 size=36 name=quot;
procedenciaquot;
></TD> <TR><TD ALIGN=RIGHT>Tus comentatios:</TD> <TD><TEXTAREA rows=5 cols=30 name=quot;
comentariosquot;
></TEXTAREA></TD> </TABLE> <INPUT type=quot;
resetquot;
 value=quot;
Borrar todoquot;
> <INPUT type=quot;
submitquot;
 value=quot;
Enviarquot;
> </FORM> Cuadro explicativo de los enlaces: 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=quot;
JavaScriptquot;
><!-- function escribe(frase){document.desplaza.cuadro.value=frase; } // --></script> </p> <table border=quot;
0quot;
> <tr> <td width=quot;
200quot;
><p align=quot;
centerquot;
><strong>Opciones.</strong></p> <p><a href=quot;
http://www.CheNico.comquot;
 onmouseover=quot;
escribe(' Página principal ---------------- Cuando hagas Click en este enlace irás directamente a la página de inicio de mi web');quot;
>Página principal</a><br> <a href=quot;
http://***/pauluk/trucosprin.htmquot;
 onmouseover=quot;
escribe(' Trucos PC ----------- 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');quot;
>Trucos PC</a><br> <a href=quot;
http://***/pauluk/GLOSARIO.HTMquot;
 onmouseover=quot;
escribe(' Glosario --------------  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.');quot;
>Glosario</a><br> </p> </td> <td><form name=quot;
desplazaquot;
> <p><textarea name=quot;
cuadroquot;
 rows=quot;
8quot;
 cols=quot;
30quot;
 wrap=quot;
physicalquot;
></textarea></p> </form> </td> </tr> </table> Insertar un sonido o música de fondo: Si quieren que los visitantes escuchen una canción mientras visitan la Web, o simplemente recibirlos con una melodía estilo presentación, este es el código que estabas buscando. Solo tenés que guardar el sonido en el directorio raíz de tu servidor e insertar el siguiente código html: <BGSOUND SRC=quot;
sonido.midquot;
 LOOP=none> <WIDTH=200 HEIGHT=55 AUTOSTART=quot;
truequot;
 LOOP=quot;
falsequot;
 HIDDEN=quot;
truequot;
> Se recomienda usar sonidos en formato quot;
midiquot;
 que son los de menor peso. Crear un link para download: Si queremos poner archivos para que los visitantes los puedan descargar a sus computadoras, solo debemos subir ese archivo a nuestro servidor e insertar en nuestra Web el siguiente código HTML: <a href=quot;
ejemplo.exequot;
>Descripción del enlace </a> No existe un comando que inicie la descarga. Lo que sucede es que, siempre que aparece un tipo de archivo no reconocido por el navegador, este comienza a descargarlo automáticamente. Ejemplo: Si el navegador no logra abrir un archivo quot;
zipquot;
 (compactado), inicia la descarga automáticamente. Efecto nieve con cualquier imagen: Con este truco podés hacer que caigan por la pantalla varias veces la misma imagen con un efecto estilo nieve. Si querés ver el código y el efecto HACÉ CLIC ACÁ . 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=quot;
text/cssquot;
> <!-- 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=quot;
l1.htmquot;
>El texto que quieras.</a><br> <a href=quot;
l2.htmquot;
>otro texto.</a><br> <a href=quot;
l3.htmquot;
>Otro texto.</a><br> </p> Transformar el cursor en una mira: Transformá la clásica flechita de Windows en una mira de disparo. <style type=quot;
text/cssquot;
> <!-- body { cursor: crosshair} --> </style> Tabla de colores HTML: Esta tabla contiene todos los códigos para ponerle colores a las barras de desplazamiento, a las fuentes y muchas otras funciones más. Haga click acá para ver la Tabla Completa. Comentario sobre un link en la barra de estado: Al pasar el mouse sobre el link deseado, veremos en la barra de estado un comentario sobre éste. Por ejemplo posicionen el mouse sobre Pauluk Computación y vean en la barra de estado. (para verlo bien en ésta página pasen el mouse varias veces, ya que hay otro código parecido que lo obstruye). <a href=quot;
http://www.CheNico.comquot;
 onmouseout=quot;
window.status=''quot;
 onmouseover=quot;
window.status='Acá aparece el mensaje que quieras';return truequot;
> Pauluk Computación</a> 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(quot;
Coloca el mensaje aquí.quot;
; return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert(quot;
Coloca el mensaje aquí.quot;
; return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; </script> Nota: Para evitar este truco, también hay un contratruco, si entrás a una página que tiene este truco que no te deja copiar imágenes o texto, solo tenés que hacer click con el botón derecho del mouse sobre la barra de estado y sin soltarlo arrastrarlo hasta la imágen. Listo, se abrirá el menú como si la página no estuviese bloqueada a la copia. Hay que tener en cuenta que muy poca gente conoce este truco, por lo tanto podés usar tranquilo el truco de bloqueo. Establecer una página como inicio: Este código html te sirve para crear un link para que el visitante pueda hacer que tu página sea la de inicio de su computadora. Con solo hacer clic sobre el link creado, tu página se iniciará automáticamente cada vez que esa persona se conecte a Internet. <A class=chlnk style=quot;
FONT-WEIGHT: bold; CURSOR: hand; COLOR: #004080; FONT-FAMILY: Verdanaquot;
 onclick= quot;
this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.CheNico.com');quot;
> <FONT face=Arial color=#000000 size=-2><U> Establecer como página de inicio</U></FONT></A> Enviar un e-mail con Asunto y Mensaje: Con este truco podés hacer que al hacer clic sobre una palabra, se abra el Outlook para enviar un mensaje con tu dirección, el asunto que quieras y el texto que quieras. Por ejemplo: Hacé clic acá para mandarme un mensaje <a href=quot;
mailto:webmaster@pauluk.8k.com?subject=Prueba.&body=Estoy probando el truco...quot;
>Hacé clic acá para mandarme un mensaje</a> Abrir un Link en una Ventana Nueva: Cuando tenemos Links en nuestras páginas y alguien hace clic sobre ellos, automáticamente se abre esa dirección en nuestra ventana. Con este truco podemos hacer que al hacer clic sobre un determinado Link, esta dirección se abra en una ventana nueva, quedando la nuestra también abierta: <a href=quot;
http://www.CheNico.comquot;
 target=quot;
_blankquot;
>Pauluk Computación</a> Crear un PopUp: Abrir una pequeña ventana con una imagen. Podemos darle las medidas que queramos cambiando quot;
Widthquot;
 y quot;
Heightquot;
. <a name=quot;
1quot;
></a><A onclick=quot;
window.open('MiFoto.jpg','Estructuras','toolbar=no,location=no,scrollbars=yes,directories= no,status=no,menubar=no,resizable=no,width=400,height=475');quot;
 href=quot;
#1quot;
><b><font face=quot;
Verdanaquot;
 size=\
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web
Trucos html para paginas web

Más contenido relacionado

Destacado

Destacado (20)

SGACyP
SGACyPSGACyP
SGACyP
 
举止礼仪第二课导入
举止礼仪第二课导入举止礼仪第二课导入
举止礼仪第二课导入
 
Elena castellote
Elena castelloteElena castellote
Elena castellote
 
Отношения государства и церкви
Отношения государства и церквиОтношения государства и церкви
Отношения государства и церкви
 
Tabela de calculo 2011
Tabela de calculo   2011Tabela de calculo   2011
Tabela de calculo 2011
 
Geht doch
Geht dochGeht doch
Geht doch
 
Aothuat magic
Aothuat magicAothuat magic
Aothuat magic
 
Boletim jflv_fevereiro2015_web2
Boletim  jflv_fevereiro2015_web2Boletim  jflv_fevereiro2015_web2
Boletim jflv_fevereiro2015_web2
 
Sala de belleza
Sala de bellezaSala de belleza
Sala de belleza
 
110127 Papier Industrie
110127 Papier Industrie110127 Papier Industrie
110127 Papier Industrie
 
O outono da Vida
O outono da VidaO outono da Vida
O outono da Vida
 
A composição da_imagem_nos_anúncios
A composição da_imagem_nos_anúnciosA composição da_imagem_nos_anúncios
A composição da_imagem_nos_anúncios
 
Power point jenis jenis kurikulum [autosaved]
Power point jenis jenis kurikulum [autosaved]Power point jenis jenis kurikulum [autosaved]
Power point jenis jenis kurikulum [autosaved]
 
Pantallaso[1]
Pantallaso[1]Pantallaso[1]
Pantallaso[1]
 
Asam,basa dan garam
Asam,basa dan garamAsam,basa dan garam
Asam,basa dan garam
 
проекты
проектыпроекты
проекты
 
บทที่ 8
บทที่ 8บทที่ 8
บทที่ 8
 
Publicação Mensal
Publicação MensalPublicação Mensal
Publicação Mensal
 
00 ส่วนนำ1
00 ส่วนนำ100 ส่วนนำ1
00 ส่วนนำ1
 
Ance_Torretta_24052011
Ance_Torretta_24052011Ance_Torretta_24052011
Ance_Torretta_24052011
 

Similar a Trucos html para paginas web (20)

Truquitos html
Truquitos htmlTruquitos html
Truquitos html
 
Trucos Html
Trucos HtmlTrucos Html
Trucos Html
 
Trucos html
Trucos htmlTrucos html
Trucos html
 
Html Y Javascript
Html Y JavascriptHtml Y Javascript
Html Y Javascript
 
Html Y Javascript
Html Y JavascriptHtml Y Javascript
Html Y Javascript
 
PHP
PHPPHP
PHP
 
CURSO DE HTML
CURSO DE HTMLCURSO DE HTML
CURSO DE HTML
 
Diapo02
Diapo02Diapo02
Diapo02
 
Curso Html
Curso HtmlCurso Html
Curso Html
 
HTML
HTMLHTML
HTML
 
HTML
HTMLHTML
HTML
 
Trucos Html
Trucos HtmlTrucos Html
Trucos Html
 
Trucos html
Trucos htmlTrucos html
Trucos html
 
Cont clase de lenguaje IV
Cont clase de lenguaje IVCont clase de lenguaje IV
Cont clase de lenguaje IV
 
Front End - Maquetación xhtml + css
Front End - Maquetación xhtml + cssFront End - Maquetación xhtml + css
Front End - Maquetación xhtml + css
 
Trabajo final programacion
Trabajo final programacionTrabajo final programacion
Trabajo final programacion
 
Codigos HTML Continuación
Codigos HTML ContinuaciónCodigos HTML Continuación
Codigos HTML Continuación
 
Javascript
JavascriptJavascript
Javascript
 
Calculadora
CalculadoraCalculadora
Calculadora
 
Conociendo php (201009)
Conociendo php (201009)Conociendo php (201009)
Conociendo php (201009)
 

Trucos html para paginas web

  • 1. Trucos html para paginas web (parte 1)<br />Anuncios Google<br /> Plant. de encuest. grat.www.SurveyMonkey.com - Obtenga ayuda con diseños,obtención de respuestas y análisis ¡Únase ya!<br />Hola a todos los users de Taringa que estan online bueno hoy les traigo un post de codigos html son todos exactamente y al mero ultimo les voy a dejar la fuente para que entren y los chequen bien bueno aqui estan los trucos html: <br />Redireccionar a una pagina<br />Si tenés una dirección larga, y los servidores que te dan direcciones cortas no tienen buena capacidad de almacenamiento o de taza de transferencia de datos, con este código podés hacer que al escribir una dirección se abra otra, solo tenés que insertar este código en el index.html del dominio corto poniendo tu dirección actual donde está en verde: <HTML> <HEAD> <TITLE>Redireccionado por www.CheNico.com</TITLE> <SCRIPT LANGUAGE=quot; JavaScriptquot; > location.href='http://www.CheNico.com'; </SCRIPT> </HEAD> <BODY> <br />Abrir una web en Pop Up<br />Con este código vamos a hacer que al entrar en nuestra página automáticamente se abra otra, ej. otra Web nuestra, una sección que queremos mostrar, una publicidad, etc. <script language='JavaScript'>window.open('http://www.chenico.com', 'geoflotante', '');</script> <br />NO permitir seleccionar el texto de nuestra web<br />Con este código vamos a impedir que los visitantes seleccionen el texto de nuestra página para luego copiarlo a otro lado. <script language=quot; Javascriptquot; > <!-- Begin function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function (quot; return falsequot;  if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } // End --> </script> <br />Horas restantes para finalizar el dia<br />Con este código insertamos un pequeño relojito que indica la cuenta regresiva de las horas, minutos y segundos que faltan para finalizar el día. <body> <p>El reloj...</p> <form name=quot; Relojquot; > <input type=quot; textquot; size=quot; 7quot; name=quot; tiempoquot; value=quot; mm:hh:ssquot; title=quot; Tiempo restante para finalizar el díaquot; > <script language=quot; JavaScriptquot; > <!-- var tiempoAtras; updateReloj(); function updateReloj() { var tiempo = new Date(); var hora = 23-tiempo.getHours(); var minutos = 59-tiempo.getMinutes(); var segundos = 59-tiempo.getSeconds(); tiempoAtras= (hora < 10) ? hora :hora; tiempoAtras+= ((minutos < 10) ? quot; :0quot; : quot; :quot;  + minutos; tiempoAtras+= ((segundos < 10) ? quot; :0quot; : quot; :quot;  + segundos; document.Reloj.tiempo.value = tiempoAtras; setTimeout(quot; updateReloj()quot; ,1000); } //--> </script> </form> </body> <br />Recomendar pagina<br />Con este código podemos hacer que si a un visitante le gustó nuestra Web, la recomiende a un amigo escribiendo su dirección de correo electrónico en la casilla, al hacer click en quot; Recomendar esta Webquot; se envía un mensaje de correo con el asunto quot; Pienso que te puede interesar esta página...quot; y en el cuerpo del mensaje aparece la dirección completa donde se encuentra el código y el título de la misma. <form name=quot; eMailerquot; > ENVÍA ESTA PÁGINA A UN AMIGO <br> Indica su e-mail: <br> <input type=quot; textquot; name=quot; addressquot; size=quot; 25quot; > <br> <input type=quot; buttonquot; value=quot; Recomendá esta Web!quot; onClick=quot; mailThisUrl();quot; > </form> <script language=quot; JavaScript1.2quot; > var good; function checkEmailAddress(field) { // the following expression must be all on one line... var goodEmail = field.value.match(/b(^(S+@).+((.com)|(.net)| (.edu)|(.mil)|(.gov)|(.org)|(..{2,2}))$)b/gi); if (goodEmail){ good = true } else { alert('Por favor introduce un e-mail valido') field.focus() field.select() good = false } } u = window.location; m = quot; Pienso que te puede interesar esta página...quot; ; function mailThisUrl(){ good = false checkEmailAddress(document.eMailer.address) if (good){ // the following expression must be all on one line... window.location = quot; mailto:quot; +document.eMailer.address.value+quot; ?subject=quot; +m+quot; &body=quot; +document.title+quot; quot; +u; } } </script> <br />Crear un formulario o un Libro de visitas<br />Con este código podemos crear un formulario para que complete el visitante. O también un libro de visitas, luego que el visitante apriete el botón quot; enviarquot; , los datos serán enviados a tu casilla de correo. <H2>Libro de visitas de www.CheNico.com</H2> <FORM ACTION=quot; mailto:tunombre@tuservidor.comquot; METHOD=quot; postquot; > <TABLE> <TD ALIGN=RIGHT>Nombre:</TD> <TD><INPUT type=quot; textquot; size=36 name=quot; nombrequot; ></TD> <TR><TD ALIGN=RIGHT>Direccion E-mail:</TD> <TD><INPUT type=quot; textquot; size=36 name=quot; direccionquot; ></TD> <TR><TD ALIGN=RIGHT>como llegaste hasta esta pagina?</TD> <TD><INPUT type=quot; textquot; size=36 name=quot; procedenciaquot; ></TD> <TR><TD ALIGN=RIGHT>Tus comentatios:</TD> <TD><TEXTAREA rows=5 cols=30 name=quot; comentariosquot; ></TEXTAREA></TD> </TABLE> <INPUT type=quot; resetquot; value=quot; Borrar todoquot; > <INPUT type=quot; submitquot; value=quot; Enviarquot; > </FORM> <br />Crear un titulo que cambia de Colores<br />Este codigo esta muy largo pero de todas formas lo dejo para que lo chequen y tambien les voy a dejar el link para que vean como tiene que quedar Este es el código: <!-- inicio de head--> <script> mesk=new Array();mesk[10]=quot; Aquot; ;mesk[11]=quot; Bquot; ;mesk[12]=quot; Cquot; ;mesk[13]=quot; Dquot; ;mesk[14]=quot; Equot; ;mesk[15]=quot; Fquot; ;A=10;B=11;C=12;D=13;E=14;F=15;let=quot; ABCDEFquot; ;functionmes(num){if(let.indexOf(num) != -1){return eval(num)};else{if(num < 10){return eval(num)};else{return mesk[num]}}}; function color(begin,einde,stappen,stap){ hh1=(mes(begin.charAt(0))*16)+mes(begin.charAt(1)); hh2=(mes(begin.charAt(2))*16)+mes(begin.charAt(3)); hh3=(mes(begin.charAt(4))*16)+mes(begin.charAt(5)); pp1=(mes(einde.charAt(0))*16)+mes(einde.charAt(1)); pp2=(mes(einde.charAt(2))*16)+mes(einde.charAt(3)); pp3=(mes(einde.charAt(4))*16)+mes(einde.charAt(5)); if(hh1 < pp1){ff1=hh1+Math.floor((pp1-hh1)/stappen*stap); ff1=eval(quot; 'quot; +mes(Math.floor(ff1/16))+quot; 'quot; +eval(quot; 'quot; +mes(ff1-(Math.floor(ff1/16)*16))+quot; 'quot; ;} ;else{ff1=hh1-Math.floor((hh1-pp1)/stappen*stap); ff1=eval(quot; 'quot; +mes(Math.floor(ff1/16))+quot; 'quot; +eval(quot; 'quot; +mes(ff1-(Math.floor(ff1/16)*16))+quot; 'quot; ;} if(hh2 < pp2){ff2=hh2+Math.floor((pp2-hh2)/stappen*stap); ff2=eval(quot; 'quot; +mes(Math.floor(ff2/16))+quot; 'quot; +eval(quot; 'quot; +mes(ff2-(Math.floor(ff2/16)*16))+quot; 'quot; ;} ;else{ff2=hh2-Math.floor((hh2-pp2)/stappen*stap); ff2=eval(quot; 'quot; +mes(Math.floor(ff2/16))+quot; 'quot; +eval(quot; 'quot; +mes(ff2-(Math.floor(ff2/16)*16))+quot; 'quot; ;} if(hh3 < pp3){ff3=hh3+Math.floor((pp3-hh3)/stappen*stap); ff3=eval(quot; 'quot; +mes(Math.floor(ff3/16))+quot; 'quot; +eval(quot; 'quot; +mes(ff3-(Math.floor(ff3/16)*16))+quot; 'quot; ;} ;else{ff3=hh3-Math.floor((hh3-pp3)/stappen*stap); ff3=eval(quot; 'quot; +mes(Math.floor(ff3/16))+quot; 'quot; +eval(quot; 'quot; +mes(ff3-(Math.floor(ff3/16)*16))+quot; 'quot; ;} ;return ff1+ff2+ff3} bum=0;bum2=0;txt=new Array();txt[0]=quot; quot; ;function lightf(){ for(i=0;i != Math.floor(message.length/2);i++){txt=color(lightcolor1,lightcolor2,Math.floor(message.length/2),i)}; for(i=Math.floor(message.length/2);i != message.length;i++){txt=color(lightcolor2,lightcolor1,Math.floor(message.length/2),(i-Math.floor(message.length/2)))}; lightf1()} function lightf1(){txt[message.length+1]=quot; quot; ;bum2=message.length-bum;for(i=0;i != message.length;i++){if(i+bum < message.length){txt[message.length+1]=txt[message.length+1]+quot; <font color='#quot; +txt[(i+bum)]+quot; '>quot; +message.charAt(i)+quot; </font>quot; };else{txt[message.length+1]=txt[message.length+1]+quot; <font color='#quot; +txt[i-bum2]+quot; '>quot; +message.charAt(i)+quot; </font>quot;  }};if(bum != message.length){bum++;};else{bum=0};light.innerHTML=txt[message.length+1];setTimeout(quot; lightf1()quot; ,50)} </script> </head> <body bgcolor=quot; #FFFFFFquot; background=quot; globulos.jpgquot; > <!--inicio del body --> <center><h1><div id=quot; lightquot; ></div></h1> <script> lightcolor1=quot; FF0000quot; // color lightcolor2=quot; 33CC66quot; // color message=quot; Título que cambia de coloresquot; // introduce el texto lightf() </script> </center> <!--fin del body --> Este es el link de la pagina para que vean como queda http://www.trucos-pc.8k.com/trucospchcolores.htm <br />Cuadro explicativo de enlaces<br />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=quot; JavaScriptquot; ><!-- function escribe(frase){document.desplaza.cuadro.value=frase; } // --></script> </p> <table border=quot; 0quot; > <tr> <td width=quot; 200quot; ><p align=quot; centerquot; ><strong>Opciones.</strong></p> <p><a href=quot; http://www.CheNico.comquot;  onmouseover=quot; escribe(' Página principaln ----------------nn Cuando hagas Click en este enlace irás directamente a la página de inicio de mi web');quot; >Página principal</a><br> <a href=quot; http://***/pauluk/trucosprin.htmquot;  onmouseover=quot; 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');quot; >Trucos PC</a><br> <a href=quot; http://***/pauluk/GLOSARIO.HTMquot;  onmouseover=quot; 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.');quot; >Glosario</a><br> </p> </td> <td><form name=quot; desplazaquot; > <p><textarea name=quot; cuadroquot; rows=quot; 8quot; cols=quot; 30quot;  wrap=quot; physicalquot; ></textarea></p> </form> </td> </tr> </table> <br />Insertar un sonido o música de fondo<br />Si quieren que los visitantes escuchen una canción mientras visitan la Web, o simplemente recibirlos con una melodía estilo presentación, este es el código que estabas buscando. Solo tenés que guardar el sonido en el directorio raíz de tu servidor e insertar el siguiente código html: <BGSOUND SRC=quot; sonido.midquot; LOOP=none> <WIDTH=200 HEIGHT=55 AUTOSTART=quot; truequot; LOOP=quot; falsequot; HIDDEN=quot; truequot; > Se recomienda usar sonidos en formato quot; midiquot;  que son los de menor peso. <br />Crear un link para dowland<br />Si queremos poner archivos para que los visitantes los puedan descargar a sus computadoras, solo debemos subir ese archivo a nuestro servidor e insertar en nuestra Web el siguiente código HTML: <a href=quot; ejemplo.exequot; >Descripción del enlace </a> No existe un comando que inicie la descarga. Lo que sucede es que, siempre que aparece un tipo de archivo no reconocido por el navegador, este comienza a descargarlo automáticamente. Ejemplo: Si el navegador no logra abrir un archivo quot; zipquot; (compactado), inicia la descarga automáticamente. <br />Efecto nieve en cualquier imagen<br />Podés cambiar la imagen reemplazando por una tuya alojada en el servidor poniendo su nombre donde está en rojo. <script> var no = 5; // snow number var speed = 15; // smaller number moves the snow faster var snowflake = quot; snow.gifquot; ; 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 = 0; // set coordinate variables xp = Math.random()*(doc_width-50); // set position variables yp = Math.random()*doc_height; am = Math.random()*20; // set amplitude variables stx = 0.02 + Math.random()/10; // set step variables sty = 0.7 + Math.random(); // set step variables if (ns4up) { // set layers if (i == 0) { document.write(quot; <layer name=quot; dotquot; + i +quot; quot; left=quot; 15quot; quot; ; document.write(quot; top=quot; 15quot; visibility=quot; showquot; ><img src=quot; quot; ; document.write(snowflake + quot; quot; border=quot; 0quot; ></layer>quot; ; } else { document.write(quot; <layer name=quot; dotquot; + i +quot; quot; left=quot; 15quot; quot; ; document.write(quot; top=quot; 15quot; visibility=quot; showquot; ><img src=quot; quot; ; document.write(snowflake + quot; quot; border=quot; 0quot; ></layer>quot; ; } } else if (ie4up) { if (i == 0) { document.write(quot; <div id=quot; dotquot; + i +quot; quot; style=quot; POSITION: quot; ; document.write(quot; absolute; Z-INDEX: quot; + i +quot; ; VISIBILITY: quot; ; document.write(quot; visible; TOP: 15px; LEFT: 15px;quot; ><img src=quot; quot; ; document.write(snowflake + quot; quot; border=quot; 0quot; ></div>quot; ; } else { document.write(quot; <div id=quot; dotquot; + i +quot; quot; style=quot; POSITION: quot; ; document.write(quot; absolute; Z-INDEX: quot; + i +quot; ; VISIBILITY: quot; ; document.write(quot; visible; TOP: 15px; LEFT: 15px;quot; ><img src=quot; quot; ; document.write(snowflake + quot; quot; border=quot; 0quot; ></div>quot; ; } } } function snowNS() { // Netscape main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp += sty; if (yp > doc_height-50) { xp = Math.random()*(doc_width-am-30); yp = 0; stx = 0.02 + Math.random()/10; sty = 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx += stx; document.layers[quot; dotquot; +i].top = yp; document.layers[quot; dotquot; +i].left = xp + am*Math.sin(dx); } setTimeout(quot; snowNS()quot; , speed); } function snowIE() { // IE main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp += sty; if (yp > doc_height-50) { xp = Math.random()*(doc_width-am-30); yp = 0; stx = 0.02 + Math.random()/10; sty = 0.7 + Math.random(); doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx += stx; document.all[quot; dotquot; +i].style.pixelTop = yp; document.all[quot; dotquot; +i].style.pixelLeft = xp + am*Math.sin(dx); } setTimeout(quot; snowIE()quot; , speed); } if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } </script> Link para que vean como queda: http://www.trucos-pc.8k.com/trucospcnieve.htm <br />Subrayar link al pasar el mouse<br />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=quot; text/cssquot; > <!-- 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=quot; l1.htmquot; >El texto que quieras.</a><br> <a href=quot; l2.htmquot; >otro texto.</a><br> <a href=quot; l3.htmquot; >Otro texto.</a><br> </p> <br />Transformar el cursor en una mira<br />Transformá la clásica flechita de Windows en una mira de disparo. <style type=quot; text/cssquot; > <!-- body { cursor: crosshair} --> </style> <br />Tabla de colores html competa<br />Esta si esta dificil de poner en el post mejor les voy a poner el link para que se vallan directamente a ella: http://www.usuarios.sion.com/pauluk/coloreshtml.htm <br />Comentario sobre un link en la barra de estado<br />Al pasar el mouse sobre el link deseado, veremos en la barra de estado un comentario sobre éste. Por ejemplo posicionen el mouse sobre Pauluk Computación y vean en la barra de estado. (para verlo bien en ésta página pasen el mouse varias veces, ya que hay otro código parecido que lo obstruye). <a href=quot; http://www.CheNico.comquot;  onmouseout=quot; window.status=''quot;  onmouseover=quot; window.status='Acá aparece el mensaje que quieras';return truequot; > Pauluk Computación</a> <br />Dificultar copia de pagina<br />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(quot; Coloca el mensaje aquí.quot; ; return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert(quot; Coloca el mensaje aquí.quot; ; return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; </script> Nota: Para evitar este truco, también hay un contratruco, si entrás a una página que tiene este truco que no te deja copiar imágenes o texto, solo tenés que hacer click con el botón derecho del mouse sobre la barra de estado y sin soltarlo arrastrarlo hasta la imágen. Listo, se abrirá el menú como si la página no estuviese bloqueada a la copia. Hay que tener en cuenta que muy poca gente conoce este truco, por lo tanto podés usar tranquilo el truco de bloqueo. <br />Establecer como una pagina de inicio<br />Este código html te sirve para crear un link para que el visitante pueda hacer que tu página sea la de inicio de su computadora. Con solo hacer clic sobre el link creado, tu página se iniciará automáticamente cada vez que esa persona se conecte a Internet. <A class=chlnk style=quot; FONT-WEIGHT: bold; CURSOR: hand; COLOR: #004080; FONT-FAMILY: Verdanaquot; onclick= quot; this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.CheNico.com');quot; > <FONT face=Arial color=#000000 size=-2><U> Establecer como página de inicio</U></FONT></A> <br />Enviar un e-mail con mensaje y asunto<br />Con este truco podés hacer que al hacer clic sobre una palabra, se abra el Outlook para enviar un mensaje con tu dirección, el asunto que quieras y el texto que quieras <a href=quot; mailto:webmaster@pauluk.8k.com?subject=Prueba.&body=Estoy probando el truco...quot; >Hacé clic acá para mandarme un mensaje</a> <br />Abrir enlace en una ventana nueva<br />Cuando tenemos Links en nuestras páginas y alguien hace clic sobre ellos, automáticamente se abre esa dirección en nuestra ventana. Con este truco podemos hacer que al hacer clic sobre un determinado Link, esta dirección se abra en una ventana nueva, quedando la nuestra también abierta: <a href=quot; http://www.CheNico.comquot; target=quot; _blankquot; >Pauluk Computación</a><br />Crear un PopUp:<br />Abrir una pequeña ventana con una imagen. Podemos darle las medidas que queramos cambiando quot; Widthquot; y quot; Heightquot; .<br /><a name=quot; 1quot; ></a><Aonclick=quot; window.open('MiFoto.jpg','Estructuras','toolbar=no,location=no,scrollbars=yes,directories=no,status=no,menubar=no,resizable=no,width=400,height=475');quot;  href=quot; #1quot; ><b><font face=quot; Verdanaquot; size=quot; 2quot; >Ejemplo</font></b></a><br /> <br /> <br />Otra barra con mas colores:<br />A continuación veremos otro código para ponerle color a la barra de desplazamiento, en este caso vamos a poder personalizar los colores de la barra, del fondo y los bordes. Reemplazar los nombres de los colores por otros o por los código de letras y números. Mas abajo está la tabla de colores.<br /><style><!--body { scrollbar-face-color: darkgreen ;scrollbar-shadow-color: yellow;scrollbar-highlight-color: violet;scrollbar-3dlight-color: navy;scrollbar-darkshadow-color: magenta;scrollbar-track-color: blue;scrollbar-arrow-color: black }--></style><br />Observación: para ver este truco, es necesario tener instalada las últimas versiones de los navegadores. Preferentemente Internet Explorer 6.<br /> <br /> <br />Abrir un link de una imagen en una ventana nueva:<br />Con este código podemos insertar una imagen (ej. banner) y que al hacer click sobre ella se abra el link de destino en una ventana nueva. Primero ponemos la ruta del link de destino, y luego la ruta donde está alojada la imagen. Si está alojada en la raíz de nuestro servidor solo ponemos el nombre y listo.<br /><a href=quot; http://www.CheNico.comquot; target=quot; _blankquot; ><img src=quot; imagen.gifquot; border=0></a><br /> <br /> <br />Hora y texto en la barra de estado:<br />Con este truco, podemos hacer que aparezca en la barra de estado la hora de la PC que entra a nuestra Web y poner el texto que queramos.<br /><script language=quot; JavaScriptquot; ><!--mensaje=quot; |======| www.CheNico.com quot;  function hora() { var h = new Date(); window.status=quot; |======| quot; + h.getHours() +quot; :quot; + h.getMinutes() +quot; quot; +mensaje ; window.setTimeout('hora()',100); }hora()//--></script><br /> <br /> <br />Botón animado:<br />Aprendé a dar movimiento a tu página con botones animados por Java Script. Cada botón puede llevar a un enlace distinto. Sólo tienes que configurar los parámetros quot; lineArrquot; y quot; urlArrquot; del script, que permiten destacar cosas en tu página.<br /><font face=quot; Arial, Helvetica, sans-serifquot; size=quot; 2quot; ><script language=quot; JavaScriptquot; >var timerID = nullvar timerRunning = falsevar charNo = 0var charMax = 0var lineNo = 0var lineMax = 3var lineArr = new Array(lineMax)var urlArr = new Array(lineMax)lineArr[1] = quot; Pauluk Computaciónquot;  urlArr[1] = quot; http://www.CheNico.comquot; lineArr[2] = quot; Trucos PCquot;  urlArr[2] = quot; http://www.pauluk.8k.com/trucosprin.htmquot; lineArr[3] = quot; Noticias Tecnológicas y Actualidadquot;  urlArr[3] = quot; http://www.pauluk.8k.com/noticias.htmquot; var lineText = lineArr[1]function StartShow() {StopShow()ShowLine()timerRunning = true}function FillSpaces() {for (var i = 1; i <= lineWidth; i++) {spaces += quot; quot; }}function StopShow() {if (timerRunning) {clearTimeout(timerID)timerRunning = false}}function ShowLine() {if (charNo == 0) {if (lineNo < lineMax) {lineNo++}else {lineNo = 1}lineText = lineArr[lineNo]charMax = lineText.length}if (charNo <= charMax) {document.formDisplay.buttonFace.value = lineText.substring(0, charNo)charNo++timerID = setTimeout(quot; ShowLine()quot; , 100)}else {charNo = 0timerID = setTimeout(quot; ShowLine()quot; , 3000)}}function GotoUrl(url){top.location.href = url} document.write(quot; <form name=" formDisplay" >quot; );document.write(quot; <input type=" button" name=" buttonFace" value=" &{lineText}" size=" 18" onClick=" GotoUrl(urlArr[lineNo])" >quot; );document.write(quot; </form>quot; );StartShow();</script></font><br /> <br /> <br />Letrero de mensajes:<br />Este es un efecto muy fácil de lograr y muy funcional para tu página. Podés definir cuántos textos y enlaces quieras. Ellos se destacarán y tu página quedará mucho más dinámica. Podés ver cómo personalizar este recurso al final de esta página. Es mejor que Java ya que es mucho más liviano y rápido de cargarse, y no necesita archivos adicionales.<br />Para incluir este recurso en tu página debes seguir dos pasos:<br />Paso 1: Incluye el siguiente código en tu etiqueta quot; <BODY>quot; , agrega un espacio después del último parámetro e incluye: <br />onload=quot; if (document.all||document.layers) {regenerate2();update()}quot;   <br />Observa un ejemplo sencillo de cómo quedaría la etiqueta: <br /><body onload=quot; if (document.all||document.layers) {regenerate2();update()}quot; ><br /> <br />Paso 2: Pega en tu página HTML el siguiente código personalizando las partes indicadas:<br /> <br /><style><!-- #mensagem{position:relative;layer-background-color:black;width:400;height:12;}#submensagem{background-color:black;position:absolute;border: 1px solid black;width:400;height:12;}.submensagemfont{font:bold 12px Verdana;text-decoration:none;color:white;}.submensagemfont a{top:0;color:white;text-decoration:none;}--></style><div id=quot; mensagemquot; > <div id=quot; submensagemquot; class=quot; submensagemfontquot; >Iniciando...</div></div><script language=quot; JavaScript1.2quot; >var speed=4500var textos=new Array()textos[0]=quot; <center><a href='Enlace1 Aquí'>Descripción del enlace1 aquí</a></center>quot; textos[1]=quot; <center><a href='Enlace2 Aquí'>Descripción del enlace2 aquí</a></center>quot; textos[2]=quot; <center><a href='Enlace3 Aquí'>Descripción del enlace3 aquí</a></center>quot; <br />i=0if (document.all)tickerobject=document.all.submensagem.styleelsetickerobject=document.mensagem.documentfunction regenerate(){window.location.reload()}function regenerate2(){if (document.layers)setTimeout(quot; window.onresize=regeneratequot; ,450)}<br />function update(){BgFade(0xff,0xff,0xff, 0x00,0x00,0x00,10);if (document.layers){document.mensagem.document.submensagem.document.write('<span class=quot; submensagemfontquot; >'+textos[i]+'</span>')document.mensagem.document.submensagem.document.close()}else document.all.submensagem.innerHTML=textos[i]<br />if (i<textos.length-1)i++elsei=0setTimeout(quot; update()quot; ,speed)}function BgFade(red1, grn1, blu1, red2,grn2, blu2, steps) {sred = red1; sgrn = grn1; sblu = blu1; ered = red2; egrn = grn2; eblu = blu2; inc = steps; step = 0; RunFader();}function RunFader() {var epct = step/inc; var spct = 1 - epct; if (document.layers)tickerobject.bgColor =Math.floor(sred * spct + ered *epct)*256*256 +Math.floor(sgrn * spct + egrn * epct)*256 +Math.floor(sblu * spct + eblu * epct); elsetickerobject.backgroundColor=Math.floor(sred * spct + ered *epct)*256*256 +Math.floor(sgrn * spct + egrn * epct)*256 +Math.floor(sblu * spct + eblu * epct); if ( step < inc ) {setTimeout('RunFader()',50); }step++;}</script><br /> <br /> <br />Pantalla que tiembla:<br />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.<br /><html><head><title>www.CheNico.com</title><meta http-equiv=quot; Content-Typequot; content=quot; text/html; charset=iso-8859-1quot; ></head><body bgcolor=quot; #FFFFFFquot; text=quot; #000000quot; ><p> <script language=quot; JavaScript1.2quot; >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(quot; www.CheNico.comquot; );return false;}else if (navigator.appName == 'Microsoft Internet Explorer' &&(event.button == 2 || event.button == 3)) {alert(quot; www.CheNico.comquot; );return false;}return true;}document.onmousedown=right;if (document.layers) window.captureEvents(Event.MOUSEDOWN);window.onmousedown=right;</script></body></html><br />Botón Colorido:<br />¿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.<br />Copia el código que sigue y pegalo dentro de la etiqueta de formulario de tu página:<br /> <br /><input type=quot; submitquot; name=quot; buttonquot; value=quot; www.CheNico.comquot; style=quot; color: #000000; background-color: #FF9900quot; ><br /> <br /> <br />Texto que sigue al mouse:<br /> <br />Hacé que un texto cualquiera siga al mouse del visitante en tu página. Es un efecto fabuloso y fácil de incluir en las páginas<br />Incluye el siguiente código en tu página HTML:<br /> <br /><style>.animado {position:absolute;visibility:visible;top:-50px;font-size:10pt;font-family:Arial;font-weight:bold;color:black;}</style><script language=JavaScript>var x,yvar tempo=10var espera=0<br />var texto=quot; www.CheNico.comquot; texto=texto.split(quot; quot; )<br />var xpos=new Array()for (i=0;i<=texto.length-1;i++) {xpos[i]=-50}<br />var ypos=new Array()for (i=0;i<=texto.length-1;i++) {ypos[i]=-50}<br />function seguir(e){x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientXy = (document.layers) ? e.pageY : document.body.scrollTop+event.clientYespera=1}<br />function animar_cursor() {if (espera==1 && document.all) {for (i=texto.length-1; i>=1; i--) {xpos[i]=xpos[i-1]+tempoypos[i]=ypos[i-1]}xpos[0]=x+tempoypos[0]=y<br />for (i=0; i<texto.length-1; i++) {var camada = eval(quot; spanquot; +(i)+quot; .stylequot; )camada.posLeft=xpos[i]camada.posTop=ypos[i]}}<br />else if (espera==1 && document.layers) {for (i=texto.length-1; i>=1; i--) {xpos[i]=xpos[i-1]+tempoypos[i]=ypos[i-1]}xpos[0]=x+tempoypos[0]=y<br />for (i=0; i<texto.length-1; i++) {var camada = eval(quot; document.spanquot; +i)camada.left=xpos[i]camada.top=ypos[i]}}var timer=setTimeout(quot; animar_cursor()quot; ,30)}<br /></script><script Language=JavaScript>for (i=0;i<=texto.length-1;i++) {document.write(quot; <span id='spanquot; +i+quot; ' class='animado'>quot; )document.write(texto[i])document.write(quot; </span>quot; )}<br />if (document.layers){document.captureEvents(Event.MOUSEMOVE);}document.onmousemove = seguir;animar_cursor()</script><br /> <br /> <br />Imagen volando por la pantalla:<br />Este efecto hace que cualquier imagen que elijas quede quot; paseandoquot; por la pantalla, siendo un recurso excelente tanto para llamar la atención por alguna novedad en tu sitio como para darle más movimiento a la página.<br />Copiá y pegá el siguiente código en tu página HTML.Recordá que la imagen debe estar en el mismo directorio de tu página html.<br /> <br /><SCRIPT language=quot; JavaScript1.2quot; > var imagem=quot; Ingresa el nombre del archivo de imagen aquíquot; if (document.layers){document.write(quot; <LAYER NAME='animacao' LEFT=10 TOP=10><img src='quot; +imagem+quot; ' ></LAYER>quot; )}else if (document.all){document.write(quot; <div id='animacao' style='position:absolute;top:10px;left:10px;width:17px;height:22px;z-index:50'><img src='quot; +imagem+quot; '></div>quot; )}<br />conta=-1; move=1;function curva(){abc=new Array(0,1,1,1,2,3,4,0,6,-1,-1,-1,-2,-3,-4,0,-6)for (i=0; i < abc.length; i++){var C=Math.round(Math.random()*[i])}iniciar=abc[C];setTimeout('curva()',1900);return iniciar;}ypos=10;xpos=10;movimento = 60;function moveR(){caminho=movimento+=iniciar;y = 4*Math.sin(caminho*Math.PI/180);x = 6*Math.cos(caminho*Math.PI/180);if (document.layers){ypos+=y;xpos+=x;document.animacao.top=ypos+window.pageYOffset;document.animacao.left=xpos+window.pageXOffset;}else if (document.all){ypos+=y;xpos+=x;document.all.animacao.style.top=ypos+document.body.scrollTop;document.all.animacao.style.left=xpos+document.body.scrollLeft;}T=setTimeout('moveR()',50);}function edges(){if (document.layers){if (document.animacao.left >= window.innerWidth-40+window.pageXOffset)movimento=Math.round(Math.random()*45+157.5);if (document.animacao.top >= window.innerHeight-30+window.pageYOffset)movimento=Math.round(Math.random()*45-112.5);if (document.animacao.top <= 2+window.pageYOffset) movimento = Math.round(Math.random()*45+67.5);//OK!if (document.animacao.left <= 2+window.pageXOffset) movimento = Math.round(Math.random()*45-22.5);//OK!}else if (document.all){if (document.all.animacao.style.pixelLeft >= document.body.offsetWidth-45+document.body.scrollLeft)movimento=Math.round(Math.random()*45+157.5);if (document.all.animacao.style.pixelTop >= document.body.offsetHeight-35+document.body.scrollTop)movimento=Math.round(Math.random()*45-112.5);if (document.all.animacao.style.pixelTop <= 2+document.body.scrollTop) movimento = Math.round(Math.random()*45+67.5);//OK!if (document.all.animacao.style.pixelLeft <= 2+document.body.scrollLeft) movimento = Math.round(Math.random()*45-22.5);//OK!}setTimeout('edges()',100);}function efeito(){curva();moveR();// onUnload=quot; opener.gO()quot; edges();}if (document.all||document.layers)efeito()</script><br /> <br /> <br />Texto en expansión:<br />Colocá en tu página mensajes animados que se agrandan y llaman la atención de los visitantes. Además, incluyen enlaces hacia donde vos quieras.<br />Copiá el siguiente código y pegalo en tus páginas debajo de la etiqueta <Body>.<br /> <br /><script language=quot; JavaScriptquot; >var velocidade = 45;var ciclo = 2000;var tamanho = 20;var x = 0;var y = 0;var mensagens, size;var esize = quot; </font>quot; ;<br />function initArray() {this.length = initArray.arguments.length;for (var i = 0; i < this.length; i++) {this[i] = initArray.arguments[i];}}var mensagens2 = new initArray(quot; Visitaquot; ,quot; www.CheNico.comquot; ,quot; webmaster@pauluk.8k.comquot; );if(navigator.appName == quot; Netscapequot; )document.write('<layer id=quot; wdsquot; ></layer><br>');if (navigator.appVersion.indexOf(quot; MSIEquot; ) != -1)document.write('<span id=quot; wdsquot; ></span><br>');function aumenta(){ mensagens = mensagens2[y];if (x < tamanho) {x++;setTimeout(quot; aumenta()quot; ,velocidade);}else setTimeout(quot; diminui()quot; ,ciclo);<br />if(navigator.appName == quot; Netscapequot; ) {size = quot; <font face=arial color=#000099 point-size='quot; +x+quot; pt'>quot; ; document.wds.document.write(size+quot; <center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot; +mensagens+quot; </a></center>quot; +esize);document.wds.document.close();}if (navigator.appVersion.indexOf(quot; MSIEquot; ) != -1){wds.innerHTML = quot; <font face=arial color=#000099><center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot; +mensagens+quot; </a></center></font>quot; ;wds.style.fontSize=x+'px'}} function diminui(){if (x > 1) {x--;setTimeout(quot; diminui()quot; ,velocidade);}else {setTimeout(quot; aumenta()quot; ,ciclo);y++;if (y > mensagens2.length - 1) y = 0;}if(navigator.appName == quot; Netscapequot; ) {size = quot; <font face=arial color=#000099 point-size='quot; +x+quot; pt'>quot; ; document.wds.document.write(size+quot; <center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot; +mensagens+quot; </a></center>quot; +esize);document.wds.document.close();}if (navigator.appVersion.indexOf(quot; MSIEquot; ) != -1){wds.innerHTML = quot; <font face=arial color=#000099><center><a href=http://www.CheNico.com Target=_blank style=text-decoration:none;color:#000099>quot; +mensagens+quot; </a></center></font>quot; ;wds.style.fontSize=x+'px'}}setTimeout(quot; aumenta()quot; ,velocidade);</script><br />Página protegida por clave:<br />Este es un excelente recurso. Podés proteger tus páginas con una clave. Así podés definir exactamente quienes entrarán a tu página. No tenés que preocuparte por configuraciones. Es muy sencillo: la clave siempre será el nombre de tu página sin la extensión .htm, es decir, si la página tiene el nombre de quot; ejemplo.htmquot; , la clave será quot; ejemploquot; . ¿Ves que fácil?.<br />Para tener este recurso en tu sitio debes incluir un código en la página de quot; entradaquot; en donde el visitante ingresará la clave, y enviar a tu sitio el archivo de la página que será cargada.<br /> <br /><Form name=quot; frmquot; ><center><Script Language=quot; JavaScriptquot; ><!--//function loadpage(){var psj=0;newwin = window.open(document.frm.pswd.value + quot; .htmquot; ) }//--></script>Ingresa tu clave: <inputtype=quot; passwordquot; name=quot; pswdquot; size=quot; 20quot; ></center><center><p> <input type=quot; buttonquot; value=quot; Entraquot; onClick=quot; loadpage()quot; name=quot; buttonquot; >&nbsp;</p></center></form><br /> <br /> <br />Cambiar el color de la barra de desplazamiento al pasar el mouse:<br />Con este truco podés hacer que además de cambiar el color clásico gris de la barra de desplazamiento por otro, hacer que cuando el mouse se pose sobre ella cambie a otro color. Cambiando los números y letras en verde variaran los colores. Probalo pasando por la barra de la derecha!.<br /> <br /><script language=quot; JavaScript1.2quot; ><!--function scrollBar(line,face,theme){if (!line||!face){line=null;face=null;switch(theme){case quot; bluequot; :var line=quot; blackquot; ;var face=quot; #6699FFquot; ;break;}}with(document.body.style){scrollbarDarkShadowColor=line;scrollbar3dLightColor=line;scrollbarArrowColor=quot; blackquot; ;scrollbarBaseColor=face;scrollbarFaceColor=face;scrollbarHighlightColor=face;scrollbarShadowColor=face;scrollbarTrackColor=quot; #FFFFFFquot; ;}}function colorBar(){var w = document.body.clientWidth;var h = document.body.clientHeight;var x = event.clientX;var y = event.clientY;if(x>w) scrollBar('#000080','#E58D28');else scrollBar(null,null,quot; bluequot; );}if (document.all){scrollBar(null,null,quot; bluequot; );document.onmousemove=colorBar;}//--></script>quot; #6699FFquot; ;break;}}with(document.body.style){scrollbarDarkShadowColor=line;scrollbar3dLightColor=line;scrollbarArrowColor=quot; blackquot; ;scrollbarBaseColor=face;scrollbarFaceColor=face;scrollbarHighlightColor=face;scrollbarShadowColor=face;scrollbarTrackColor=quot; #FFFFFFquot; ;}}function colorBar(){var w = document.body.clientWidth;var h = document.body.clientHeight;var x = event.clientX;var y = event.clientY;if(x>w) scrollBar('#000080','#E58D28');else scrollBar(null,null,quot; bluequot; );}if (document.all){scrollBar(null,null,quot; bluequot; );document.onmousemove=colorBar;}//--></script><br /> <br /> <br />Cambiar el color de la barra de desplazamiento:<br />Con éste código van a conseguir cambiar el clásico color gris de la barra de desplazamiento de la derecha y abajo por el color que quieran. Para cambiar de colores, cambien el número 000000 por otros, cada color tiene su número, pero la lista es muy larga, así que prueben con los número que ya van a encontrar el deseado.<br /><style><!--BODY { scrollbar-base-color : #000000;scrollbar-arrow-color : #FFFFFF; }.nav {color : #FFCC00;font-size : 8pt;}--></style><br /> <br /> <br />Reloj - formato texto:<br />Este es otro tipo de reloj que también cuenta los segundos y que puede utilizar texto. Es muy fácil incluirlo en tu página. Siempre que un usuario acceda a tu sitio el efecto será iniciado.<br /> <br />Paso 1: Para que el recurso se inicie junto con la página, debes incluir dentro de la etiqueta <body> el parámetro de inicio. Agregá un espacio después del último parámetro e incluye:<br /> <br />Onload=quot; show5()quot; <br /> <br />Observa un ejemplo sencillo de cómo queda la etiqueta: <br /><body Onload=quot; show5()quot; ><br /> <br />¡Atención! Sin eso tu reloj no funcionará.<br /> <br />Paso 2: Incluye el siguiente código en tu página después de la etiqueta <body>.<br /> <br /><Font face=Verdana><span id=relogio style=quot; POSITION: absolutequot; ></span><Script Language=JavaScript><!--function show5(){if (!document.layers&&!document.all)returnvar Digital=new Date()var hours=Digital.getHours()var minutes=Digital.getMinutes()var seconds=Digital.getSeconds()var dn=quot; AMquot;  if (hours>12){dn=quot; PMquot; hours=hours-12}if (hours==0)hours=12if (minutes<=9)minutes=quot; 0quot; +minutesif (seconds<=9)seconds=quot; 0quot; +secondsmeurelogio=quot; <font size='5' face='Arial'><b>quot; +hours+quot; :quot; +minutes+quot; :quot; +seconds+quot; quot; +dn+quot; </b></font>quot; if (document.layers){document.layers.relogio.document.write(meurelogio)document.layers.relogio.document.close()}else if (document.all)relogio.innerHTML=meurelogiosetTimeout(quot; show5()quot; ,1000)}<br />//--></script></font><br /> <br /> <br />Poniendo fecha en tu sitio:<br />Aprendé a incluir la fecha en tu sitio sin necesidad de actualizarla cada día. Sólo tenés que usar un JavaScript que automáticamente exhibirá la fecha del día en tu página cada vez que ésta se abra.<br />No tenés que preocuparte con ninguna configuración. Sólo tenés que copiar y pegar el código en tu página.<br /> <br /><script language=quot; JavaScriptquot; ><!--mydate = new Date();myday = mydate.getDay();mymonth = mydate.getMonth();myweekday= mydate.getDate();weekday= myweekday;<br />if(myday == 0)day = quot; Domingo, quot; <br />else if(myday == 1)day = quot; Lunes, quot; <br />else if(myday == 2)day = quot; Martes, quot; <br />else if(myday == 3)day = quot; Miércoles, quot; <br />else if(myday == 4)day = quot; Jueves, quot; <br />else if(myday == 5)day = quot; Viernes, quot; <br />else if(myday == 6)day = quot; Sábado, quot; <br />if(mymonth == 0)month = quot; Enero quot; <br />else if(mymonth ==1)month = quot; Febrero quot; <br />else if(mymonth ==2)month = quot; Marzo quot; <br />else if(mymonth ==3)month = quot; Abril quot; <br />else if(mymonth ==4)month = quot; Mayo quot; <br />else if(mymonth ==5)month = quot; Junio quot; <br />else if(mymonth ==6)month = quot; Julio quot; <br />else if(mymonth ==7)month = quot; Agosto quot; <br />else if(mymonth ==8)month = quot; Setiembre quot; <br />else if(mymonth ==9)month = quot; Octubre quot; <br />else if(mymonth ==10)month = quot; Noviembre quot; <br />else if(mymonth ==11)month = quot; Diciembre quot; <br />document.write(quot; <font face=arial, size=1>quot; + day);document.write(myweekday+quot; de quot; +month+ quot; </font>quot; );// --></script><br /> <br /> <br />Mensaje de bienvenida:<br />Con este recurso personalizás tu sitio para el visitante. Al entrar, el visitante verá un espacio para ingresar su nombre y un mensaje que dice quot; Hola, Fulanoquot; .<br />Copiá el siguiente código y pégalo donde quieras que aparezca el mensaje:<br /> <br /><Script language=quot; JavaScriptquot; >mensagem = prompt(quot; Por favor, ingresa tu nombrequot; ,'');if (mensagem==null) {document.write(quot; ¡Hola, visitante!quot; )}else{if (mensagem=='') {document.write(quot; <b><font face=arial size=2 color=#000000>¡Hola, visitante!</font></b>quot; )}else{document.write(quot; <b><font face=arial size=2 color=#000000>¡Holaquot; +mensagem+quot; ! Bienvenido a mi sitio</font></b>quot; );}}</script><br />Atrás y Adelante:<br />Atrás:<a href=quot; javascript:history.go(-1)quot; >Atrás </a>Adelante: <a href=quot; javascript:history.go(1)quot; >Adelante</a><br /> <br /> <br />Imprimir pagina actual:<a href=quot; javascript:print()quot; >Imprimir</a><br /> <br /> <br />Cartel de novedades:<br />Este efecto te permite tener un cartel o letrero de mensajes incluyendo enlaces para tu sitio. Los mensajes van cruzando la pantalla como si fueran noticias; es un recurso excelente para destacar características especiales de tu sitio. Cada mensaje tendrá un enlace<br />Paso 1: Copiá el siguiente código y pegalo en tu página:<br /> <br /><script language=quot; JavaScript1.2quot; >var largura=150var altura=120var bgcolor='white'var fundo=''<br />var mensagens=new Array()mensagens[0]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 1 aquí'>Coloca el texto del enlace 1 aquí</a></font></center>quot; mensagens[1]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 2 aquí'>Coloca el texto del enlace 2 aquí</a></font></center>quot; mensagens[2]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 3 aquí'>Coloca el texto del enlace 3 aquí</a></font></center>quot; mensagens[3]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 4 aquí'>Coloca el texto del enlace 4 aquí</a></font></center>quot; mensagens[4]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 5 aquí'>Coloca el texto del enlace 5 aquí</a></font></center>quot; <br />if (mensagens.length>1)i=2elsei=0<br />function mover1(whichlayer){tlayer=eval(whichlayer)if (tlayer.top>0&&tlayer.top<=5){tlayer.top=0setTimeout(quot; mover1(tlayer)quot; ,3000)setTimeout(quot; mover2(document.principal.document.segundo)quot; ,3000)return}if (tlayer.top>=tlayer.document.height*-1){tlayer.top-=5setTimeout(quot; mover1(tlayer)quot; ,100)}else{tlayer.top=alturatlayer.document.write(mensagens[i])tlayer.document.close()if (i==mensagens.length-1)i=0elsei++}}<br />function mover2(whichlayer){tlayer2=eval(whichlayer)if (tlayer2.top>0&&tlayer2.top<=5){tlayer2.top=0setTimeout(quot; mover2(tlayer2)quot; ,3000)setTimeout(quot; mover1(document.principal.document.primeiro)quot; ,3000)return}if (tlayer2.top>=tlayer2.document.height*-1){tlayer2.top-=5setTimeout(quot; mover2(tlayer2)quot; ,100)}else{tlayer2.top=alturatlayer2.document.write(mensagens[i])tlayer2.document.close()if (i==mensagens.length-1)i=0elsei++}}<br />function mover3(whichdiv){tdiv=eval(whichdiv)if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){tdiv.style.pixelTop=0setTimeout(quot; mover3(tdiv)quot; ,3000)setTimeout(quot; mover4(segundo2)quot; ,3000)return}if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){tdiv.style.pixelTop-=5setTimeout(quot; mover3(tdiv)quot; ,100)}else{tdiv.style.pixelTop=alturatdiv.innerHTML=mensagens[i]if (i==mensagens.length-1)i=0elsei++}}<br />function mover4(whichdiv){tdiv2=eval(whichdiv)if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){tdiv2.style.pixelTop=0setTimeout(quot; mover4(tdiv2)quot; ,3000)setTimeout(quot; mover3(primeiro2)quot; ,3000)return}if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){tdiv2.style.pixelTop-=5setTimeout(quot; mover4(segundo2)quot; ,100)}else{tdiv2.style.pixelTop=alturatdiv2.innerHTML=mensagens[i]if (i==mensagens.length-1)i=0elsei++}}<br />function iniciar(){if (document.all){mover3(primeiro2)segundo2.style.top=alturasegundo2.style.visibility='visible'}else if (document.layers){document.principal.visibility='show'mover1(document.principal.document.primeiro)document.principal.document.segundo.top=altura+5document.principal.document.segundo.visibility='show'}}</script><table width=quot; 150quot; border=quot; 1quot; cellspacing=quot; 1quot; cellpadding=quot; 0quot; ><tr><td><ilayer id=quot; principalquot; width=&{largura}; height=&{altura}; bgColor=&{bgcolor}; background=&{fundo}; visibility=hide><layer id=quot; primeiroquot; left=0 top=1 width=&{largura};><script language=quot; JavaScript1.2quot; >if (document.layers)document.write(mensagens[0])</script></layer><layer id=quot; segundoquot; left=0 top=0 width=&{largura}; visibility=hide><script language=quot; JavaScript1.2quot; >if (document.layers)document.write(mensagens[1])</script></layer></ilayer><br /><script language=quot; JavaScript1.2quot; >if (document.all){document.writeln('<span id=quot; principal2quot; style=quot; position:relative;width:'+largura+';height:'+altura+';overflow:hiden;background-color:'+bgcolor+' ;background-image:url('+fundo+')quot; >')document.writeln('<div style=quot; position:absolute;width:'+largura+';height:'+altura+';clip:rect(0 '+largura+' '+altura+' 0);left:0;top:0quot; >')document.writeln('<div id=quot; primeiro2quot; style=quot; position:absolute;width:'+largura+';left:0;top:1;quot; >')document.write(mensagens[0])document.writeln('</div>')document.writeln('<div id=quot; segundo2quot; style=quot; position:absolute;width:'+largura+';left:0;top:0;visibility:hiddenquot; >')document.write(mensagens[1])document.writeln('</div>')document.writeln('</div>')document.writeln('</span>')}iniciar()</script></td></tr></table>><br /> <br />Personalizando: Para cambiar el color de fondo o incluir una imagen de fondo, observa esta parte del código:  <br />var largura=150var altura=120var bgcolor='white'var fundo=''<br /> <br />Donde dice quot; whitequot; podés ingresar el valor hexadecimal del nuevo color; por ejemplo: #FFCC00 En quot; fondoquot; podés colocar el nombre de la imagen de fondo del letrero; por ejemplo:<br />var largura=150var altura=120var bgcolor='white'var fundo='Nombre del archivo de imagen' <br />Para incluir más mensajes en el letrero, observá que el último mensaje aparece de la siguiente forma:<br />mensagens[4]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 5 aquí'>Coloca el texto del enlace 5 aquí</a></font></center>quot; <br />Sólo tenés que agregar una unidad al número indicado al final del mensaje. Por ejemplo:<br />mensagens[5]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 5 aquí'>Coloca el texto del enlace 5 aquí</a></font></center>quot;  mensagens[6]=quot; <center><font face='Arial' size=2><a href='Coloca la dirección de la página 6 aquí'>Coloca el texto del enlace 6 aquí</a></font></center>quot; <br />Seguí hasta llegar al número total de mensajes que desees incluir.<br /> <br /> <br />Barra de estado fija:<br />Podés colocar la palabra o el mensaje que quieras en la barra de estado de tu sitio y mantenerlo fijo. De esta forma tu sitio quedará mucho más personalizado, además de contar con otras ventajas. Por ejemplo: el visitante no verá la dirección del enlace al que está apuntando, sólo el mensaje definido por vos.<br /> <br /><Script language=quot; JavaScriptquot; >statuss(); function statuss(){window.status = quot; www.pauluk.8k.com - Un Sitio. Muchas Opciones.quot; ;setTimeout(quot; statuss()quot; , 1);}</script><br />Saludo al visitante:<br />Puedes poner en tu sitio un mensaje personalizado según la hora en que el visitante entre. Este puede recibir el saludo quot; Buen díaquot; , quot; Buenas tardesquot; , quot; Buenas nochesquot; , o puedes sustituirlos por otros mensajes de tu preferencia. De esta forma el visitante verá el mensaje de acuerdo con el horario que entre a tu página.<br /> <br /><Font size=2 face=arial><b><Script Language=quot; JavaScriptquot; ><!-- today = new Date()if(today.getMinutes() < 10){ pad = quot; 0quot; }else pad = quot; quot; ;document.write ;if((today.getHours() >=6) && (today.getHours() <=9)){document.write(quot; ¡Buen día!quot; )}if((today.getHours() >=10) && (today.getHours() <=11)){document.write(quot; ¡Buen día!quot; )}if((today.getHours() >=12) && (today.getHours() <=19)){document.write(quot; ¡Buenas tardes!quot; )} if((today.getHours() >=20) && (today.getHours() <=23)){document.write(quot; ¡Buenas noches!quot; )}if((today.getHours() >=0) && (today.getHours() <=3)){document.write(quot; ¡Buenas noches!quot; )}if((today.getHours() >=4) && (today.getHours() <=5)){document.write(quot; ¡Buenas noches!quot; )}// --></script></b></font><br /> <br /> <br />Texto animado:<br />Con este recurso puedes hacer que cualquier texto tenga movimiento en tu página. Es ideal para destacar tu logo o lo que vos prefieras.<br /> <br /><script language=quot; JavaScriptquot; ><!--done = 0;step = 4function anim(yp,yk){if(document.layers) document.layers[quot; textoquot; ].top=yp;else document.all[quot; textoquot; ].style.top=yp;if(yp>yk) step = -4if(yp<60) step = 4setTimeout('anim('+(yp+step)+','+yk+')', 35);}function start(){if(done) returndone = 1;if(navigator.appName==quot; Netscapequot; ) {document.texto.left=innerWidth/2 - 145;anim(60,innerHeight - 60)}else {texto.style.left=11;anim(60,document.body.offsetHeight - 60)}}// --></script><br /><div id=quot; textoquot; style=quot; position: absolute; top: -50; color: #FF8000; font-family: Arial, Helvetica; font-weight:bold; font-size:40px;quot; > <p><font face=quot; Arial, Helvetica, sans-serifquot; size=quot; 3quot; ><b><font size=quot; 6quot; color=quot; #990000quot; >INGRESA TU TEXTO AQUI</font></b></font></p></div><br /><script language=quot; JavaScriptquot; ><!--setTimeout('start()',10);//--></script><br /> <br /> <br />Texto de apertura:<br />Este es un recurso muy interesante. Podés lograr que, al entrar a tu página, el usuario vea un mensaje de bienvenida o cualquier otro que configures. Luego, el usuario es llevado automáticamente a la página que tú definas.<br />Para tener este recurso en tu página, sólo debes copiar el siguiente código, pegarlo en tu editor y guardar la página como principal. De esta forma, al entrar a tu página, los visitantes verán los mensajes y luego serán llevados a la página que tú definas. Es muy fácil configurar este recurso. Basta con alterar las áreas destacadas en negrito en el código. Si tienes problemas con algún editor HTML que no reconozca el código, copia y pega este código en el bloc de notas del Windows u otro editor de texto y no olvides guardarlo con extensión html.<br /> <br /><HTML><HEAD><TITLE>Ingresa el título aquí</TITLE><SCRIPT LANGUAGE = quot; JavaScriptquot; >function makeArray() {this.length = makeArray.arguments.length;for (var i = 0; i < this.length; i++)this[i + 1] = makeArray.arguments[i];}<br />function makeSlideShow (obj, wait, pre, url) {this.curText = '';this.posit = 1; this.word = obj; this.length = obj.length;this.pre = pre;this.wait = wait;this.url = url;this.display = displaySlideShow;}<br />function displaySlideShow() {if (this.posit <= this.length) {this.curText = this.word[this.posit]outStringWord = blankFrameTop + this.pre + this.curText + blankFrameBottom;parent.draw.location = 'javascript:parent.outStringWord';this.posit++;}else {doneLoop = true;top.location = this.url;}}<br />function displayLoop() {if (!doneLoop) reDraw = setTimeout('displayLoop()', wordIntro.wait);wordIntro.display();}<br />var words = new makeArray ('Ingresa el primer texto aquí', 'Ingresa el segundo texto aquí', 'Ingresa el tercer texto aquí', 'Ingresa el cuarto texto aquí', 'ABRIENDO EL SITIO... ');var wordIntro = new makeSlideShow (words, 2500, '<CENTER><BR><BR><BR><BR><BR><BR><BR><BR><FONT SIZE = 5>', 'Ingresa aquí el URL de la página que aparecerá');var blankFrameTop = '<HTML><BODY BGCOLOR = quot; #000000quot; TEXT = quot; #FFFFFFquot; >';var blankFrameBottom = '</BODY></HTML>';var blankFrame = blankFrameTop + blankFrameBottom;var doneLoop = false;<br /></SCRIPT></HEAD><FRAMESET onLoad = quot; displayLoop()quot; ROWS = quot; 100%, *quot; FRAMEBORDER = NO BORDER = 0><br /><FRAME SCROLLING=AUTOSRC = quot; javascript:parent.blankFramequot; NAME = quot; drawquot;  MARGINWIDTH = 2 MARGINHEIGHT = 2></FRAMESET> </HTML><br /> <br /> <br />Texto en la barra de estado:  <br />Con este recurso podés incluir varios mensajes, novedades y noticias sobre tu sitio. Es una forma de destacar lo que quieras y también de agregar un efecto diferente a tu sitio.<br /> <br /><script LANGUAGE=quot; JavaScriptquot; ><!-- var speed = 10 var pause = 1500 var timerID = nullvar bannerRunning = false var ar = new Array()<br />ar[0] = quot; Ingresa aquí el primer texto quot; ar[1] = quot; Ingresa aquí el segundo textoquot; ar[2] = quot; Ingresa aquí el tercer textoquot; ar[3] = quot; Ingresa aquí el cuarto textoquot; ar[4] = quot; Ingresa aquí el quinto textoquot; <br />var message = 0 var state = quot; quot;  clearState()<br />function stopBanner() { if (bannerRunning) clearTimeout(timerID) timerRunning = false}<br />function startBanner() { stopBanner() showBanner()}<br />function clearState() { state = quot; quot;  for (var i = 0; i < ar[message].length; ++i) { state += quot; 0quot;  }}<br />function showBanner() { if (getString()) { message++ if (ar.length <= message) message = 0 clearState() timerID = setTimeout(quot; showBanner()quot; , pause) } else { var str = quot; quot;  for (var j = 0; j < state.length; ++j) { str += (state.charAt(j) == quot; 1quot; ) ? ar[message].charAt(j) : quot; quot;  } window.status = str timerID = setTimeout(quot; showBanner()quot; , speed) }}<br />function getString() { var full = true for (var j = 0; j < state.length; ++j) { if (state.charAt(j) == 0) full = false } if (full) return true while (1) { var num = getRandom(ar[message].length) if (state.charAt(num) == quot; 0quot; ) break } state = state.substring(0, num) + quot; 1quot; + state.substring(num + 1, state.length) return false}<br />function getRandom(max) { var now = new Date() var num = now.getTime() * now.getSeconds() * Math.random() return num % max}// --></script><br />Paso 2: Ingresa el siguiente código en la etiqueta <body> de tu página:<br /><Body onLoad=quot; startBanner()quot; ><br />Si ya existen otros parámetros en tu etiqueta body, sólo agrega un espacio después del último e incluye onLoad=quot; startBanner()quot; . Este comando es importante para hacer que el texto aparezca en la barra de estado inmediatamente al cargarse la página.<br />Efecto de apertura:<br />Este es un recurso fabuloso y muy fácil que permite crear un efecto de entrada a tu página. Es sólo copiar y pegar el código en tu página. Siempre que alguien acceda a tu sitio el efecto será activado.<br /> <br /><style><!--.entrada{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}--></style><div id=quot; i1quot; class=quot; entradaquot; ></div><div id=quot; i2quot; class=quot; entradaquot; ></div><div id=quot; i3quot; class=quot; entradaquot; ></div><div id=quot; i4quot; class=quot; entradaquot; ></div><div id=quot; i5quot; class=quot; entradaquot; ></div><div id=quot; i6quot; class=quot; entradaquot; ></div><div id=quot; i7quot; class=quot; entradaquot; ></div><div id=quot; i8quot; class=quot; entradaquot; ></div><script language=quot; JavaScript1.2quot; >//var velocidade=10var tempo=new Array()var tempo2=new Array()if (document.layers){for (i=1;i<=8;i++){tempo[i]=eval(quot; document.iquot; +i+quot; .clipquot; )tempo2[i]=eval(quot; document.iquot; +i)tempo[i].width=window.innerWidth/8-0.3tempo[i].height=window.innerHeighttempo2[i].left=(i-1)*tempo[i].width}}else if (document.all){var clipbottom=document.body.offsetHeight,cliptop=0for (i=1;i<=8;i++){tempo[i]=eval(quot; document.all.iquot; +i+quot; .stylequot; )tempo[i].width=document.body.clientWidth/8tempo[i].height=document.body.offsetHeighttempo[i].left=(i-1)*parseInt(tempo[i].width)}}function openit(){window.scrollTo(0,0)if (document.layers){for (i=1;i<=8;i=i+2)tempo[i].bottom-=velocidadefor (i=2;i<=8;i=i+2)tempo[i].top+=velocidadeif (tempo[2].top>window.innerHeight)clearInterval(stopit)}else if (document.all){clipbottom-=velocidadefor (i=1;i<=8;i=i+2){tempo[i].clip=quot; rect(0 auto+quot; +clipbottom+quot; 0)quot; }cliptop+=velocidadefor (i=2;i<=8;i=i+2){tempo[i].clip=quot; rect(quot; +cliptop+quot; auto auto)quot; }if (clipbottom<=0)clearInterval(stopit)}}function gogo(){stopit=setInterval(quot; openit()quot; ,100)}gogo()</script><br /> <br />¿Querés cambiar el color? Podés cambiarlo por cualquier otro color. ¡Es muy fácil:<br />Observá que existe una parte del código que contiene:<br /> <br /><style><!--.entrada{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}--></style><br /> <br />Donde dice quot; greenquot; , debes poner el nombre en inglés o el código hexadecimal del color que deseas.<br />Podés también seleccionar uno de los colores que siguen y sustituir la referida parte del código original por esta nueva que vas a recibir.<br /> <br /> <br />Imagen que sigue al mouse:<br /> <br />Observá cómo queda el cursor del mouse con este recurso. Podés elegir la imagen que quieras y ésta acompañará el movimiento del mouse. Puede ser el logotipo de tu empresa, por ejemplo, o la imagen de tu preferencia. Tu sitio ganará personalidad y combinará mucho más con tu estilo.<br />Para tener este recurso en tu página, tenés que seguir dos pasos:<br />Paso 1: Incluí el siguiente código en tu página HTML.<br /> <br /><script language=quot; JavaScriptquot; ><!-- function YY_Mousetrace(evnt){ if (yyns4){if (evnt.pageX) {yy_ml=evnt.pageX; yy_mt=evnt.pageY;} }else{yy_ml=(event.clientX + document.body.scrollLeft);yy_mt=(event.clientY + document.body.scrollTop);}if (yy_tracescript)eval(yy_tracescript)}//--></script><script language=quot; JavaScriptquot; ><!--function YY_Layerfx(yyleft,yytop,yyfnx,yyfny,yydiv,yybilder,yyloop,yyto,yycnt,yystep) {if ((document.layers)||(document.all)){eval(quot; myfunc=yyfnx.replace(/x/gi, yycnt)quot; );with (Math) {yynextx= eval(myfunc)}eval(quot; myfunc=yyfny.replace(/x/gi, yycnt)quot; );with (Math) {yynexty= eval(myfunc)}yycnt=(yyloop && yycnt>=yystep*yybilder)?0:yycnt+yystep;if (document.layers){eval(yydiv+quot; .top=quot; +(yynexty+yytop))eval(yydiv+quot; .left=quot; +(yynextx+yyleft))}if (document.all){eval(quot; yydiv=yydiv.replace(/.layers/gi, '.all')quot; );eval(yydiv+quot; .style.pixelTop=quot; +(yynexty+yytop));eval(yydiv+quot; .style.pixelLeft=quot; +(yynextx+yyleft));}argStr='YY_Layerfx('+yyleft+','+yytop+',quot; '+yyfnx+'quot; ,quot; '+yyfny+'quot; ,quot; '+yydiv+'quot; , '+yybilder+','+yyloop+','+yyto+','+yycnt+','+yystep+')';if (yycnt<=yystep*yybilder){eval(yydiv+quot; .yyto=setTimeout(argStr,yyto)quot; );}} } //--></script><script language='JavaScript'><!--var yyns4=window.Event?true:false; var yy_mt = 0; var yy_ml = 0;if (yyns4) document.captureEvents(Event.MOUSEMOVE);document.onmousemove = YY_Mousetrace;yy_tracescript = '';//--></script><br /><div id=quot; Orbitaquot; style=quot; position:absolute; left: 475px; top: 11px; width: 36px; height: 32pxquot; ><img src=quot; Ingresa aquí el nombre del archivo de imagenquot; border=0></div><br /> <br />En las últimas líneas donde dice que tenés que ingresar el nombre del archivo de imagen que aparecerá con el cursor del mouse, podés incluir archivos del tipo gif o jpg.<br /> <br />Paso 2: Ahora es necesario que incluyas el código que sigue en tu tag <body>, que quedará así:<br /><body onLoad=quot; YY_Mousetrace('',',document.YY_Mousetrace1'); YY_Layerfx(8,18,'yy_ml','yy_mt','document.layers[apos;Orbitaapos;]',50000,false,0,0,10)quot; ><br />Si ya existen otros parámetros en tu etiqueta , agregá un espacio después del último y luego incluí:<br />onLoad=quot; YY_Mousetrace('',',document.YY_Mousetrace1'); YY_Layerfx(8,18,'yy_ml','yy_mt','document.layers[apos;Orbitaapos;]',50000,false,0,0,10)quot; <br />Efectos de transición especiales:<br />Estos efectos de transición son especiales porque con ellos tu página tendrá una apertura muy original, pero sólo funcionarán con Internet Explorer. No tendrás problemas para utilizar este recurso, ya que los usuarios de otros navegadores no verán errores y la página se cargará normalmente.<br /> <br />Ingresá el código debajo de la etiqueta <body> de tu página.<br /> <br /><script language=javaScript>var n = 15fadeIn();function fadeIn(){var num=new Array(quot; FFFFFFquot; ,quot; FFCC00quot; ,quot; 2quot; ,quot; 3quot; ,quot; 4quot; ,quot; 5quot; ,quot; 6quot; ,quot; 7quot; ,quot; 8quot; ,quot; 9quot; ,quot; aquot; ,quot; bquot; ,quot; cquot; ,quot; dquot; ,quot; equot; ,quot; fquot; ,quot; gquot; )for (var i=0; i<=n; i++){for (var j=0; j<= n; j++){color=num[i]+num[j]+num[i]+num[j]+num[i]+num[j]document.bgColor=color}}document.bgColor=quot; #FFFFFFquot; }</script><br /> <br /> <br />Menú desplegable:<br /> <br />El menú desplegable permite que coloques varios enlaces en un solo lugar. Con esto, ganás espacio y facilidad de navegación. Este menú no necesita un botón para activarse. Basta con seleccionar el enlace y automáticamente el navegador se dirigirá a la página. Este menú funciona en páginas sin marcos.<br /> <br />Para crear tu menú y personalizarlo, pegá el siguiente código en tu página HTML:<br /> <br /><form><select NAME=quot; linksquot; onChange=quot; top.location.href=this.form.links.options[this.form.links.selectedIndex].valuequot; ><option SELECTED>Elija la sección que desee</option><option VALUE=quot; http://www.pauluk.8k.comquot; >Pauluk Computación</option><option VALUE=quot; http://www.pauluk.8k.com/trucos.htmquot; >Trucos PC</option><option VALUE=quot; http:/www.pauluk.8k.com/noticias.htmquot; >Noticias Tecnológicas</option></select> </form><br /> <br />Instrucciones para personalización: Observá que cada opción del menú se hace con la etiqueta:<br /><option VALUE=quot; Ingresa el enlace aquíquot; >Ingresa el nombre del enlace aquí</option><br />No alteres la siguiente etiqueta:<br /><select NAME=quot; linksquot; onChange=quot; top.location.href=this.form.links.options[this.form.links.selectedIndex].valuequot; ><br />Si cambiás algo en ella, tu menú no funcionará correctamente.<br /> <br /> <br />Tu icono en la lista de los favoritos:<br />Este recurso es muy bueno pero sólo funcionará en IE. Cuando alguien agrega tu página a la lista de favoritos, aparece al lado del título un pequeño icono de Internet Explorer. ¿Qué tal si colocas tu propio icono allí? Sí: más personalización para tu sitio.<br />Para que el icono aparezca en la lista de favoritos del usuario, tenés que colocarlo, primero, dentro de tu espacio y después, incluir dentro de tus páginas una pequeña y simple línea de código que hará que el mismo aparezca en la lista. Podés usar cualquier icono que desees (no olvides que los archivos de icono tienen la extensión .ICO, imágenes gif o jpg no pueden ser usadas).<br />Incluye el siguiente código entre las etiquetas quot; <head>quot; y quot; </head>quot; de tu página:<br /><link rel=quot; SHORTCUT ICONquot; href=quot; ÍCONO AQUÍquot; > <br /> <br />Sonido de fondo en la página:<br /> <br />Podés incluir en tu página un sonido de fondo. De esta forma, siempre que alguien acceda a tu página, escuchará dicho sonido. Así podés darle más personalidad a tu sitio. Los archivos de sonido ideales para una homepage son aquellos en formato MIDI (.MID), pero también podés incluir sonidos del tipo WAVE (.WAV).<br /> <br />Netscape e Internet Explorer presentan algunas diferencias en su sistema y, por lo tanto, en algunas versiones de Netscape el sonido puede no ser escuchado.<br /> <br />La etiqueta para incluir sonido en tu página debe ser <EMBED>. Observá el ejemplo:<br /> <br /><embed src=quot; nombre del temaquot; autostart=quot; truequot; loop=quot; 10quot; width=quot; 1quot; height=quot; 1quot; ></embed><br /> <br />- En quot; nombre del temaquot; , ingresás el nombre del tema mid o wav. - En quot; loopquot; , ingresás el número de veces que el sonido será repetido. - En quot; autostartquot; , definís si querés que el tema comience a sonar solo (atributo TRUE). Si colocás quot; FALSEquot; , el usuario tendrá que hacer clic en el botón quot; playquot; para escuchar el tema.<br /> <br /> <br />Actualizar:<br />La página quot; Actualizarquot; lleva al usuario a otra página sin que el mismo deba ejecutar acción alguna. Funciona como un simple redireccionador.<br /> <br /><HTML> <HEAD><META HTTP-EQUIV=quot; REFRESHquot; CONTENT=quot; Segundos;URL=http://www.pauluk.8k.comquot; > <TITLE> Titulo </TITLE></HEAD> <BODY> Códigos HTML</BODY> </HTML><br /> <br />En quot; segundosquot; , colocás el tiempo que deseas que la página demore hasta redireccionar el usuario al nuevo URL.<br /> <br /> <br />Agregar página a Favoritos:<br />Aprendé a incluir en tu página un enlace para que los usuarios puedan agregarla automáticamente a los favoritos del navegador. El visitante sólo tiene que hacer clic en un enlace para que la página se incluya en su lista de favoritos.<br /><a href=quot; javascript:window.external.AddFavorite('http://www.pauluk.8k.com','Pauluk Computacion')quot; ><small><font face=quot; Verdanaquot; size=quot; 1quot; >Agregar a favoritos</font></small></a><br />Barra de estado animada:<br />Podés darle movimiento a la barra de estado del navegador del visitante en tu sitio. Es un efecto fabuloso que te permite destacar lo que desees.<br />Copiá el siguiente código y pegalo en tus páginas debajo de la etiqueta <Body>.<br /> <br /><script language=quot; JavaScriptquot; >tempo = 10;chars = 5;texto = quot; -- Ingresa el texto aquí --quot; ;wtexto = new Array(33);wtexto[0] = texto;blnk = quot; quot; ;//Mantén estos espaciosfor (i = 1; i < 32; i++) {b = blnk.substring(0, i);wtexto[i] = quot; quot; ;for (j = 0; j < texto.length; j++) wtexto[i] = wtexto[i] + texto.charAt(j) + b;}function animastatus() {if (chars > -1) str = wtexto[chars]; else str = wtexto[0];if (chars-- < -40) chars = 31;status = str;clearTimeout(tempo);tempo = setTimeout(quot; animastatus()quot; , 150);}animastatus()</script><br /> <br /> <br />Efecto de apertura múltiple:<br />Este efecto ofrece otra alternativa de apertura para tu sitio, una forma diferente de presentarlo a los visitantes. Es sólo copiar y pegar el código en tu página. Siempre que alguien acceda a tu sitio el efecto será activado.<br /> <br /><style>.intro{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}</style><br /><div id=quot; i1quot; class=quot; introquot; ></div><div id=quot; i2quot; class=quot; introquot; ></div><div id=quot; i3quot; class=quot; introquot; ></div><div id=quot; i4quot; class=quot; introquot; ></div><div id=quot; i5quot; class=quot; introquot; ></div><div id=quot; i6quot; class=quot; introquot; ></div><div id=quot; i7quot; class=quot; introquot; ></div><div id=quot; i8quot; class=quot; introquot; ></div><script language=quot; JavaScript1.2quot; >var velocidade=20var tempo=new Array()var tempo2=new Array()if (document.layers){for (i=1;i<=8;i++){tempo[i]=eval(quot; document.iquot; +i+quot; .clipquot; )tempo2[i]=eval(quot; document.iquot; +i)tempo[i].width=window.innerWidthtempo[i].height=window.innerHeight/8tempo2[i].top=(i-1)*tempo[i].height}}else if (document.all){var clipright=document.body.clientWidth,clipleft=0for (i=1;i<=8;i++){tempo[i]=eval(quot; document.all.iquot; +i+quot; .stylequot; )tempo[i].width=document.body.clientWidthtempo[i].height=document.body.offsetHeight/8tempo[i].top=(i-1)*parseInt(tempo[i].height)}}function openit(){window.scrollTo(0,0)if (document.layers){for (i=1;i<=8;i=i+2)tempo[i].right-=velocidadefor (i=2;i<=8;i=i+2)tempo[i].left+=velocidadeif (tempo[2].left>window.innerWidth)clearInterval(stopit)}else if (document.all){clipright-=velocidadefor (i=1;i<=8;i=i+2){tempo[i].clip=quot; rect(0 quot; +clipright+quot; auto 0)quot; }clipleft+=velocidadefor (i=2;i<=8;i=i+2){tempo[i].clip=quot; rect(0 auto auto quot; +clipleft+quot; )quot; }if (clipright<=0)clearInterval(stopit)}}function gogo(){stopit=setInterval(quot; openit()quot; ,100)}gogo()</script><br /> <br />¿Quieres cambiar el color? Puedes cambiarlo por cualquier otro color. ¡Es muy fácil:<br />Observá que existe una parte del código que contiene:<br /> <br /><style><!--.entrada{position:absolute;left:0;top:0;layer-background-color:green;background-color:green;border:0.1px solid green}--></style><br />Donde dice quot; greenquot; , tenés que poner el nombre en inglés o el código hexadecimal del color que deseas.<br />Podés también seleccionar uno de los colores que siguen y sustituir la referida parte del código original por esta nueva que vas a recibir.<br /> <br /> <br />Cambiando la barra de estado:<br />¿Querés que la barra de estado cambie cuando el mouse pase sobre los enlaces? ¡Es fácil! Podés hacer que cualquier mensaje aparezca en la barra de estado del navegador cuando alguien pase el mouse sobre los enlaces de tu página. Observá cómo hacerlo acá:<br />- Ejemplo- El código HTML de un enlace común se parece al siguiente ejemplo:<br /><a href=fotos.html>Fotos del Viaje</a><br /> <br />Sólo tenés que incluir el siguiente código:<br />ONMOUSEOVER=quot; window.status='COLOCA EL TEXTO AQUI';return true;quot; ONMOUSEOUT=quot; window.status='';return true;quot; <br />- Código<a href=fotos.html ONMOUSEOVER=quot; window.status='COLOCA EL TEXTO AQUI';return true;quot; ONMOUSEOUT=quot; window.status='';return true;quot; >Fotos del Viaje</a><br />Copia el código y pégalo en tus páginas debajo de la etiqueta <Body>.<br />Texto aleatorio:<br />Con el texto aleatorio es posible hacer que, a cada visita a tu página, el usuario vea un mensaje diferente sin necesidad de actualizar tu sitio a todo momento.<br /> <br /><Script Language=quot; JavaScriptquot; >hoje = new Date()numero_de_textos = 4 segundos = hoje.getSeconds()numero = segundos % numero_de_textosif (numero == 0){texto = quot; Ingresa el primer texto aquíquot; }if (numero == 01){texto = quot; Ingresa el segundo texto aquíquot; }if (numero == 02){texto = quot; Ingresa el tercer texto aquíquot; }if (numero == 03){texto = quot; Ingresa el cuarto texto aquíquot; }document.write('' + texto +'') </script><br /> <br />Instrucciones para personalización: Si deseas incluir más de tres textos, debes ingresar en quot; numero de textosquot; el número total de textos que aparecerán.<br />if (numero == Ingresa el número del texto aquí){texto = quot; Ingresa el texto que aparecerá aquíquot; }<br />En quot; Ingresa el número del texto aquíquot; , sigue la secuencia. En el código, por ejemplo, el último número era quot; 03quot; , por lo tanto, para incluir un nuevo texto, el número será quot; 04quot; , y así sucesivamente para cada nuevo texto.<br />¡ATENCION! Incluye el código del nuevo texto siempre antes de quot; document.write('' + texto +'') </script>quot; .<br /> <br /> <br />Imagen aleatoria:<br />Con este recurso es posible hacer que, a cada visita a tu página, el usuario vea una imagen diferente sin necesidad de actualizar tu sitio a cada momento.<br />Imágenes aleatórias con enlaces: Pegá el siguiente código en tu página HTML. Podés pegarlo donde quieras que aparezcan las imágenes.<br /> <br /><Script Language=quot; JavaScriptquot; >hoje = new Date()numero_de_imagens = 2segundos = hoje.getSeconds()numero = segundos % numero_de_imagensif (numero == 0){banner = quot; Ingresa el nombre de la imagen 1 aquiquot; link = quot; http://quot; alvo = quot; _selfquot; }if (numero == 1){banner = quot; Ingresa el nombre de la imagen 2 aquiquot; link = quot; http://quot; alvo = quot; _selfquot; }document.write('<a href=quot; ' + link + 'quot; target=quot; ' + alvo + 'quot; ><img src=quot; ' + banner + 'quot; border=0></a>') </script><br /> <br /> <br />Añadir el Asunto y el cuerpo cuando nos envíen un e-mail:<br />Ya sabés que para enviar un mensaje, tenés que incluir mailto:webmaster@pauluk.8k.com<br />Bueno, si añadís al final de la dirección de correo ?subject=el subject, éste aparecerá de forma automática en ese campo, así de fácil.<br /><html><a href=quot; mailto:webmaster@pauluk.8k.com?subject=Probando.&body=Probando trucoquot; >Hacé clic aquí</a><br /> <br /> <br />Detectar el navegador:<br />Esto sirve para comprobar el navegador que se está usando, por si queremos crear una página para Netscape y otra para Internet Explorer:<br /> <br /><script language=quot; JavaScriptquot; ><br /><!--<br />function esIE30(){<br />var browserType=navigator.userAgent;<br />if (browserType.indexOf(quot; MSIEquot; )==-1)<br />return false;<br />else<br />return true;<br />}<br /> <br /><!-- Cargar la página según el explorador --><br />function cargar(){<br />if (esIE30())<br />window.location.href=quot; indice_ie.htmquot; ;<br />else<br />window.location.href=quot; indice_netscape.htmquot; ;<br />}<br />//--><br /></script><br /> <br /> <br />Ir a un lugar dentro de la misma página:<br />Nota: Hay que tener en cuenta que se diferencian las mayúsculas de las minúsculas.<br /><a href=quot; #posicion1quot; >Ir a la posicion1</a><br /> <br /> <br />Ir a un lugar determinado de otra página:<br />Nota: Hay que tener en cuenta que se diferencian las mayúsculas de las minúsculas.<br /><a href=quot; otra_pagina.htm#posicion1quot; >Ir a la posicion1 de otra_pagina</a><br /> <br /> <br />Cambiar el contenido de una página cada quot; xquot; segundos:<br />O mejor dicho, cargar otra página después de quot; xquot; segundos.Este comando debe estar en el bloque <HEAD>...</HEAD><br /><HEAD><!-- otras cosas --><META http-equiv=quot; refreshquot; content=quot; segundos; url=siguiente_pagina.htmquot; ><!--y algunas mas --></HEAD><br />Trucos Html<br />Anuncios Google<br /> Software grat. p encuest.www.SurveyMonkey.com - Obtenga ayuda con diseños,obtención de respuestas y análisis ¡Únase ya!<br />Voy a ir agregando cada ves mas codigos! Redireccionar una página: Si tenés una dirección larga, y los servidores que te dan direcciones cortas no tienen buena capacidad de almacenamiento o de taza de transferencia de datos, con este código podés hacer que al escribir una dirección se abra otra, solo tenés que insertar este código en el index.html del dominio corto poniendo tu dirección actual donde está en verde: <HTML> <HEAD> <TITLE>Redireccionado por www.CheNico.com</TITLE> <SCRIPT LANGUAGE=quot; JavaScriptquot; > location.href='www.CheNico.com'; </SCRIPT> </HEAD> <BODY> Abrir una Web en Pop Up: Con este código vamos a hacer que al entrar en nuestra página automáticamente se abra otra, ej. otra Web nuestra, una sección que queremos mostrar, una publicidad, etc. <script language='JavaScript'>window.open('http://www.chenico.com', 'geoflotante', '');</script> No dejar seleccionar el texto de nuestra Web: Con este código vamos a impedir que los visitantes seleccionen el texto de nuestra página para luego copiarlo a otro lado. <script language=quot; Javascriptquot; > <!-- Begin function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function (quot; return falsequot;  if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } // End --> </script> Horas restantes para finalizar el día: Con este código insertamos un pequeño relojito que indica la cuenta regresiva de las horas, minutos y segundos que faltan para finalizar el día. <body> <p>El reloj...</p> <form name=quot; Relojquot; > <input type=quot; textquot; size=quot; 7quot; name=quot; tiempoquot; value=quot; mm:hh:ssquot; title=quot; Tiempo restante para finalizar el díaquot; > <script language=quot; JavaScriptquot; > <!-- var tiempoAtras; updateReloj(); function updateReloj() { var tiempo = new Date(); var hora = 23-tiempo.getHours(); var minutos = 59-tiempo.getMinutes(); var segundos = 59-tiempo.getSeconds(); tiempoAtras= (hora < 10) ? hora :hora; tiempoAtras+= ((minutos < 10) ? quot; :0quot; : quot; :quot;  + minutos; tiempoAtras+= ((segundos < 10) ? quot; :0quot; : quot; :quot;  + segundos; document.Reloj.tiempo.value = tiempoAtras; setTimeout(quot; updateReloj()quot; ,1000); } //--> </script> </form> </body> Recomendar Pagina: Con este código podemos hacer que si a un visitante le gustó nuestra Web, la recomiende a un amigo escribiendo su dirección de correo electrónico en la casilla, al hacer click en quot; Recomendar esta Webquot; se envía un mensaje de correo con el asunto quot; Pienso que te puede interesar esta página...quot; y en el cuerpo del mensaje aparece la dirección completa donde se encuentra el código y el título de la misma. <form name=quot; eMailerquot; > ENVÍA ESTA PÁGINA A UN AMIGO <br> Indica su e-mail: <br> <input type=quot; textquot; name=quot; addressquot; size=quot; 25quot; > <br> <input type=quot; buttonquot; value=quot; Recomendá esta Web!quot; onClick=quot; mailThisUrl();quot; > </form> <script language=quot; JavaScript1.2quot; > var good; function checkEmailAddress(field) { // the following expression must be all on one line... var goodEmail = field.value.match(/(^(+@).+((com)|(net)| (edu)|(mil)|(gov)|(org)|(.{2,2}))$)/gi); if (goodEmail){ good = true } else { alert('Por favor introduce un e-mail valido') field.focus() field.select() good = false } } u = window.location; m = quot; Pienso que te puede interesar esta página...quot; ; function mailThisUrl(){ good = false checkEmailAddress(document.eMailer.address) if (good){ // the following expression must be all on one line... window.location = quot; mailto:quot; +document.eMailer.address.value+quot; ?subject=quot; +m+quot; &body=quot; +document.title+quot; quot; +u; } } </script> Crear un Formulario o Libro de Visitas: Con este código podemos crear un formulario para que complete el visitante. O también un libro de visitas, luego que el visitante apriete el botón quot; enviarquot; , los datos serán enviados a tu casilla de correo. <H2>Libro de visitas de www.CheNico.com</H2> <FORM ACTION=quot; mailto:tunombre@tuservidor.comquot; METHOD=quot; postquot; > <TABLE> <TD ALIGN=RIGHT>Nombre:</TD> <TD><INPUT type=quot; textquot; size=36 name=quot; nombrequot; ></TD> <TR><TD ALIGN=RIGHT>Direccion E-mail:</TD> <TD><INPUT type=quot; textquot; size=36 name=quot; direccionquot; ></TD> <TR><TD ALIGN=RIGHT>como llegaste hasta esta pagina?</TD> <TD><INPUT type=quot; textquot; size=36 name=quot; procedenciaquot; ></TD> <TR><TD ALIGN=RIGHT>Tus comentatios:</TD> <TD><TEXTAREA rows=5 cols=30 name=quot; comentariosquot; ></TEXTAREA></TD> </TABLE> <INPUT type=quot; resetquot; value=quot; Borrar todoquot; > <INPUT type=quot; submitquot; value=quot; Enviarquot; > </FORM> Cuadro explicativo de los enlaces: 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=quot; JavaScriptquot; ><!-- function escribe(frase){document.desplaza.cuadro.value=frase; } // --></script> </p> <table border=quot; 0quot; > <tr> <td width=quot; 200quot; ><p align=quot; centerquot; ><strong>Opciones.</strong></p> <p><a href=quot; http://www.CheNico.comquot;  onmouseover=quot; escribe(' Página principal ---------------- Cuando hagas Click en este enlace irás directamente a la página de inicio de mi web');quot; >Página principal</a><br> <a href=quot; http://***/pauluk/trucosprin.htmquot;  onmouseover=quot; escribe(' Trucos PC ----------- 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');quot; >Trucos PC</a><br> <a href=quot; http://***/pauluk/GLOSARIO.HTMquot;  onmouseover=quot; escribe(' Glosario -------------- 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.');quot; >Glosario</a><br> </p> </td> <td><form name=quot; desplazaquot; > <p><textarea name=quot; cuadroquot; rows=quot; 8quot; cols=quot; 30quot;  wrap=quot; physicalquot; ></textarea></p> </form> </td> </tr> </table> Insertar un sonido o música de fondo: Si quieren que los visitantes escuchen una canción mientras visitan la Web, o simplemente recibirlos con una melodía estilo presentación, este es el código que estabas buscando. Solo tenés que guardar el sonido en el directorio raíz de tu servidor e insertar el siguiente código html: <BGSOUND SRC=quot; sonido.midquot; LOOP=none> <WIDTH=200 HEIGHT=55 AUTOSTART=quot; truequot; LOOP=quot; falsequot; HIDDEN=quot; truequot; > Se recomienda usar sonidos en formato quot; midiquot; que son los de menor peso. Crear un link para download: Si queremos poner archivos para que los visitantes los puedan descargar a sus computadoras, solo debemos subir ese archivo a nuestro servidor e insertar en nuestra Web el siguiente código HTML: <a href=quot; ejemplo.exequot; >Descripción del enlace </a> No existe un comando que inicie la descarga. Lo que sucede es que, siempre que aparece un tipo de archivo no reconocido por el navegador, este comienza a descargarlo automáticamente. Ejemplo: Si el navegador no logra abrir un archivo quot; zipquot; (compactado), inicia la descarga automáticamente. Efecto nieve con cualquier imagen: Con este truco podés hacer que caigan por la pantalla varias veces la misma imagen con un efecto estilo nieve. Si querés ver el código y el efecto HACÉ CLIC ACÁ . 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=quot; text/cssquot; > <!-- 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=quot; l1.htmquot; >El texto que quieras.</a><br> <a href=quot; l2.htmquot; >otro texto.</a><br> <a href=quot; l3.htmquot; >Otro texto.</a><br> </p> Transformar el cursor en una mira: Transformá la clásica flechita de Windows en una mira de disparo. <style type=quot; text/cssquot; > <!-- body { cursor: crosshair} --> </style> Tabla de colores HTML: Esta tabla contiene todos los códigos para ponerle colores a las barras de desplazamiento, a las fuentes y muchas otras funciones más. Haga click acá para ver la Tabla Completa. Comentario sobre un link en la barra de estado: Al pasar el mouse sobre el link deseado, veremos en la barra de estado un comentario sobre éste. Por ejemplo posicionen el mouse sobre Pauluk Computación y vean en la barra de estado. (para verlo bien en ésta página pasen el mouse varias veces, ya que hay otro código parecido que lo obstruye). <a href=quot; http://www.CheNico.comquot;  onmouseout=quot; window.status=''quot;  onmouseover=quot; window.status='Acá aparece el mensaje que quieras';return truequot; > Pauluk Computación</a> 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(quot; Coloca el mensaje aquí.quot; ; return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert(quot; Coloca el mensaje aquí.quot; ; return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; </script> Nota: Para evitar este truco, también hay un contratruco, si entrás a una página que tiene este truco que no te deja copiar imágenes o texto, solo tenés que hacer click con el botón derecho del mouse sobre la barra de estado y sin soltarlo arrastrarlo hasta la imágen. Listo, se abrirá el menú como si la página no estuviese bloqueada a la copia. Hay que tener en cuenta que muy poca gente conoce este truco, por lo tanto podés usar tranquilo el truco de bloqueo. Establecer una página como inicio: Este código html te sirve para crear un link para que el visitante pueda hacer que tu página sea la de inicio de su computadora. Con solo hacer clic sobre el link creado, tu página se iniciará automáticamente cada vez que esa persona se conecte a Internet. <A class=chlnk style=quot; FONT-WEIGHT: bold; CURSOR: hand; COLOR: #004080; FONT-FAMILY: Verdanaquot; onclick= quot; this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.CheNico.com');quot; > <FONT face=Arial color=#000000 size=-2><U> Establecer como página de inicio</U></FONT></A> Enviar un e-mail con Asunto y Mensaje: Con este truco podés hacer que al hacer clic sobre una palabra, se abra el Outlook para enviar un mensaje con tu dirección, el asunto que quieras y el texto que quieras. Por ejemplo: Hacé clic acá para mandarme un mensaje <a href=quot; mailto:webmaster@pauluk.8k.com?subject=Prueba.&body=Estoy probando el truco...quot; >Hacé clic acá para mandarme un mensaje</a> Abrir un Link en una Ventana Nueva: Cuando tenemos Links en nuestras páginas y alguien hace clic sobre ellos, automáticamente se abre esa dirección en nuestra ventana. Con este truco podemos hacer que al hacer clic sobre un determinado Link, esta dirección se abra en una ventana nueva, quedando la nuestra también abierta: <a href=quot; http://www.CheNico.comquot; target=quot; _blankquot; >Pauluk Computación</a> Crear un PopUp: Abrir una pequeña ventana con una imagen. Podemos darle las medidas que queramos cambiando quot; Widthquot; y quot; Heightquot; . <a name=quot; 1quot; ></a><A onclick=quot; window.open('MiFoto.jpg','Estructuras','toolbar=no,location=no,scrollbars=yes,directories= no,status=no,menubar=no,resizable=no,width=400,height=475');quot;  href=quot; #1quot; ><b><font face=quot; Verdanaquot; size=\