Codigos Html
solo insertalo a tu web i listo tienes los mejores codigos
Pagina de Inicio
<a href="#" onClick="this.style.behavior='url(#default#homepag e)';this.setHomePage('http://www.tuweb.com');return false">Página de inicio</a>
Agregar Favoritos
<Script Language=JavaScript>
<!--
function add_bookmark() {
var browsName = navigator.appName;
if (browsName == "Microsoft Internet Explorer") {
window.external.AddFavorite('http://www.tuweb.com/','Lo que quieras que aparezca');
} else
if (browsName == "Netscape") {
alert ("\nPara agregar esta página a tu BookMark presiona CTRL+D");
}
}
//-->
</script>
<a href="javascript:add_bookmark();">Haz clic aquÃ#</a> para agregar esta página a tus FAVORITOS.
Efecto en la barra de estado
<SCRIPT language="VBScript">
<!--
Dim Bar, Line, SP
Bar = 0
Line = "|;"
sP = 250
Function Window_onLoad()
Bar = 95
sP = 10
END Function
Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = " C a r g a n d o p á g i n a . . . " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Lo que querais "
Document.Body.Style.Display = ""
End If
End Function
Call Count()
-->
</SCRIPT>
Boton derecho neutralizado
<Script language=JavaScript>
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
alert("BoToN DeReChO inhabilitado.");
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("BoToN DeReChO inhabilitado.");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
</script>
Insertar Google buscador en tu web
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value=es>
<INPUT type=submit name=btnG VALUE="Búsqueda Google">
</td></tr></TABLE>
</FORM>
</center>
<!-- Búsqueda Google -->
Cada vez que entras en la pagina muestra un mensaje diferente cambiais los mensajes que tengo yo (si quereis)
<script LANGUAGE="Javascript">
<!--
function text() {
};
text = new text();
number = 0;
text[number++] = " Hola"
text[number++] = " BienVenido a mi PaGe"
text[number++] = " Pasate por nuestras secciones"
text[number++] = " Si tienes ganas de jugar pasate por minijuegos"
text[number++] = " Para descarga directa y gratuita pasate por DESCARGAS"
text[number++] = " GRACIAS POR VISITARNOS "
text[number++] = " Pasate por hip-hop "
text[number++] = " Los tutoriales son utiles para un mejor rendimiento"
text[number++] = " Trucos msn para tener tu msn a la ultima"
text[number++] = " Trucos MsN Space para tener tu spacio a tope"
text[number++] = " Pasate por lost-perdidos descargas directas Episodios elinks..."
text[number++] = " Para los forofos del IRC addons y scripts dedicados para el IRC"
text[number++] = " Entra en CHAT para conocer gente en diferentes canales"
text[number++] = " Si tienes tiempo pasate por TV para saber la programacion de todos los canales"
text[number++] = " Si estas interesado en algun programa pasate por DESCARGAS para todo tipo de programas"
text[number++] = " Si quieres hacer algo en tu canal IRC y no sabes el comando necesario entra en COMANDOS IRC (completo)"
text[number++] = " Trucos web para tener tu page a tope"
increment = Math.floor(Math.random() * number);
document.write(text[increment]);
//-->
</script>
|