Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_ado_rds thread: "window.open" option in a ASP page....


Message #1 by "Valentino Osterwalder" <valentino@t...> on Sun, 18 Aug 2002 22:19:23
I want to open a new page starting from a link in a main page. Everything 
works fine but the options listed in the code are not working at all. The 
options i mean are for example "height=700,width=500" or "resizable=0", 
etc.

The code i wrote is:

While Not objRS.EOF
Response.Write "<TR><TD WIDTH='20%' VALIGN='top'><FONT 
FACE='Arial'SIZE='2'>" & _
"<A HREF='Scheda.asp?NumGiocatore=" & objRS("IDMembro") 
& "'TARGET='_blank' " & _
"ONCLICK='window.open" & _
"('http://www.fcrapid.ch/Scheda.asp?NumGiocatore=" & objRS("IDMembro") & _
"', 'Window" & objRS("IDMembro") & _
"','toolbar=0,location=0,directories=0,status=1,menubar=0," & _
"scrollbars=0,resizable=0,height=700,width=500');return false;'>" & _
objRS("NomeMembro") & " " & objRS("CognomeMembro") & _
"</A></FONT></TD>" & _
"<TD WIDTH='20%' VALIGN='top'><FONT FACE='Arial' SIZE='2'>" & _
objRS("FunzioneRuoloGiocatore") & "</FONT></TD>" & _
"<TD WIDTH='20%' VALIGN='top' STYLE='font-size: 9pt'>&nbsp;</TD>"
objRS.MoveNext

The window does not show up as I would like to. If somebody would like to 
help me out, then have a look at:

http://www.fcrapid.ch and follow the links:
"Attivitą"
"Prima Squadra"
"La Rosa"

From there select a name and look at the result. All the options i wanted 
to put in force are not working.

Can somebody please explain me why it does not work and how can I fix it?

Sorry for the italian paging but I believe it's not important to 
understand it.

Many thanks in advance,
Valentino

  Return to Index