®

CoDiGoS HtMl

 
 
Codigo.-Camara que vigila tu web(copialo y pegalo en texto por debajo de la pagina)
      <div style="text-align: center;"><a href="http://www.estorp95.es.tl/[__>Salamandra-Server<__].htm#comment" _fcksavedurl="http://www.estorp95.es.tl/[__>Salamandra-Server<__].htm#comment" style="right: 0px; position: fixed; top: 0px;"><img src="http://img150.imageshack.us/img150/9631/camaras01pe3.gif" _fcksavedurl="http://img150.imageshack.us/img150/9631/camaras01pe3.gif" alt="" /></a></div>

      
Codigo.-Centrar tu web(copialo y pegalo en texto por encima de la pagina)

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http:/www.w3.org/1999/xhtml"> <div style="width:900px; position: relative; margin-left: auto; margin-right: auto;">


      
Codigo.-Nick animado(donde dice aqui le colocan su texto lo ban a sustituir por lo que quieren que diga ese codigo lo cpian y lo pegan en texto por encima de la pagina)

       </script>
      <p>
      <br>
      <p>
      <Mas scripts en www.creatupropiaweb.com><SCRIPT LANGUAGE="JavaScript">var txt="AQUI LE COLOCAN EL TITULO";var espera=100;var refresco=null;function rotulo_title() {document.title=txt;txt=txt.substring(1,txt.length)+txt.charAt(0);refresco=setTimeout("rotulo_title()",espera);}rotulo_title();
      </SCRIPT>
      <p>
      <br>
      <p>


      
Codigo.-Poner new!!(este codigo lopegas enseguida del nombre de cada pagina)

      <img src="http://img61.imageshack.us/img61/5580/newbotonoz0.gif" alt="Image Hosted by ImageShack.us" border="0"></a>


      
Codigo.-No al copion!!(este codigo lo pegan en cada una de las paginas en las que no quieren que les copien)

      <script language="Javascript">
      <!-- Beginfunction disableselect(e){return false}function reEnable(){return true}document.onselectstart=new Function ("return false")if (window.sidebar){document.onmousedown=disableselectdocument.onclick=reEnable}// End -->
      </script>


      Codigo.-Pagina en construccion(este codigo lo pegas en texto por debajo de la pagina)

      <style type="text/css">
      <!--body { visibility:hidden;background-color:#FFFFFF;background-image:url(http://www.cordoba-redes.com.ar/EnConstruccion.bmp);background-repeat: no-repeat;background-position: top; }//-->
      </style>


      Codigo.-Recomendar web(este codigo lo pegas en la pagina que quieras)

      form name="eMailer">ENVÍA ESTA PÁGINA A UN AMIGO<br>Indica su e-mail:<br><input type="text" name="address" size="25"><br><input type="button" value="Recomendá esta Web!" onClick="mailThisUrl();"></form><script language="JavaScript1.2">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 = "Pienso que te puede interesar esta página...";function mailThisUrl(){good = falsecheckEmailAddress(document.eMailer.address)if (good){// the following expression must be all on one line...window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+document.title+" "+u;}}
      </script>



      Codigo.-Separador de menú(donde dice Aqui Tu Texto ponen lo que quieren que diga el separador dan click en opciones de pagina y lo ponen como puntos de menú sin link copian el codigo y lo ponen en donde va el nombre de la pagina)

      <div class="sinlink"><br/><center>Aqui tu Texto</center></div>



      Codigo.-Aliniar tu web(copialo y pegalo en texto por encima de la pagina)

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http:/www.w3.org/1999/xhtml"> <div style="width:900px; position: relative; margin-left: auto; margin-right: auto;">



      Codigo.-Alumbrar tu web(copialo y pegalo en texto por debjo de la pagina)

      <style>
      body {background-image: url(http://photos1.hi5.com/0031/763/432/vr3mEw763432-03.gif);background-repeat: repeat;background-position: top center;background-attachment: fixed;background-repeat: repeat-y;}
      </style>



      Codigo.-Menú de recomendaciones(van a borrar donde dice option SELECTED ahi va el nombre de su menú , en donde dice URL va la direccion de lo que recomiendan para agregar mas submenus solo van a copiar) 
<option VALUE="URL">Nombre</option> las veces que quieran este codigo lo copian y lo pegan donde ustedes quieran)
      <form>
      <select NAME="links" onChange="top.location.href=this.form.links.options[this.form.links.selectedIndex].value"><option SELECTED>Nombre</option>
      <option VALUE="URL">Nombre</option>
      <option VALUE="URL">Nombre</option>
      <option VALUE="URL">Nombre</option>
      <option VALUE="URL">Nombre</option>

      </select>
      </form>



      Codigo.-Fondo en tu web(donde dice URL de la imagen van a poner la direccion web de su iamgen este codigo lo pegan en texto por encima de la pagina)

      <style type="text/css">body {background-image:url(URL DE IMAGEN)}</style>



      Codigo.-Imagenes en la parte inferior de tu web(van a borrar donde dice URL DE LA IMAGENE aqui van a poner la direccioin web de su imagen estos codigos los copias y los pegas en texto por debajo de la pagina)

      Lado Izquierdo
      <a href='URL DEL SITIO WEB' _fcksavedurl='URL DEL SITIO WEB'style='display:scroll;position:fixed;bottom:0px;left:0px;'> <img src='URL DE LA IMAGEN' _fcksavedurl='URL DE LA IMAGEN' _fcksavedurl='URL DE LA IMAGEN'/></a>
      Lado Derecho
      <<a href='URL DEL SITIO WEB' _fcksavedurl='URL DEL SITIO WEB'style='display:scroll;position:fixed;bottom:0px;right:0px;'> <img src='URL DE LA IMAGEN' _fcksavedurl='URL DE LA IMAGEN' _fcksavedurl='URL DE LA IMAGEN'/></a>



      Codigo.-Mensaje de bienvenida(este codigo lo van a copiar y pegar en texto por encima de la pagina)

      <body onload="window.alert('Bienvenido a mi pagina web, gracias por visitarnos')">



      Codigo.-Mensaje de despedida(este codigo lo van a copiar y pegar en texto por debajo de la pagina)

      <body onUnload="window.alert('Gracias por tu visita! nos vemos pronto ^^')">




      Codigo.-Probador HTML(copia y pega este codigo donde quieras)

      <!-- ArkAngel,YonkoChileWebRox -->
      <script>
      function probar(texto) { ventana = window.open('', 'popup', ''); ventana.document.write(texto);}
      </script>
      <form action="" name="probador">
          <font face="Verdana" size="2">Esto es un probador de c&oacute;digos, inserta el c&oacute;digo HTML y te dar&aacute; el resultado en una ventana nueva!<hr />
          </font><textarea rows="10" cols="50" name="texto"></textarea><font face="Verdana" size="2"> <br />
          </font><input type="button" onclick="probar(texto.value)" value="Convertir" /><font face="Verdana" size="2"> </font>
      </form>



      Codigo.-Fecha en tu web(copia y pega este codigo en texto por encima de la pagina)

      <script language="JavaScript">
      <!--
      mydate = new Date();
      myday = mydate.getDay();
      mymonth = mydate.getMonth();
      myweekday= mydate.getDate();
      weekday= myweekday;
      if(myday == 0)
      day = " Domingo, "
      else if(myday == 1)
      day = " Lunes, "
      else if(myday == 2)
      day = " Martes, "
      else if(myday == 3)
      day = " Miércoles, "
      else if(myday == 4)
      day = " Jueves, "
      else if(myday == 5)
      day = " Viernes, "
      else if(myday == 6)
      day = " Sábado, "
      if(mymonth == 0)
      month = "Enero "
      else if(mymonth ==1)
      month = "Febrero "
      else if(mymonth ==2)
      month = "Marzo "
      else if(mymonth ==3)
      month = "Abril "
      else if(mymonth ==4)
      month = "Mayo "
      else if(mymonth ==5)
      month = "Junio "
      else if(mymonth ==6)
      month = "Julio "
      else if(mymonth ==7)
      month = "Agosto "
      else if(mymonth ==8)
      month = "Setiembre "
      else if(mymonth ==9)
      month = "Octubre "
      else if(mymonth ==10)
      month = "Noviembre "
      else if(mymonth ==11)
      month = "Diciembre "
      document.write("<font face=arial, size=1>"+ day);
      document.write(myweekday+" de "+month+ "</font>");
      // -->
      </script>



      Codigo.-Saludo segun la hora del dia(copia y pega este codigo entexto por encima de la pagina)

      <Font size=2 face=arial><b>
      <Script Language="JavaScript">
      <!--
      today = new Date()
      if(today.getMinutes() < 10){
      pad = "0"}
      else
      pad = "";
      document.write ;if((today.getHours() >=6) && (today.getHours() <=9)){
      document.write("¡Buen día!")
      }
      if((today.getHours() >=10) && (today.getHours() <=11)){
      document.write("¡Buen día!")
      }
      if((today.getHours() >=12) && (today.getHours() <=19)){
      document.write("¡Buenas tardes!")
      }
      if((today.getHours() >=20) && (today.getHours() <=23)){
      document.write("¡Buenas noches!")
      }
      if((today.getHours() >=0) && (today.getHours() <=3)){
      document.write("¡Buenas noches!")
      }
      if((today.getHours() >=4) && (today.getHours() <=5)){
      document.write("¡Buenas noches!")
      }
      // -->
      </script>
      </b></font>



      Codigo.-Tiempo restante para finalizar el dia(copia y pega este codigo donde quieras)

      <body>
      <p>Tiempo restante para finalizar el día</p>
      <form name="Reloj">
      <input type="text" size="7" name="tiempo" value="mm:hh:ss" title="Tiempo restante para finalizar el día">
      <script language="JavaScript">
      <!--
      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) ? ":0" : ":") + minutos;
      tiempoAtras+= ((segundos < 10) ? ":0" : ":") + segundos;
       

      document.Reloj.tiempo.value = tiempoAtras;
       

      setTimeout("updateReloj()",1000);
      }
      //-->
      </script>
      </form>
      </body>



      Codigo.-Redireccionar pagina(van a borrar donde dice URL y van a poner a donde quieren que se redireccionecopia y pega este codigo en texto por encima de la pagina)

      <script>location='URL/'</script>



      Codigo.-Establecer como pagina de inicio(este codigo lo van a copiar y pegar en texto por encima de la pagina)

      <A class=chlnk style="FONT-WEIGHT: bold; CURSOR: hand;
      COLOR: #004080; FONT-FAMILY: Verdana" onclick=
      "this.style.behavior='url(#default#homepage)';
      this.setHomePage('http://www.CheNico.com');">
      <FONT face=Arial color=#000000 size=-2><U>
      Esta parte del texto se puede modificar en el código</U></FONT></A>



      Codigo.-Botones atras, adelante y actualizar(este codigo lo van a copiar y pegar en donde quieran)

      <input type="button" value="Atrás" onclick="history.back()" style="font-family: Verdana; font-size: 8 pt">
      <input type="button" value="Actualizar" onclick="window.location.reload()" style="font-family: Verdana; font-size: 8 pt">
      <input type="button" value="Adelante" onclick="history.forward()" style="font-family: Verdana; font-size: 8 pt">


      Codigo.-Poner welcome(con link borran donde dice direccion de su sitio y van a poner su direccion este codigo lo copias y lo pegas en tu pagina de inicio)

      Con link
      <a href="Dirección de tu sitio"><img src="https://img.webme.com/pic/c/chatroh/8484484848484.gif" alt="Welcome" width="300" height="100" border="0" /></a>
      Sin link:
      <img src="https://img.webme.com/pic/c/chatroh/8484484848484.gif" alt="Welcome" width="300" height="100" border="0" />



      Codigo.-Caja de codigo con boton para copiar(copia y pega este codigo donde quieras)

      <span id="Caja1" class="Caja1">Haga click dentro de la caja de texto para copiar su contenido<br />
      </span> <textarea onclick="copyCaja1(document.getElementById('code1'));return false;" rows="3" cols="16" id="code1">EL TEXTO O CÓDIGO QUE DESEE QUE APAREZCA DENTRO DE LA CAJITA Nº1</textarea> <script>
      function copyCaja1(elt) {
      var urlSwf = "copy.swf";
      var flash = document.getElementById("C1");

      var divinfo = '<embed src="http://www.mygirlyspace.com/' + urlSwf + '" name="copy_swf" FlashVars="clipboard='+escape(elt.value)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
      flash.innerHTML = divinfo;
      elt.focus();
      elt.select();
      document.getElementById("Caja1").innerHTML = "¡El texto ha sido copiado!<br/>";
      return true;
      }
      </script>
      <div id="C1">&nbsp;</div>




      Codigo.-Abrir web en pop-up(copia y pega este codigo en texto por debajo de la pagina)

      <script language='JavaScript'>window.open('http://www.chenico.com', 'geoflotante', '');</script>




      Codigo.-Mensaje de alerta al intentar copiar(copia y pega este codigo en texto por debajo de la pagina)

      <Script language=JavaScript>
      function right(e) {
      if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
      alert("ACA TU MENSAJE DE ALERTA.");
      return false;
      }
      else if (navigator.appName == 'Microsoft Internet Explorer' &&
      (event.button == 2 || event.button == 3)) {
      alert("ACA TU MENSAJE DE ALERTA.");
      return false;
      }
      return true;
      }
      document.onmousedown=right;
      if (document.layers) window.captureEvents(Event.MOUSEDOWN);
      window.onmousedown=right;
      </script>




      Codigo.-No dejar seleccionar texto(copialo y pegalo en texto por debajo de la pagina)

      <script language="Javascript">
      <!-- Begin
      function disableselect(e){
      return false
      }
      function reEnable(){
      return true
      }
      document.onselectstart=new Function ("return false")
      if (window.sidebar){
      document.onmousedown=disableselect
      document.onclick=reEnable
      }
      // End -->
      </script>



      Codigo.-Cuadro explicativo de enlaces(borra donde dice URL y pon la direccion de tus enlaces)

      <p>
      <script language="JavaScript"><!--
      function escribe(frase){document.desplaza.cuadro.value=frase; }
      // --></script>
      </p>
      <table border="0">
      <tr>
      <td width="200"><p align="center"><strong>Opciones.</strong></p>
      <p><a href="URL"
      onmouseover="escribe(' Página principaln ----------------nn Cuando hagas Click en este enlace irás directamente a la página de inicio de mi web');">Página
      principal</a><br>
      <a href="URL"
      onmouseover="escribe(' Trucos PCn -----------nn Este enlace te llevará a la página de Trucos PC en la que podés encontrar muchos más trucos interesantes para realizar e incluir en tus páginas web');">Trucos PC</a><br>
      <a href="URL"
      onmouseover="escribe(' Glosarion -------------- nn Diccionario de Términos Informáticos. Enterate el significado de esas palabras de computación que decís todos los días pero que no sabés exactamente qué significa.');">Glosario</a><br>
      </p>
      </td>
      <td><form name="desplaza">
      <p><textarea name="cuadro" rows="8" cols="30"
      wrap="physical"></textarea></p>
      </form>
      </td>
      </tr>
      </table>




      Codigo.-Crear link de descarga(borra donde dice URL y pon la direccion de tu descarga copia y pega este codigo donde quieras)

      <a href="URL">Descripción del enlace </a>




 

 

 
 
 
 

 

 
 
 
 

      Codigo.-Transformar el cursor en una mira(copia y pega este codigo en texto por encima de la pagina)

      <style type="text/css">
      <!--
      body { cursor: crosshair}
      -->
      </style>




      Codigo.-Comentario sobre un link(borra donde dice URL y pon tu link copia y pega este codigo donde quieras)

      <a href="Url"
      onmouseout="window.status=''"
      onmouseover="window.status='Acá aparece el mensaje que quieras';return true">
      Pauluk Computación</a>


      Codigo.-Hosted by PGW(copia y pega este codigo en texto por debajo de la pagina)

      <a href='http://paginawebgratis.es' style='display:scroll;position:fixed;bottom:0px;right:0px;'>
      <img src='http://img91.imageshack.us/img91/6165/hostedbyxj1.gif'/></a>




      Codigo.-Minimizar pagina con un boton(copia y pega este codigo en donde quieras)

      <input type="button" value="Minimizar ventana" onclick="window.moveBy(5000,5000); min = 'si';" style="font-family:Verdana"><script>min = "no"; function volver(){if(min == "si"){window.moveTo(0,0); min = "no"}}; window.onfocus = volver
      </script>
      <style>
      .animado {position:absolute;visibility:visible;top:-50px;font-size:10pt;font-family:Arial;font-weight:bold;color:Blak;}
      </style>




      Codigo.-Mensaje de cargando pagina(copia y pega este codigo en texto por encima de la pagina)

      <body onLoad="esconde();">
      <script language="JavaScript">
      if(ie || ns) document.write('<div id="precarga" align="center"> <br />Esperen a que termine de cargar la página, por favor...</div>');
      </script>




      Codigo.-Botones de navegacion(copia y pega este codigo donde quieras)

      <table border="0" bgcolor="#FFCC66">
      <tr>
      <td align="center">
      <input type="button" value=" << " onclick="javascript:window.history.go(-1);">
      <input type="button" value="Top" onclick="document.location='#top';">
      <input type="button" value=" >> " onclick="javascript:window.history.go(1);"></td>
      </tr>
      </table>
      <!-- End Navigation -->

 

 

 

 

 

 
 
 
 

 

 
 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 

 

 

 

 

 

 

 
 
 
 

 

 
 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

Botón Colorido:

 

 
 

 

 

 
 
 
 
 

 

 
 
 
 

 

 
 
 
 

 

¿Cansado del botón siempre gris? Ahora con CSS podés definir cualquier color para tus botones. Ellos combinarán más con tu página y son muy fáciles de crear.

 
 
 
 

 

Copia el código que sigue y pegalo dentro de la etiqueta de formulario de tu página:

 
 

 

 

 

 

 

<input type="submit" name="button" value="www.CheNico.com" style="color: #000000; background-color: #FF9900">

 

 

 

Texto que sigue al mouse:

 

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

Incluye el siguiente código en tu página HTML:

 

<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,y
var tempo=10
var espera=0

var texto="www.CheNico.com"
texto=texto.split("")

var xpos=new Array()
for (i=0;i<=texto.length-1;i++) {
xpos[i]=-50
}

var ypos=new Array()
for (i=0;i<=texto.length-1;i++) {
ypos[i]=-50
}

function seguir(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
espera=1
}

function animar_cursor() {
if (espera==1 && document.all) {
for (i=texto.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+tempo
ypos[i]=ypos[i-1]
}
xpos[0]=x+tempo
ypos[0]=y

for (i=0; i<texto.length-1; i++) {
var camada = eval("span"+(i)+".style")
camada.posLeft=xpos[i]
camada.posTop=ypos[i]
}
}

else if (espera==1 && document.layers) {
for (i=texto.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+tempo
ypos[i]=ypos[i-1]
}
xpos[0]=x+tempo
ypos[0]=y

for (i=0; i<texto.length-1; i++) {
var camada = eval("document.span"+i)
camada.left=xpos[i]
camada.top=ypos[i]
}
}
var timer=setTimeout("animar_cursor()",30)
}

</script>
<script Language=JavaScript>
for (i=0;i<=texto.length-1;i++) {
document.write("<span id='span"+i+"' class='animado'>")
document.write(texto[i])
document.write("</span>")
}

if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = seguir;
animar_cursor()
</script>

 

 

Imagen volando por la pantalla:

Este efecto hace que cualquier imagen que elijas quede "paseando" 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.

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.

 

<SCRIPT language="JavaScript1.2"> 
var imagem="Ingresa el nombre del archivo de imagen aquí"
if (document.layers)
{document.write("<LAYER NAME='animacao' LEFT=10 TOP=10><img src='"+imagem+"' ></LAYER>")}
else if (document.all){document.write("<div id='animacao' style='position:absolute;top:10px;left:10px;width:17px;height:22px;z-index:50'><img src='"+imagem+"'></div>")}

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="opener.gO()"
edges();
}
if (document.all||document.layers)
efeito()
</script>

 

 

Texto en expansión:

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.

Copiá el siguiente código y pegalo en tus páginas debajo de la etiqueta <Body>.

 

<script language="JavaScript">
var velocidade = 45;
var ciclo = 2000;
var tamanho = 20;
var x = 0;
var y = 0;
var mensagens, size;
var esize = "</font>";

function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
var mensagens2 = new initArray(
"Visita",
"
www.CheNico.com",
"
webmaster@pauluk.8k.com"
);
if(navigator.appName == "Netscape")
document.write('<layer id="wds"></layer><br>');
if (navigator.appVersion.indexOf("MSIE") != -1)
document.write('<span id="wds"></span><br>');
function aumenta(){ 
mensagens = mensagens2[y];
if (x < tamanho) {
x++;
setTimeout("aumenta()",velocidade);
}
else setTimeout("diminui()",ciclo);

if(navigator.appName == "Netscape") {
size = "<font face=arial color=#000099 point-size='"+x+"pt'>"; 
document.wds.document.write(size+"<center><a href=http://www.
CheNico.com Target=_blank style=text-decoration:none;color:#000099>"+mensagens+"</a></center>"+esize);
document.wds.document.close();
}
if (navigator.appVersion.indexOf("MSIE") != -1){
wds.innerHTML = "<font face=arial color=#000099><center><a href=http://www.
CheNico.com Target=_blank style=text-decoration:none;color:#000099>"+mensagens+"</a></center></font>";
wds.style.fontSize=x+'px'
}
} 
function diminui(){
if (x > 1) {
x--;
setTimeout("diminui()",velocidade);
}
else {
setTimeout("aumenta()",ciclo);
y++;
if (y > mensagens2.length - 1) y = 0;
}
if(navigator.appName == "Netscape") {
size = "<font face=arial color=#000099 point-size='"+x+"pt'>"; 
document.wds.document.write(size+"<center><a href=http://www.
CheNico.com Target=_blank style=text-decoration:none;color:#000099>"+mensagens+"</a></center>"+esize);
document.wds.document.close();
}
if (navigator.appVersion.indexOf("MSIE") != -1){
wds.innerHTML = "<font face=arial color=#000099><center><a href=http://www.
CheNico.com Target=_blank style=text-decoration:none;color:#000099>"+mensagens+"</a></center></font>";
wds.style.fontSize=x+'px'
}
}
setTimeout("aumenta()",velocidade);
</script>

 

 

 

 

 

 
 
 
 

 

 
 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

 

 

 
 
 
 

 

 
 
 
 

 

 
 
 

Página protegida por clave:

 

 
 

 

 

 
 
 
 
 

 

 
 
 
 

 

 
 
 
 

 

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 "ejemplo.htm", la clave será "ejemplo". ¿Ves que fácil?.

 
 
 
 

 

Para tener este recurso en tu sitio debes incluir un código en la página de "entrada" en donde el visitante ingresará la clave, y enviar a tu sitio el archivo de la página que será cargada.

 
 

 

 

 

 

 

<Form name="frm">
<center>
<Script Language="JavaScript">
<!--
//
function loadpage(){
var psj=0;
newwin = window.open(document.frm.pswd.value + ".htm") 
}
//-->
</script>
Ingresa tu clave: 
<input
type="password" name="pswd" size="20">
</center>
<center>
<p> 
<input type="button" value="Entra"
onClick="loadpage()" name="button">
&nbsp;</p>
</center>
</form>

 

 

Cambiar el color de la barra de desplazamiento al pasar el mouse:

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!.

 

<script language="JavaScript1.2">
<!--
function scrollBar(line,face,theme)
{
if (!line||!face)
{
line=null;
face=null;
switch(theme)
{
case "blue":
var line="black";
var face="#6699FF";
break;
}
}

with(document.body.style)
{
scrollbarDarkShadowColor=line;
scrollbar3dLightColor=line;
scrollbarArrowColor="black";
scrollbarBaseColor=face;
scrollbarFaceColor=face;
scrollbarHighlightColor=face;
scrollbarShadowColor=face;
scrollbarTrackColor="#FFFFFF";
}
}

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,"blue");
}

if (document.all){
scrollBar(null,null,"blue");
document.onmousemove=colorBar;
}
//-->
</script>"#6699FF";
break;
}
}

with(document.body.style)
{
scrollbarDarkShadowColor=line;
scrollbar3dLightColor=line;
scrollbarArrowColor="black";
scrollbarBaseColor=face;
scrollbarFaceColor=face;
scrollbarHighlightColor=face;
scrollbarShadowColor=face;
scrollbarTrackColor="#FFFFFF";
}
}

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,"blue");
}

if (document.all){
scrollBar(null,null,"blue");
document.onmousemove=colorBar;
}
//-->
</script>

 

 

Cambiar el color de la barra de desplazamiento:

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.

<style>
<!--
BODY { scrollbar-base-color : #000000;
scrollbar-arrow-color : #FFFFFF; }
.nav {
color : #FFCC00;
font-size : 8pt;}
-->
</style>

 

 

Reloj - formato texto:

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.

 

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:

 

Onload="show5()"

 

Observa un ejemplo sencillo de cómo queda la etiqueta:
 

<body Onload="show5()">

 

¡Atención! Sin eso tu reloj no funcionará.

 

Paso 2: Incluye el siguiente código en tu página después de la etiqueta <body>.

 

<Font face=Verdana><span id=relogio style="POSITION: absolute"></span>
<Script Language=JavaScript>
<!--
function show5(){
if (!document.layers&&!document.all)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="AM" 
if (hours>12){
dn="PM"
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
meurelogio="<font size='5' face='Arial'><b>"+hours+":"+minutes+":"
+seconds+" "+dn+"</b></font>"
if (document.layers){
document.layers.relogio.document.write(meurelogio)
document.layers.relogio.document.close()
}
else if (document.all)
relogio.innerHTML=meurelogio
setTimeout("show5()",1000)
}

//-->
</script>
</font>

 

 

Poniendo fecha en tu sitio:

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.

No tenés que preocuparte con ninguna configuración. Sólo tenés que copiar y pegar el código en tu página.

 

<script language="JavaScript">
<!--
mydate = new Date();
myday = mydate.getDay();
mymonth = mydate.getMonth();
myweekday= mydate.getDate();
weekday= myweekday;

if(myday == 0)
day = " Domingo, "

else if(myday == 1)
day = " Lunes, "

else if(myday == 2)
day = " Martes, "

else if(myday == 3)
day = " Miércoles, "

else if(myday == 4)
day = " Jueves, "

else if(myday == 5)
day = " Viernes, "

else if(myday == 6)
day = " Sábado, "

if(mymonth == 0)
month = "Enero "

else if(mymonth ==1)
month = "Febrero "

else if(mymonth ==2)
month = "Marzo "

else if(mymonth ==3)
month = "Abril "

else if(mymonth ==4)
month = "Mayo "

else if(mymonth ==5)
month = "Junio "

else if(mymonth ==6)
month = "Julio "

else if(mymonth ==7)
month = "Agosto "

else if(mymonth ==8)
month = "Setiembre "

else if(mymonth ==9)
month = "Octubre "

else if(mymonth ==10)
month = "Noviembre "

else if(mymonth ==11)
month = "Diciembre "

document.write("<font face=arial, size=1>"+ day);
document.write(myweekday+" de "+month+ "</font>");
// -->
</script>

 

 

Mensaje de bienvenida:

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 "Hola, Fulano".

Copiá el siguiente código y pégalo donde quieras que aparezca el mensaje:

 

<Script language="JavaScript">
mensagem = prompt("Por favor, ingresa tu nombre",'');
if (mensagem==null) {
document.write("¡Hola, visitante!")
}else{
if (mensagem=='') {
document.write("<b><font face=arial size=2 color=#000000>¡Hola, visitante!</font></b>")
}else{
document.write("<b><font face=arial size=2 color=#000000>¡Hola"+mensagem+"! Bienvenido a mi sitio</font></b>");
}
}
</script>

 

 

 



© Copyrigth CssPlantallitas 2010-2011. Todos los Derechos reservados – Diseñado por: xdp
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis