que tengo mal

24/02/2005 - 21:43 por Miguel cazares | Informe spam
Compañeros, tengo el siguiente codigo y no se que esta mal

<TD><font size=2><a href="Javascript:center
('supplyChain1.asp?id=<% Response.Write(tbl("Productno"))%

",300, 220)> <% Response.Write(tbl("Productno"))%
</a></TD>



y tengo en script

function center(url,width, height)
{
str = 'menu
=0','scrollbars=no' , 'resizable=no' , 'statusbar=
no' , 'toolbar= no' , 'width=' + width + "," + 'height='
+ height + ';'
window.open( url, '', str );
}

y no se que esta mal.. porque en la otra hoja no me
aparece el parametro enviado
 

Leer las respuestas

#1 Manuel Vera
24/02/2005 - 23:33 | Informe spam
el href esta mal, pues no cerraste CENTER con apostrofe y cerraste antes el
HREF
Prueba con esto

<TD><font size=2><a href="Javascript:center
('supplyChain1.asp?id=<% Response.Write(tbl("Productno"))%
',300, 220)"> <% Response.Write(tbl("Productno"))%
</a></TD>



Y cambia este otro tambien:
function center(url,width, height)
{
str = 'menu=0,scrollbars=no,'+
'resizable=no,statusbar=no,'+
'toolbar=no,width='+width+
',height='+height
window.open( url, '', str );
}

Salu2
MV


"Miguel cazares" wrote in message
news:00d001c51ab1$90971080$
Compañeros, tengo el siguiente codigo y no se que esta mal

<TD><font size=2><a href="Javascript:center
('supplyChain1.asp?id=<% Response.Write(tbl("Productno"))%
",300, 220)> <% Response.Write(tbl("Productno"))%
</a></TD>



y tengo en script

function center(url,width, height)
{
str = 'menu
=0','scrollbars=no' , 'resizable=no' , 'statusbarno' , 'toolbar= no' , 'width=' + width + "," + 'height='
+ height + ';'
window.open( url, '', str );
}

y no se que esta mal.. porque en la otra hoja no me
aparece el parametro enviado

Preguntas similares