Gracias por visitar el Blog

1.-Aquellos enlaces que ya no estén disponibles por favor de dejar tu comentario aquí.
2.-Aquellas peticiones que tengas o que quieras ver en esté Blog por favor deja tu comentario aquí.

Vistas de página en total

Mostrando entradas con la etiqueta codigos. Mostrar todas las entradas
Mostrando entradas con la etiqueta codigos. Mostrar todas las entradas

20 de octubre de 2011

OBJETOS PARA BLOGGER Y PAGINAS WEB HTML

Estos son objetos html para blogger y para paginas web

fondo negro con letras rojas

<font face="Arial" color="red" size="4"> <marquee bgcolor="#110000"></marquee></font>


enviar por email

<table border=0>

<br><br><table border=+7 bgcolor="green" align="left">

<tr><td><form name="eMailer">
ENVÍA ESTA PÁGINA A UN AMIGO
<br>
Indica su e-mail:
<br>
<input type="text" name="address" size="25">
<br>
<input type="button" value="Recomendá esta Web!" onClick="mailThisUrl();">
</form>
<script language="JavaScript1.2">
var good;
function checkEmailAddress(field) {
// the following expression must be all on one line...
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|
(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (goodEmail){
good = true
} else {
alert('Por favor introduce un e-mail valido')
field.focus()
field.select()
good = false
}
}
u = window.location;
m = "Pienso que te puede interesar esta página...";
function mailThisUrl(){
good = false
checkEmailAddress(document.eMailer.address)
if (good){
// the following expression must be all on one line...
window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+document.title+" "+u;
}
}
</script></td></tr>

</table>



reloj para que termine el dia

<br><br><br><table border=9 bgcolor="red" align="left">

<tr><td><p>El reloj...</p>
<form name="Reloj">
<input type="text" size="7" name="tiempo" value="mm:hh:ss" title="Tiempo restante para finalizar el día">
<script language="JavaScript">
<!--
var tiempoAtras;

updateReloj();
function updateReloj() {
var tiempo = new Date();
var hora = 23-tiempo.getHours();
var minutos = 59-tiempo.getMinutes();
var segundos = 59-tiempo.getSeconds();

tiempoAtras= (hora < 10) ? hora :hora;
tiempoAtras+= ((minutos < 10) ? ":0" : ":") + minutos;
tiempoAtras+= ((segundos < 10) ? ":0" : ":") + segundos;

document.Reloj.tiempo.value = tiempoAtras;

setTimeout("updateReloj()",1000);
}
//-->
</script>
</form></td></tr>

</table><br>



BLOQUEAR PAGINA ANTES DEL HTML INICIAL

<Script language=JavaScript>
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
alert("ACCESO DENEGADO.");
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("ACCESO DENEGADO.");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
</script>



CURSOR MIRA DE DISPARO

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



ABRIR EN UNA NUEVA PESTAÑA

<a href="link de la pagina" target="_blank">nombre que va a recibir</a>



Con este código vamos a impedir que los visitantes seleccionen el texto de nuestra página para luego copiarlo a otro lado


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




Related Posts Plugin for WordPress, Blogger...