Codes HTML
Enlances llamativos: <script language="JavaScript"><!-- //Rainbow Links var ok=100 //delay time in milliseconds //Do not modify anything below this line. var color=0 function rain() { color=color+1; if(color==1){document.linkColor='red';} if(color==1){document.vlinkColor='red';} if(color==1){document.alinkColor='red'; setTimeout("rain();",ok);} if(color==2){document.linkColor='orange';} if(color==2){document.vlinkColor='orange';} if(color==2){document.alinkColor='orange'; setTimeout("rain();",ok);} if(color==3){document.linkColor='yellow';} if(color==3){document.vlinkColor='yellow';} if(color==3){document.alinkColor='yellow'; setTimeout("rain();",ok);} if(color==4){document.linkColor='green';} if(color==4){document.vlinkColor='green';} if(color==4){document.alinkColor='green'; setTimeout("rain();",ok);} if(color==5){document.linkColor='blue';} if(color==5){document.vlinkColor='blue';} if(color==5){document.alinkColor='blue'; setTimeout("rain();",ok);} if(color==6){document.linkColor='A209F4';} if(color==6){document.vlinkColor='A209F4';} if(color==6){document.alinkColor='A209F4'; setTimeout("rain();",ok);} if(color==7){document.linkColor='purple';} if(color==7){document.vlinkColor='purple';} if(color==7){document.alinkColor='purple'; setTimeout("rain();",ok);} if(color==8){document.linkColor='pink';} if(color==8){document.vlinkColor='pink';} if(color==8){document.alinkColor='pink'; setTimeout("rain();",ok);} if(color==9){color=0; setTimeout("rain();",ok);} } setTimeout("rain();",ok); // --></script> <a href="http://www.codesweb.es.tl" _fcksavedurl="http://www.codesweb.es.tl">Codigos html</a> <br> <a href="http://www.codesweb.es.tl/Noticias.htm" _fcksavedurl="http://www.codesweb.es.tl/Noticias.htm">Noticias</a><br> <a href="http://www.codesweb.es.tl/Encuesta.htm" _fcksavedurl="http://www.codesweb.es.tl/Encuesta.htm">Encuestas</a> <!-- Codes web. -->
Letras luminosas: <span id="theText" style="width:100%"> <h3 align="center"><font color="#3a6ca3"><font size="+3">TU TEXTO AQUI</font> </font><font color="#666666"> <script> // ^-the text that will be displayed <!-- //can be edited from here var from = 5; //the animation start value var to = 11; //the animation end value var delay = 55; //the animation speed var glowColor = "red"; //the first color var glowColor2 = "orange"; //the second color var glowColor3 = "yellow"; //the third color var glowColor4 = "lime"; //4th color var glowColor5 = "blue"; //5th color var glowColor6 = "magenta"; //last color //no more editing var i = to; var j = 0; textPulseDown(); function textPulseUp() { if (!document.all) return if (i < to) { theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")"; i++; theTimeout = setTimeout('textPulseUp()',delay); return 0; } if (i = to) { theTimeout = setTimeout('textPulseDown()',delay); return 0; } } function textPulseDown() { if (!document.all) return if (i > from) { theText.style.filter = "Glow(Color=" + glowColor2 + ", Strength=" + i + ")"; i--; theTimeout = setTimeout('textPulseDown()',delay); return 0; } if (i = from) { theTimeout = setTimeout('textPulseUp2()',delay); return 0; } } //Copyright (c) 2001 Coyotee Labs Romania (www.coyoteelabs.go.ro) //This script can be used freely as long as all copyright messages are //intact. Visit WWW.COYOTEELABS.GO.RO for more scripts function textPulseUp2() { if (!document.all) return if (i < to) { theText.style.filter = "Glow(Color=" + glowColor3 + ", Strength=" + i + ")"; i++; theTimeout = setTimeout('textPulseUp2()',delay); return 0; } if (i = to) { theTimeout = setTimeout('textPulseDown2()',delay); return 0; } } function textPulseDown2() { if (!document.all) return if (i > from) { theText.style.filter = "Glow(Color=" + glowColor4 + ", Strength=" + i + ")"; i--; theTimeout = setTimeout('textPulseDown2()',delay); return 0; } if (i = from) { theTimeout = setTimeout('textPulseUp3()',delay); return 0; } } function textPulseUp3() { if (!document.all) return if (i < to) { theText.style.filter = "Glow(Color=" + glowColor5 + ", Strength=" + i + ")"; i++; theTimeout = setTimeout('textPulseUp3()',delay); return 0; } if (i = to) { theTimeout = setTimeout('textPulseDown3()',delay); return 0; } } function textPulseDown3() { if (!document.all) return if (i > from) { theText.style.filter = "Glow(Color=" + glowColor6 + ", Strength=" + i + ")"; i--; theTimeout = setTimeout('textPulseDown3()',delay); return 0; } if (i = from) { theTimeout = setTimeout('textPulseUp()',delay); return 0; } } //--> </script></font></h3></span>
Texto intermitente: <script language="JavaScript"> var estado=true; setTimeout("ver()",450); function ver (){ estado=!estado; if(estado==true) texto1.style.visibility="visible"; else texto1.style.visibility="hidden"; setTimeout("ver()",450); } </script><p align="center" id="texto1" style="visibility:visible"><font face="Arial, Helvetica, sans-serif size="3">Ejemplo de texto intermitente</font></p>
Texto que va apareciendo: <script language="JavaScript"> var marqueewidth=350 var marqueeheight=20 var speed=5 var marqueecontents='<font face="Arial" size="3">Bienvenidos a Codes web</font>' if (document.all) document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>') function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers){ setTimeout("window.onresize=regenerate",450) intializemarquee() } } function intializemarquee(){ document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>') document.cmarquee01.document.cmarquee02.document.close() thelength=document.cmarquee01.document.cmarquee02.document.width scrollit() } function scrollit(){ if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){ document.cmarquee01.document.cmarquee02.left-=speed setTimeout("scrollit()",100) } else{ document.cmarquee01.document.cmarquee02.left=marqueewidth scrollit() } } window.onload=regenerate2 </script>
Pantalla completa: <form> <input TYPE="BUTTON" NAME="BTN_FullScreen" VALUE="Modo pantalla completa" OnClick="window.open(document.location, 'big', 'fullscreen=yes')"> </form>
Boton con mensaje: <html> <head> <script language="LiveScript"> function pushbutton() { alert("Hola!"); } </script> </head> <body> <form> <input type="button" name="Button1" value="Click" onclick_fckprotectedatt=" onclick="pushbutton()""> </form> </body> </html>
Efecto texto: <h5><script language="JavaScript1.2"> var message="Bienvenidos a Codes web!" var neonbasecolor="white" var neontextcolor="yellow" var flashspeed=50 var n=0 if (document.all){ document.write('<font color="'+neonbasecolor+'">') for (m=0;m<message.length;m++) document.write('<span id="neonlight">'+message.charAt(m)+'</span>') document.write('</font>') var tempref=document.all.neonlight } else document.write(message) function neon(){ if (n==0){ for (m=0;m<message.length;m++) tempref[m].style.color=neonbasecolor } tempref[n].style.color=neontextcolor if (n<tempref.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",1500) return } } function beginneon(){ if (document.all) flashing=setInterval("neon()",flashspeed) } beginneon() </script> </h5> Texto con resplandor: <style> <!-- #glowtext{ filter:glow(color=9999CC,strength=3); width:100%; } --> </style> <script language="JavaScript1.2"> function glowit(which){ if (document.all.glowtext[which].filters[0].strength==3) document.all.glowtext[which].filters[0].strength=2 else document.all.glowtext[which].filters[0].strength=3 } function glowit2(which){ if (document.all.glowtext.filters[0].strength==3) document.all.glowtext.filters[0].strength=2 else document.all.glowtext.filters[0].strength=3 } function startglowing(){ if (document.all.glowtext&&glowtext.length){ for (i=0;i<glowtext.length;i++) eval('setInterval("glowit('+i+')",150)') } else if (glowtext) setInterval("glowit2(0)",150) } if (document.all) window.onload=startglowing </script> <span id="glowtext">Codes web</span>
Reflejo de imagen en el agua: <!-- Mas javascripts en http://www.codesweb.es.tl --> <center> <!--Change following image name to your own--> <img id="reflect" src="http://img525.imageshack.us/img525/2721/codeswebmy6.gif" _fcksavedurl="http://img525.imageshack.us/img525/2721/codeswebmy6.gif"><br> <script language="JavaScript1.2"> function f1(){ setInterval("mdiv.filters.wave.phase+=10",100); } if (document.all){ document.write('<img id=mdiv src="'+document.all.reflect.src+'" style="filter:wave(strength=3,freq=3,phase=0,lightstrength=30) blur() flipv()">') window.onload=f1 } </script> </center>
Titulo cambiante: <!-- Mas trucos en codesweb.es.tl --> <SCRIPT LANGUAGE="JavaScript"> var message = new Array(); // Set your messages below -- follow the pattern. // To add more messages, just add more elements to the array. message[0] = "www.codesweb.es.tl"; message[1] = "Codigos Html"; message[2] = "Encuestas"; message[3] = "Newsletter"; message[4] = "Libro de visitas"; message[5] = "Tutoriales"; message[6] = "... Todo y MUCHO mas GRATIS"; // Set the number of repetitions (how many times the arrow // cycle repeats with each message). var reps = 2; var speed = 200; // Set the overall speed (larger number = slower action). // DO NOT EDIT BELOW THIS LINE. var p = message.length; var T = ""; var C = 0; var mC = 0; var s = 0; var sT = null; if (reps < 1) reps = 1; function doTheThing() { T = message[mC]; A(); } function A() { s++; if (s > <img src="http://theme.webme.com/smiles/cool.gif" border="0"> { s = 1;} // you can fiddle with the patterns here... if (s == 1) { document.title = '||||||====||| '+T+' -----'; } if (s == 2) { document.title = '|||=|||===||| '+T+' -----'; } if (s == 3) { document.title = '|||==|||==||| '+T+' -----'; } if (s == 4) { document.title = '|||===|||=||| '+T+' -----'; } if (s == 5) { document.title = '|||====|||||| '+T+' -----'; } if (s == 6) { document.title = '|||===|||=||| '+T+' -----'; } if (s == 7) { document.title = '|||==|||==||| '+T+' -----'; } if (s == <img src="http://theme.webme.com/smiles/cool.gif" border="0"> { document.title = '|||=|||===||| '+T+' -----'; } if (C < (8 * reps)) { sT = setTimeout("A()", speed); C++; } else { C = 0; s = 0; mC++; if(mC > p - 1) mC = 0; sT = null; doTheThing(); } } doTheThing(); // End --> </script>