Rotación Banners
Rotación banners (permite poner tantos banners como quieras, permite definir texto, imagen origen, link de destino, alto y anchura de imagen)
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var how_many_ads = 3;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="Una de las mejores webs";
url="http://www.thedaniex.com";
alt="...::: www.thedaniex.com :::...";
banner="http://www.thedaniex.com/banner.gif";
width="468";
height="60";
}
if (ad==2) {
txt="Informática y videojuegos";
url="http://www.thedaniex.com/";
alt="thedaniex.com";
banner="http://etc, etc";
width="468";
height="60";
}
if (ad==3) {
txt="La Pagina Numero Uno de la Red";
url="http://www.thedaniex.com/";
alt="thedaniex.com";
banner="http://";
width="468";
height="60";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
// End -->
</SCRIPT>
Botón Atrás, Actualizar y Adelante
<input type="button" value="Atrás" onclick="history.back()" style="font-family: Verdana; font-size: 8 pt">
<input type="button" value="Actualizar" onclick="window.location.reload()" style="font-family: Verdana; font-size: 8 pt">
<input type="button" value="Adelante" onclick="history.forward()" style="font-family: Verdana; font-size: 8 pt">
Te enseña la hora y el texto que quieras en la barra del status
<script language="JavaScript">
<!--
mensaje=" |======| .: w W w . T h e D a n i e X . C o M :. "
function hora() {
var h = new Date();
window.status="|======| "
+ h.getHours() +":"+ h.getMinutes() +"" +mensaje ;
window.setTimeout('hora()',100);
}
hora()
//-->
</script>
Escribir en el "Status" del Navegador y hacer mover el "Title"
<SCRIPT languague="JavaScript">
<!--
var cuenta=0
var texto=" Lo que te de la gana "
function scrolltexto () {
window.status=texto.substring (cuenta,texto.length)+ texto.substring(0,cuenta)
if (cuenta <texto.length){ cuenta ++
}else{
cuenta=0
}
setTimeout("scrolltexto()",150)
}
scrolltexto ()
//-->
</SCRIPT>
Para webs sin frames, mantiene tu página en primer plano, y no puede estar en frames de otro "listillo"
<SCRIPT LANGUAGE="JavaScript">
<!--- Se esconde el codigo a navegadores sin JS
if (window != window.top)
top.location.href = location.href;
// -->
</SCRIPT>
Finalizado ! Dejare Mas Muy Pronto ! y Dejare mas tutoriales