CODIGOS HTML-1

CAJA DE COMENTARIOS CON SCROLL

COLOCAR EN EL HEAD

 

<style type="text/css">

 /*<![CDATA[*/

<!--.com-list {

background-color: #000000;

height: 500px;

width: 600px;

margin-right: auto;

margin-left: auto;

overflow: scroll;

visibility: visible;

border: 1px solid #000000;

}

-->

/*]]>*/

</style>

 

RECOMENDAR PAGINA A UN AMIGO

ENVÍA ESTA PÁGINA A UN AMIGO
Indica su e-mail:

 

<DIV style="BORDER-RIGHT: #33ccFF 3px dotted; BORDER-TOP: #33ccFF 3px dotted; SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #33CCFF; OVERFLOW: auto; BORDER-LEFT: #33ccFF 3px dotted; WIDTH: 600px; SCROLLBAR-SHADOW-COLOR: #33ccFF; SCROLLBAR-3DLIGHT-COLOR: #33ccFF; SCROLLBAR-ARROW-COLOR: #33ccFF; BORDER-BOTTOM: #33CCFF 3px dotted; SCROLLBAR-DARKSHADOW-COLOR: #33CCFF; SCROLLBAR-BASE-COLOR: #33CCFF; HEIGHT: 200px">
<P>aqui pon tu texto</DIV>

PONER FECHA EN SU 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 size=1>"+ day);
document.write(myweekday+" de "+month+ "</font>");
// -->
</script>
 

SALUDOS AL VISITANTE

 

 <Font size=2><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 PARA PONER BANNER CON IMAGEN

 

<a href="aqui va la direccion de tu web o sito para que al darle clic valla ahi" target="_blank"><img src="aqui pones exactamente la direccion de la imagen " alt="width=" height="60" border="0" /></a>

EXPLOSION DE FUEGOS ARTIFICIALES PARA FONDOS EN NEGRO

COLOCAR EN WIDGET/HTML

 

     <script language="JavaScript1.2">
/*www.yomaster.com*/
var ns=document.layers?1:0var ie4=document.all?1:0var ns6=document.getElementById&&!document.all?1:0
amount=14;if (ns){for (i=0; i < amount; i++)document.write("<LAYER NAME='nsstars"+i+"' LEFT=0 TOP=0 BGCOLOR='#000000' CLIP='0,0,1,1'></LAYER>");}else if (ie4||ns6){document.write("<div id='ieCov' style='position:absolute;top:0px;left:0px'>");document.write("<div style='position:relative'>");for (i=0; i < amount; i++)document.write("<div id='iestars"+i+"' style='position:absolute;top:0px;left:0px;width:1;height:1;background:#ffffff;font-size:1;z-index:10'></div>");document.write("</div></div>");}Clrs=new Array('ff0000','00ff00','ffffff','ff00ff','ffa500','ffff00','00ff00','ffffff','ff00ff')sClrs=new Array('ffa500','00ff00','FFAAFF','fff000','fffffF')Xpos=300;Ypos=150;initialStarColor='00ff00';step=5;currStep=0;explosionSize=120;function Fireworks(){var WinHeight=(ns||ns6)?window.innerHeight-100:window.document.body.clientHeight-100;var WinWidth=(ns||ns6)?window.innerWidth-100:window.document.body.clientWidth-100;var Yscroll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;for (i=0; i < amount; i++){if (ie4||ns6)var layer=ns6?document.getElementById("iestars"+i).style : eval("iestars"+i).style;else if (ns)var layer=document.layers["nsstars"+i]var randCol=Math.round(Math.random()*8);var randSz=Math.round(Math.random()*2);layer.top = Ypos + explosionSize*Math.sin((currStep+i*5)/3)*Math.sin(currStep/100)layer.left= Xpos + explosionSize*Math.cos((currStep+i*5)/3)*Math.sin(currStep/100)if (currStep < 110){ if (ns){layer.bgColor=initialStarColor;layer.clip.width=1;layer.clip.height=1} else{layer.background=initialStarColor;layer.width=1;layer.height=1;layer.fontSize=1} }else{ if (ns){layer.bgColor=Clrs[randCol];layer.clip.width=randSz;layer.clip.height=randSz} else{layer.background=Clrs[randCol];layer.width=randSz;layer.height=randSz;layer.fontSize=randSz} }}if (currStep > 220) { currStep=0; Ypos = 50+Math.round(Math.random()*WinHeight)+Yscroll; Xpos = 50+Math.round(Math.random()*WinWidth); for (i=0; i < sClrs.length; i++)  {  var newIcol=Math.round(Math.random()*i);  }initialStarColor=sClrs[newIcol];explosionSize=Math.round(80*Math.random()+100);}currStep+=step;setTimeout("Fireworks()",20);}Fireworks();// -->    </script>

TEXTO EN MOVIMIENTO HACIA ARRIBA O HACIA ABAJO

BIENVENIDOS A CODIGOS WEBSITE Hacia abajo --- Hacia arriba

 

 <marquee id="ejemplo" direction="up">
  AQUI VA EL TEXTO QUE DESEES </marquee><a href="javascript:void(0);" onclick="getElementById('ejemplo').direction='down';">
  Hacia abajo
</a>---
<a href="javascript:void(0);" onclick="getElementById('ejemplo').direction='up';">
  Hacia arriba
</a>

BOTON PERSONALIZADO CON ENLACES

Con este codigo podras crear un boton y dentro de el habran varios enlaces, es decir el boton cambiara de links a diferentes webs que tu coloques. Puedes colocar tantos Tantos links como desees.

 

<font face="Arial, Helvetica, sans-serif" size="2"><script language="JavaScript" type="text/javascript">
//<![CDATA[

var timerID = null
var timerRunning = false
var charNo = 0
var charMax = 0
var lineNo = 0
var lineMax = 4
var lineArr = new Array(lineMax)
var urlArr = new Array(lineMax)

lineArr[1] = "Codigos Hmtl"
urlArr[1] ="http://codigos-website.jimdo.com/codigos-html"
lineArr[2] = "Relojes Flash"
urlArr[2] = "http://codigos-website.jimdo.com/relojes"
lineArr[3] = "Codigos-website"
urlArr[3] = "http://codigos-website.jimdo.com/"
lineArr[4] = "http://codigos-website.jimdo.com"
urlArr[4] = "http://codigos-website.jimdo.com"

var lineText = lineArr[1]
function StartShow() {
StopShow()
ShowLine()
timerRunning = true
}
function FillSpaces() {
for (var i = 1; i <= lineWidth; i++) {
spaces += " "
}
}
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("ShowLine()", 100)
}
else {
charNo = 0
timerID = setTimeout("ShowLine()", 3000)
}
}
function GotoUrl(url)
{
top.location.href = url
}
document.write("<form name=\"formDisplay\">");
document.write("<input type=\"button\" name=\"buttonFace\" value=\"&{lineText}\" size=\"18\" onClick=\"GotoUrl(urlArr[lineNo])\">");
document.write("<\/form>");
StartShow();
//]]>
</script></font>

 

MOVER EL TITULO DE LA PAGINA

PEGAR EN EL HEAD

 

 <script language="JavaScript" type="text/javascript">
//<![CDATA[
<!--
<!--
var txt="Los mejores codigos estan en http://codigos-website.jimdo.com.  ";
var espera=200;
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();
// -->

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
//]]>
</script>