InicioInfoRecursos web master

Recursos web master

Info9/11/2009
Codigos html
5b415a0a74765006f122f979f487f751
calculadora para tu web

dijo:

<form action name=”YOOO”> <b> <div align=”center”> <table border=”2″ cellpadding=”1″ cellspacing=”5″ height=”60″ width=”50″> <tbody> <tr> <td align=”middle” colspan=”3″><input name=”ReadOut” size=”24″ value=”0″ width=”100%” style=”text-align: right” /></td> <td> </td> <td align=”center”><input name=”btnClear” onclick=”Clear()” type=”button” value=” C ” /></td> <td align=”center”><input name=”btnClearEntry” onclick=”ClearEntry()” type=”button” value=” CE ” /></td> </tr> <tr> <td align=”center”><input name=”btnSeven” onclick=”NumPressed(7)” type=”button” value=” 7 ” /></td> <td align=”center”><input name=”btnEight” onclick=”NumPressed(8)” type=”button” value=” 8 ” /></td> <td align=”center”><input name=”btnNine” onclick=”NumPressed(9)” type=”button” value=” 9 ” /></td> <td align=”center”> </td> <td align=”center”><input name=”btnNeg” onclick=”Neg()” type=”button” value=” +/- ” /></td> <td align=”center”><input name=”btnPercent” onclick=”Percent()” type=”button” value=” % ” /></td> </tr> <tr> <td align=”center”><input name=”btnFour” onclick=”NumPressed(4)” type=”button” value=” 4 ” /></td> <td align=”center”><input name=”btnFive” onclick=”NumPressed(5)” type=”button” value=” 5 ” /></td> <td align=”center”><input name=”btnSix” onclick=”NumPressed(6)” type=”button” value=” 6 ” /></td> <td align=”center”> </td> <td align=”center”><input name=”btnPlus” onclick=”Operation(’+')” type=”button” value=” + ” /></td> <td align=”center”><input name=”btnMinus” onclick=”Operation(’-')” type=”button” value=” – ” /></td> </tr> <tr> <td align=”center”><input name=”btnOne” onclick=”NumPressed(1)” type=”button” value=” 1 ” /></td> <td align=”center”><input name=”btnTwo” onclick=”NumPressed(2)” type=”button” value=” 2 ” /></td> <td align=”center”><input name=”btnThree” onclick=”NumPressed(3)” type=”button” value=” 3 ” /></td> <td align=”center”> </td> <td align=”center”><input name=”btnMultiply” onclick=”Operation(’*')” type=”button” value=” * ” /></td> <td align=”center”><input name=”btnDivide” onclick=”Operation(’/')” type=”button” value=” / ” /></td> </tr> <tr> <td align=”center”><input name=”btnZero” onclick=”NumPressed(0)” type=”button” value=” 0 ” /></td> <td align=”center”><input name=”btnDecimal” onclick=”Decimal()” type=”button” value=” . ” /></td> <td colspan=”3″ align=”center”> </td> <td align=”center”><input name=”btnEquals” onclick=”Operation(’=')” type=”button” value=” = ” /></td> </tr> </tbody> </table> </div> </b> </form> <script language=”JavaScript”> <!– modifica este script para tu uso –> <!– puedes cambiar tamaño y color de botones y fondo –> <!– Begin var FKeyPad = document.Keypad; var Accum = 0; var FlagNewNum = false; var PendingOp = “”; function NumPressed (Num) { if (FlagNewNum) { FKeyPad.ReadOut.value = Num; FlagNewNum = false; } else { if (FKeyPad.ReadOut.value == “0″) FKeyPad.ReadOut.value = Num; else FKeyPad.ReadOut.value += Num; } } function Operation (Op) { var Readout = FKeyPad.ReadOut.value; if (FlagNewNum && PendingOp != “=”); else { FlagNewNum = true; if ( ‘+’ == PendingOp ) Accum += parseFloat(Readout); else if ( ‘-’ == PendingOp ) Accum -= parseFloat(Readout); else if ( ‘/’ == PendingOp ) Accum /= parseFloat(Readout); else if ( ‘*’ == PendingOp ) Accum *= parseFloat(Readout); else Accum = parseFloat(Readout); FKeyPad.ReadOut.value = Accum; PendingOp = Op; } } function Decimal () { var curReadOut = FKeyPad.ReadOut.value; if (FlagNewNum) { curReadOut = “0.”; FlagNewNum = false; } else { if (curReadOut.indexOf(”.”) == -1) curReadOut += “.”; } FKeyPad.ReadOut.value = curReadOut; } function ClearEntry () { FKeyPad.ReadOut.value = “0″; FlagNewNum = true; } function Clear () { Accum = 0; PendingOp = “”; ClearEntry(); } function Neg () { FKeyPad.ReadOut.value = parseFloat(FKeyPad.ReadOut.value) * -1; } function Percent () { FKeyPad.ReadOut.value = (parseFloat(FKeyPad.ReadOut.value) / 100) * parseFloat(Accum); } // End –> </script>




Tu Nombre En Japones

<script src=”http://www.gmodules.com/ig/ifr? url=http://n.girasol.googlepages.com/nombre.xml&synd=open&w=160& h=270& ;title=Tu+Nombre+en+Japonés&border=#ffffff|0px,1px+solid +#99BB66 |0px,2px+solid+#AACC66|0px,2px +solid+ #BBDD66&output=js”> </script>

Navegador Atras Adelante Top

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

Centrar La Web

<!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;”>

imprimir Pagina

<html> <body> <!– Copiar dentro del tag BODY –> <SCRIPT LANGUAGE=”JavaScript”> <!– function imprimir() { if (window.print) window.print() else alert(”Disculpe, su navegador no soporta esta opción.”); } // –> </SCRIPT> <A HREF=”javascript:imprimir()”>Imprimir Página Web</A> </body> </html>

Cuadro De Texto

<textarea style=”width:360px;height:58px;” rows=”2″ cols=”34″>AQUI ALGUN TEXTO</textarea>

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.codespwg.***” _fcksavedurl=”http://www.codespwg.***”>Codigos html</a> <br> <a href=”http://www.codespwg.***/Noticias.htm” _fcksavedurl=”http://www.codespwg.***/Noticias.htm”>Noticias</a><br> <a href=”http://www.codespwg.***/Encuesta.htm” _fcksavedurl=”http://www.codespwg.***/Encuesta.htm”>Encuestas</a> <!– Codes pwg. –>

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

<!– Mas javascripts en http://www.codespwg.*** –> <center> <!–Change following image name to your own–> <img id=”reflect” src=”http://img525..us/img525/2721/codeswebmy6.gif” _fcksavedurl=”http://img525.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 codespwg.*** –> <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.***”; 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://smilies.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://smilies.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>


Codigos css:

Estirar plantilla iceblue

<style type=”text/css”> <!– table.edit_main_table{width: 100% !important;} td.edit_main_tr{width: 100% !important;} table.edit_second_table{width: 100% !important;} td.edit_header_full{width: 100% !important; background-position:center;background-repeat:no-repeat; } td.edit_header_full table{width: 100% !important;} table.edit_third_table{width: 100% !important;} td.edit_navi_headbg{width: 15% !important;} table.edit_rechts_tabelle{width: 100% !important;} td.edit_rechts_bottom{width: 15% !important;} td.edit_rechts_cbg{width:100%;} –> </style>

Cambiar botones iceblue
<style type=”text/css”> <!– td.nav{background-image:url( URL DEL BOTON DE INICIO NORMAL );} td.nav:hover{background-image: url( URL DEL BOTON AL PASAR EL MOUSE);} –></style>

Cambiar el encabezado

<style type=”text/css”> <!– td.edit_header_full{background-image:url(url del cabezal);background-color:;height:140 px;} –></style>

Quitar box de plantilla iceblue
<style type=”text/css”> <!– table.edit_main_table{width: 85% !important;} td.edit_main_tr{width: 100% !important;} table.edit_second_table{width: 100% !important;} table.edit_third_table{width: 100% !important;} td.edit_navi_headbg{width: 20% !important;} table.edit_rechts_tabelle{width: 100% !important;} td.edit_rechts_bottom{width: 15% !important;position: absolute;left: -300px;} td.edit_rechts_cbg{width:100%;} td.shouty{visibility: hidden;width: 0px;} td.edit_rechts_sbg{visibility:hidden;} td.sidebar_heading{visibility: hidden;} td.edit_rb_footer{background-image:url();} td.edit_rechts_bottom{background-image:url();} td.edit_header_full{background-image:url(”); height: 150px; width: 921px; border-color:#ffffff; border-width:0px; border-style:solid;} td.edit_below_nav{visibility: hidden;} td#nav_Umfrage{display:none;} td#nav_abstand, td#nav_abstand1, td#nav_abstand2, td#nav_abstand3, td#nav_abstand4, td#nav_abstand5, td#nav_abstand6, td#nav_abstand7, td#nav_abstand8, td#nav_abstand9, td#nav_abstand10, td#nav_abstand11, td#nav_abstand12, td#nav_abstand13, td#nav_abstand14, td#nav_abstand15, td#nav_abstand16, td#nav_abstand17, td#nav_abstand18, td#nav_abstand19, td#nav_abstand20, td#nav_abstand21, td#nav_abstand22, td#nav_abstand23, td#nav_abstand24, td#nav_abstand25{display:none;} input, textarea {background-color:# 990000; border:solid 1px #000099; color: #000099;} table.forumtabelle {border:solid 1px #000099; color: #000099;} –></style>

Cambiar el puntero o mouse

<style type=”text/css”> HTML,BODY{cursor: url(”****IMAGEN QUE QUIERES MOSTRAR COMO CURSOR****”), url(”****IMAGEN QUE QUIERES MOSTRAR COMO CURSOR****”), auto;} </style>

Quitar box y menu

<style type=”text/css”> <!– td.nav{visibility:hidden;} td.nav:hover{visibility:hidden;} td.nav_heading{visibility:hidden;} td.sidebar_heading{visibility:hidden;} td.shouty{visibility:hidden;} td.shouty2{visibility:hidden;} td.shouty3{visibility:hidden;} td.shouty4{visibility:hidden;} td.shouty5{visibility:hidden;} td.edit_rb_footer{visibility:hidden;} –> </style>

Java
Cambiar el color de fondo cuando se carga la página

<script> <span class="blsp-spelling-error" id="SPELLING_ERROR_0">function</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_1">initArray</span>() { <span class="blsp-spelling-error" id="SPELLING_ERROR_2">this</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_3">length</span> = initArray.arguments.length <span class="blsp-spelling-error" id="SPELLING_ERROR_4">for</span> (<span class="blsp-spelling-error" id="SPELLING_ERROR_5">var</span> i = 0; i < hexchars = "0123456789ABCDEF" a =" Dec" b =" (Dec" hex = "" steps =" steps" reda =" begin.charAt(0)" red_vala =" parseInt(redA,’16′);" redb =" end.charAt(0)" red_valb =" parseInt(redB,’16′);" red_int =" ((red_valB" grna =" begin.charAt(2)" grn_vala =" parseInt(grnA,’16′);" grnb =" end.charAt(2)" grn_valb =" parseInt(grnB,’16′);" grn_int =" ((grn_valB" blua =" begin.charAt(4)" blu_vala =" parseInt(bluA,’16′);" blub =" end.charAt(4)" blu_valb =" parseInt(bluB,’16′);" blu_int =" ((blu_valB" step =" 2;" red =" red_valA;" grn =" grn_valA;" blu =" blu_valA;" bgcolor =" begin;">= <span class="blsp-spelling-error" id="SPELLING_ERROR_6">step</span> ) { red -= red_<span class="blsp-spelling-error" id="SPELLING_ERROR_7">int</span>; red_<span class="blsp-spelling-error" id="SPELLING_ERROR_8">round</span> = <span class="blsp-spelling-error" id="SPELLING_ERROR_9">Math</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_10">round</span>(red); red_<span class="blsp-spelling-error" id="SPELLING_ERROR_11">hex</span> = <span class="blsp-spelling-error" id="SPELLING_ERROR_12">Dec</span>2<span class="blsp-spelling-error" id="SPELLING_ERROR_13">Hex</span>(red); <span class="blsp-spelling-error" id="SPELLING_ERROR_14">grn</span> -= <span class="blsp-spelling-error" id="SPELLING_ERROR_15">grn</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_16">int</span>; <span class="blsp-spelling-error" id="SPELLING_ERROR_17">grn</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_18">round</span> = <span class="blsp-spelling-error" id="SPELLING_ERROR_19">Math</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_20">round</span>(<span class="blsp-spelling-error" id="SPELLING_ERROR_21">grn</span>; <span class="blsp-spelling-error" id="SPELLING_ERROR_22">grn</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_23">hex</span> = <span class="blsp-spelling-error" id="SPELLING_ERROR_24">Dec</span>2<span class="blsp-spelling-error" id="SPELLING_ERROR_25">Hex</span>(<span class="blsp-spelling-error" id="SPELLING_ERROR_26">grn</span>; <span class="blsp-spelling-error" id="SPELLING_ERROR_27">blu</span> -= <span class="blsp-spelling-error" id="SPELLING_ERROR_28">blu</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_29">int</span>; <span class="blsp-spelling-error" id="SPELLING_ERROR_30">blu</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_31">round</span> = <span class="blsp-spelling-error" id="SPELLING_ERROR_32">Math</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_33">round</span>(<span class="blsp-spelling-error" id="SPELLING_ERROR_34">blu</span>; <span class="blsp-spelling-error" id="SPELLING_ERROR_35">blu</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_36">hex</span> = <span class="blsp-spelling-error" id="SPELLING_ERROR_37">Dec</span>2<span class="blsp-spelling-error" id="SPELLING_ERROR_38">Hex</span>(<span class="blsp-spelling-error" id="SPELLING_ERROR_39">blu</span>; <span class="blsp-spelling-error" id="SPELLING_ERROR_40">document</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_41">bgColor</span> = red_<span class="blsp-spelling-error" id="SPELLING_ERROR_42">hex</span> + <span class="blsp-spelling-error" id="SPELLING_ERROR_43">grn</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_44">hex</span> + <span class="blsp-spelling-error" id="SPELLING_ERROR_45">blu</span>_<span class="blsp-spelling-error" id="SPELLING_ERROR_46">hex</span>; <span class="blsp-spelling-error" id="SPELLING_ERROR_47">step</span>++; } <span class="blsp-spelling-error" id="SPELLING_ERROR_48">document</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_49">bgColor</span> = <span class="blsp-spelling-error" id="SPELLING_ERROR_50">end</span>; } </script> </head><body> <script> <!– CHANGEBG("FFFFFF","000000",350); // –> </script>

Mensaje al pasar el mouse por encima del texto

<html> <head> <script language="JavaScript"> <!– Los comentarios esconden el código a navegadores sin JavaScript function Alarma() { alert("No me pises, que llevo chanclas"; return true; } // –> </script> </head> <body> <a href="eventos.html" onmouseover="Alarma()"> Pasa por aquí encima </a> </body> </html>

Proteger una página con contraseña

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" //window.location.href=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"> </p> </center> </form>

Penalizar con un número de clicks al presionar 2 veces el botón derecho
<script language="Javascript"> zaehler=0; function right(e) { if (navigator.appName == ‘Netscape’){ if (e.which == 3 || e.which == 2){ alert("Aqui no puedes utilizar el botón derecho del mouse"; for(i=0;i!=zaehler;i++)alert("Ya te avisé, te penalizaré con n "+(zaehler-i)+"n clicks."; zaehler+=10; alert("¡La proxima vez que lo hagas será peor!"; return false;}} if (navigator.appName == ‘Microsoft Internet Explorer’){ if (event.button == 2 || event.button == 3){ alert("Aqui no puedes utilizar el botón derecho del mouse"; for(i=0;i!=zaehler;i++)alert("Ya te avisé, te penalizaré con n "+(zaehler-i)+"n clicks."; zaehler+=10; alert("¡La proxima vez que lo hagas será peor"; return false;}} return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; // –></script>

Cambia el color de fondo al pasar el mouse por encima

<a onmouseover="document.bgColor=’blue’">Azul</a> <a onmouseover="document.bgColor=’light blue’">Azul_Claro</a> <a onmouseover="document.bgColor=’olive’">Verde_Oliva</a> <a onmouseover="document.bgColor=’gray’">Gris</a> <a onmouseover="document.bgColor=’purple’">Purpura</a> <a onmouseover="document.bgColor=’pink’">Rosa</a> <a onmouseover="document.bgColor=’yellow’">Amarillo</a> <a onmouseover="document.bgColor=’brown’"><span class="blsp-spelling-error" id="SPELLING_ERROR_54">Castaqo</span></a> <a onmouseover="document.bgColor=’aqua’">Agua</a> <a onmouseover="document.bgColor=’navy’">Azul_Marino</a> <a onmouseover="document.bgColor=’green’">Verde</a> <a onmouseover="document.bgColor=’silver’">Plata</a> <a onmouseover="document.bgColor=’violet’">Violeta</a> <a onmouseover="document.bgColor=’salmon’"><span class="blsp-spelling-error" id="SPELLING_ERROR_55">Salmon</span></a> <a onmouseover="document.bgColor=’orange’">Anaranjado</a> <a onmouseover="document.bgColor=’maroon’"><span class="blsp-spelling-error" id="SPELLING_ERROR_56">Marron</span></a> <a onmouseover="document.bgColor=’teal’"><span class="blsp-spelling-error" id="SPELLING_ERROR_57">Teal</span></a> <a onmouseover="document.bgColor=’turquoise’">Turquesa</a> <a onmouseover="document.bgColor=’lime’">Verde_Lima</a> <a onmouseover="document.bgColor=’red’">Rojo</a> <a onmouseover="document.bgColor=’fuchsia’">Fucsia</a> <a onmouseover="document.bgColor=’white’">Blanco</a> <a onmouseover="document.bgColor=’black’">Negro</a></pre>

Eso es todo por ahora espero que les sirva este post esta echo por mi mismo no es copy paste.
Datos archivados del Taringa! original
0puntos
698visitas
0comentarios
Actividad nueva en Posteamelo
0puntos
0visitas
0comentarios
Dar puntos:

Dejá tu comentario

0/2000

No hay comentarios nuevos todavía

Autor del Post

t
thrionnn🇦🇷
Usuario
Puntos0
Posts6
Ver perfil →
PosteameloArchivo Histórico de Taringa! (2004-2017). Preservando la inteligencia colectiva de la internet hispanohablante.

CONTACTO

18 de Septiembre 455, Casilla 52

Chillán, Región de Ñuble, Chile

Solo correo postal

© 2026 Posteamelo.com. No afiliado con Taringa! ni sus sucesores.

Contenido preservado con fines históricos y culturales.