Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/02/2003, 02:27
oscar pereyra
 
Fecha de Ingreso: enero-2003
Ubicación: rosario-provincia santa fe
Mensajes: 69
Antigüedad: 21 años, 3 meses
Puntos: 0
De acuerdo No encuentro la falla

Hola Caricatos:
Te agradezco tu respuesta pero no consigo ensamblar el script, te mando como me quedó conformado y por favor si podés haceme las correcciones del caso. Muchas gracias.

<script>
function copyrightIntro(url)
{
if (!document.layers&&!document.all&&!document.getEle mentById)
{
paramstp="height=400,width=400,top=0,left=0,scroll bars=yes,location=no"+
",directories=no,status=no,menubar=no,toolbar=no,r esizable=yes"
var crw=window.open(url,"",paramstp);
if (crw.focus){crw.focus();}
crw.document.write(interior);
return;
var interior = "<html><body style='background-image:url(" + url;
interior += ");background-color:" + #000fff ;
interior += ";background-atachment:fixed;background-position:center center";
interior += "'></body></html>";
}
var winwidth=200;
var winheight=50;
var winreswidth=window.screen.availWidth;
var winresheight=window.screen.availHeight;
var LeftPosition=(winreswidth-winwidth)/2;
var TopPosition=winresheight-winheight/2;

var paramstr="left="+LeftPosition+",top="+TopPosition+ ",width="+winwidth+
",height="+winheight+",toolbar=no,menubar=no,locat ion=no,"+
"status=no,scrollbars=yes,resizable=yes";
var crw=window.open(url ,"",paramstp);
cambiar url x "" => se abre una página en blanco...
crw.resizeBy(0,-40);

var resspeed=100;
var wspeed=winreswidth/resspeed;
var hspeed=winresheight/resspeed;
var x=wspeed;

while (x)
{
crw.resizeBy(x,0);
winwidth+=x;
LeftPosition=(winreswidth-winwidth)/2;
TopPosition-=wspeed;
if (LeftPosition<0) LeftPosition=0;
if (TopPosition<0) TopPosition=0;
crw.moveTo(LeftPosition,TopPosition);
if (winwidth>=winreswidth) x=0;

}
crw.moveTo(0,0);

var y=hspeed;
winheight=50;
while(y)
{
crw.resizeBy(0,y);
winheight+=y;
if (winheight>=winresheight) y=0;
}
crw.resizeTo(winreswidth,winresheight);
if (crw.focus){crw.focus();}
}
</script><title>core</title>

</HEAD>



<BODY bgcolor="#999999">
var interior = "<html><body style='background-image:url(" + url;
interior += ");background-color:" + #000fff ;
interior += ";background-atachment:fixed;background-position:center center";
interior += "'></body></html>";
</BODY>
</HTML>
__________________
oscar pereyra