<html>
<head>
<base target="_blank">
<meta http-equiv="refresh" content="270;URL=http://foro.logamweb.com/post2.php">
<script language="JavaScript1.2">
var C=1;
function controlar(){
b=document.getElementById('boton');
if(C==0){
copyspeed=marqueespeed;
C=1;
b.innerHTML="Stop";
}else{
C=0;
copyspeed=pausespeed;
b.innerHTML="Play";
}
}
</script></head>
<body bgcolor="#99CCFF" onLoad="populate();">
<table border="0" width="100%" style="border: 0
" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<button onclick="controlar()" id="boton">Stop</button>
<script language="JavaScript1.2">
/*
Cross browser Marquee II- © Dynamic Drive (
www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit
http://www.dynamicdrive.com
Credit MUST stay intact
*/
/*
NOTA: con lo siguiente se soluciona el bug del ancho de borde bajo navegadores Netscape y Mozilla.
En ellos el borde NO pertenece a las dimensiones de la capa, pero en Opera y Explorer SI pertenece,
lo cual hace que en Netscape/Mozilla se vea un poco más grande. Por ello reducimos el ancho en
estos 2 últimos navegadores
*/
//Specify the marquee's width (in pixels)
var marqueewidth = 330; // Ancho de la marquesina
var anchoborde = 0; // Ancho del borde de la marquesina, en pixeles (debe ser igual al borde de la capa, especificado abajo del todo)
//Corregimos el bug anteriormente citado...
if (navigator.appName=="Netscape") {
marqueewidth = marqueewidth - 2*anchoborde;
}
//Specify the marquee's height
var marqueeheight=222
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=3
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=5
//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
var marqueecontent='probando<br><br><br><br><br>proban do....<br><br>probando nuevamente....<br><br><br>saludos....' // ¡¡¡NO TOCAR!!!
////NO NEED TO EDIT BELOW THIS LINE////////////
marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee
function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=marqueeheight+8
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee 2
ns_marquee.top=marqueeheight+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",40)
}
function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.sty le.top)-copyspeed
else
cross_marquee.style.top=marqueeheight+8
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=marqueeheight+8
}
}
if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative; border: 0px solid #000000; width:'+marqueewidth+'; height:'+marqueeheight+'; overflow:hidden; background:#99CCFF;" >')
write('<div id="iemarquee" style="position:absolute; left:0; top:0; width:'+marqueewidth+'">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 ></layer>')
write('</ilayer>')
}
}
}
</script> </td>
</tr>
</table>
</body>