Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/03/2002, 08:55
Avatar de jpogsistem
jpogsistem
 
Fecha de Ingreso: diciembre-2001
Mensajes: 2.405
Antigüedad: 22 años, 3 meses
Puntos: 4
Re: Poner un Link del dia

aJA!!!, Si se puede con este script, tomado de <a href='ir.asp?http://www.lawebdelprogramador.com' target='_blank'>http://www.lawebdelprogramador.com...</a>


&lt;!-- enlace aleatorio --&gt;
&lt;!-- http://www.lawebdelprogramador.com --&gt;
&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot;&gt;
&lt;!--
var surpriseurl=new Array(&quot;http://www.google.com&quot;, &quot;http://www.altavista.com&quot;, &quot;http://www.yahoo.com&quot;, &quot;http://www.lawebdelprogramador.com&quot;, &quot;http://www.lawebdelprogramador.com/buscar/&quot;, &quot;http://www.lawebdelprogramador.com/cursos/&quot;, &quot;http://www.lawebdelprogramador.com/temas/&quot;, &quot;http://www.lawebdelprogramador.com/diccionario/&quot;, &quot;http://www.lawebdelprogramador.com/trabajo/&quot;, &quot;http://www.lawebdelprogramador.com/mercadillo/&quot;, &quot;http://www.lawebdelprogramador.com/icocur.php&quot;)

// Texto que aparece en la barra de estado
var textstatusbar=&quot;surprise, surprise ...&quot;
// define el intervalo
var urlinterval=200
var surpriseurllength=surpriseurl.length
var timer
var mouseisover=false

function openurl(thisurl) {
var thisurlindex=Math.floor(surpriseurllength*Math.ran dom())
thisurl.href=surpriseurl[thisurlindex]
}

function msover() {
mouseisover=true
showstatusbar()
}

function msout() {
mouseisover=false
}

function showstatusbar() {
if (mouseisover) {
window.status=textstatusbar
timer=setTimeout(&quot;showstatusbar()&quot;,100)
}
else {clearTimeout(timer)}
}
// - End of JavaScript - --&gt;
&lt;/SCRIPT&gt;