Bienvenida

Bienvenido a mi proyecto de computación

Códigos HTML

* Este código HTML le da un Saludo al visitante de buenos días, noches, dependiendo en que hora este el visitante:


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

Escribir un texto en movimiento:


<marquee>Texto en movimiento</marquee>

*Inserta un traductor de español a inglés:

<a href="https://www.blogger.com/blogger.g?blogID=XXXXXXXXXXXXXXXXXXX" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&amp;langpair=es%7Cen&amp;en=es&amp;en=UTF8');return false" rel="nofollow" target="_blank" title="Google-Translate-Spanish to English "><img alt="Google-Translate-Spanish to English" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhA617E3hs4HLa6hsQYKP5HL7s3OOH96bwIutC10yDBez2iILK1VDG_dBsDyGAE8NZa4nKhYgnjOHePnx9_UU0IoGCK4bO6SKHoYdVkO2pfE4oA90lgwFmhsfDmgdeQFHBQN0lboaTWA/s1600/United+States+of+America+(USA).png" style="border: 0 solid; cursor: pointer; height: 32px; width: 32px;" title="Google-Translate-Spanish to English" /></a>

*Cambia de color el fondo, sólo al pasar el cursor: 

<style type="text/css"> 
<!-- 
body { cursor: crosshair} 
--> 
</style> 
 
*Inserta un buscador de Google:

 <!-- Búsqueda Google -->
<center>
<FORM method=GET action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value=es>
<INPUT type=submit name=btnG VALUE="Búsqueda Google">
</td></tr></TABLE>
</FORM>
</center>
<!-- Búsqueda Google --> 

* Inserta un mini chat para los visitantes:

<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="200" height="305" src="http://www4.cbox.ws/box/?boxid=3799093&boxtag=6tyk3s&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#DBE2ED 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="200" height="75" src="http://www4.cbox.ws/box/?boxid=3799093&boxtag=6tyk3s&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#DBE2ED 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->

* Cambia la forma de el puntero:

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

* Produce un temblor cada que se entre a la página, pero sólo funciona con el Internet Explorer:

<html>
<head>
<title>http://www.blogbiotecnologia.blogspot.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<p>
<script language="JavaScript1.2">

function tremer(n) {

if (self.moveBy) {

for (i = 10; i > 0; i--) {

for (j = n; j > 0; j--) {

self.moveBy(0,i);

self.moveBy(i,0);

self.moveBy(0,-i);

self.moveBy(-i,0);

}}}}

tremer(5)

</script>
<Script language=JavaScript>

function right(e) {

if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){

alert("www.CheNico.com");

return false;

}

else if (navigator.appName == 'Microsoft Internet Explorer' &&

(event.button == 2 || event.button == 3)) {

alert("www.blogbiotecnologia.blogspot.com");

return false;

}

return true;

}

document.onmousedown=right;

if (document.layers) window.captureEvents(Event.MOUSEDOWN);

window.onmousedown=right;

</script>
</body>
</html>


FUENTES: 
http://www.todopatuweb.net/codigos/

No hay comentarios:

Publicar un comentario