Diego Venegas
Inicio Foro Blog
Menu del sitio
Anuncios Patrocinados

Mi Pagina

Codes Utiles

Página en tu página <iframe name="window" marginwidth="0" src="URL DE LA PÁGINA" frameborder="0" width="500" scrolling="yes" height="500"></iframe>
Ejemplo:
Cajitas con Texto Autocopiado <span id="Caja01" class="Caja01">Haga Click para copiar su contenido<br />
</span><textarea onclick="copyCaja01(document.getElementById('code01'));return false;" cols="16" rows="3" id="code01">Texto o codigo que desee en la Caja 01</textarea> <script> function copyCaja01(elt) { var urlSwf = "copy.swf"; var flash = document.getElementById("01"); 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("Caja01").innerHTML = "¡El texto ha sido copiado!<br/>"; return true; } </script>
<div id="01">&nbsp;</div>

Ejemplo:
Ocultar un Texto o Código Titulo de tu code<div   class="pre-spoiler"><input type="button" value="Mostrar" style="margin: 0px; padding: 0px; width: 80px; font-size: 10px;" onclick="if  
(this.parentNode.parentNode.getElementsByTagName('div')[1]
.getElementsByTagName('div')[0].style.display   !=   '')   { this.parentNode.parentNode.getElementsByTagName('div')[1]
.getElementsByTagName('div')[0].style.display   =   '';this.innerText   =   '';   this.value   =   'Ocultar';   }   else   {  this.parentNode.parentNode.getElementsByTagName('div')[1]
.getElementsByTagName('div')[0].style.display   =   'none';   this.value   = 'Mostrar';}" /></div><div>
<div class="spoiler" style="display: none;"><textarea rows="3" cols="40">Tu Code</textarea></div>
Insertar una imagen
<img src="URL DE TU IMAGEN" border="0" style="opacity:0.5">
Ejemplo:
Prohibir el seleccionado de texto en nuestra web  <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>
Centrado de plantilla Iceblue Texto por Ensima de la página:
<!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;">
 Imagen que sigue con el scrollbar  <a href="URL DE DESTINO" target="_blank"><img style="display:scroll; position:fixed; bottom:0px; right:0px;" src="URL DE LA IMAGEN"/></a>
Probador html

<script> function probar(texto) {ventana = window.open('', 'popup', ''); ventana.document.write(texto);} </script>
<form name="probador" action="">
<textarea name="texto" cols="50" rows="10">
</textarea><font size="2" face="Verdana"> <br />
</font><input type="button" value="Convertir" onclick="probar(texto.value)" />
<font size="2" face="Verdana"> </font></form>


Ejemplo:
Tabla de colores  <iframe width="205" scrolling="no" height="220" frameborder="0" src="http://www.venegas-saavedra.co.cc-a.googlepages.com/TablaColores.html" marginwidth="0" name="window"></iframe>
Ejemplo:
   
   
   
   
   
   
   
Copyright MyCorp © 2009
Internet
My Plugoo

Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis