Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: PopUp windows parameters not working.


Message #1 by "Valentino Osterwalder" <valentino@t...> on Thu, 17 Jan 2002 11:11:47
I would like to open a PopUp window with a given dimension (500 x 300) but 

it does not take the parameters. What is wrong in my code?  I would also 

like to hide all window headers, menu bars, icons, toolbars etc. What is 

the code I should add to the following string?





Response.Write "<TR><TD WIDTH='20%' VALIGN='top'><FONT FACE='Arial' 

SIZE='2'>" & _

"<A HREF='Scheda.asp?NumGiocatore=" & objRS("IDMembro") & "' TARGET='" & _

objRS("NomeMembro") & objRS("CognomeMembro") & "ONCLICK='window.open" & _

"('http://www.fcrapid.ch/Scheda.asp?NumGiocatore=" & objRS("IDMembro") & _

"', '" & objRS("NomeMembro") & objRS("CognomeMembro") & _

"', 'height=500,width=300'); 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></TR>"



Many thanks in advance.
Message #2 by Joe Ingle <Joe@k...> on Thu, 17 Jan 2002 12:08:37 -0000
your code looks a little all over the place. what are frame are you

targeting your querystring to? it looks like the target comprises of two

variables.



are you using CSS? if so do you really need ref to fonts?



if you can give us a demo querystring it may make it easier to sort you out.



Joe 



-----Original Message-----

From: Valentino Osterwalder [mailto:valentino@t...]

Sent: Thursday, January 17, 2002 11:12

To: ASP Web HowTo

Subject: [asp_web_howto] PopUp windows parameters not working.





I would like to open a PopUp window with a given dimension (500 x 300) but 

it does not take the parameters. What is wrong in my code?  I would also 

like to hide all window headers, menu bars, icons, toolbars etc. What is 

the code I should add to the following string?





Response.Write "<TR><TD WIDTH='20%' VALIGN='top'><FONT FACE='Arial' 

SIZE='2'>" & _

"<A HREF='Scheda.asp?NumGiocatore=" & objRS("IDMembro") & "' TARGET='" & _

objRS("NomeMembro") & objRS("CognomeMembro") & "ONCLICK='window.open" & _

"('http://www.fcrapid.ch/Scheda.asp?NumGiocatore=" & objRS("IDMembro") & _

"', '" & objRS("NomeMembro") & objRS("CognomeMembro") & _

"', 'height=500,width=300'); 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></TR>"



Many thanks in advance.




$subst('Email.Unsub').

Message #3 by "Drew, Ron" <RDrew@B...> on Thu, 17 Jan 2002 07:49:16 -0500

...Creating a Window with no toolbars...



window.open("Sample.htm","window2","height=3D500,width=3D300,status=3Dno,

toolb

ar=3Dno,menubar=3Dno,location=3Dno"



-----Original Message-----

From: Valentino Osterwalder [mailto:valentino@t...]

Sent: Thursday, January 17, 2002 6:12 AM

To: ASP Web HowTo

Subject: [asp_web_howto] PopUp windows parameters not working.





I would like to open a PopUp window with a given dimension (500 x 300)

but

it does not take the parameters. What is wrong in my code?  I would also



like to hide all window headers, menu bars, icons, toolbars etc. What is



the code I should add to the following string?





Response.Write "<TR><TD WIDTH=3D'20%' VALIGN=3D'top'><FONT 

FACE=3D'Arial'

SIZE=3D'2'>" & _

"<A HREF=3D'Scheda.asp?NumGiocatore=3D" & objRS("IDMembro") & "' 

TARGET=3D'" &

_

objRS("NomeMembro") & objRS("CognomeMembro") & "ONCLICK=3D'window.open" 

&

_ "('http://www.fcrapid.ch/Scheda.asp?NumGiocatore=3D" & 

objRS("IDMembro")

& _ "', '" & objRS("NomeMembro") & objRS("CognomeMembro") & _ "',

'height=3D500,width=3D300'); return false'>" & objRS("NomeMembro") & _ " 

" &

objRS("CognomeMembro") & _ "</A></FONT></TD>" & _ "<TD WIDTH=3D'20%'

VALIGN=3D'top'><FONT FACE=3D'Arial' SIZE=3D'2'>" & _ " " &

objRS("FunzioneRuoloGiocatore") & "</FONT></TD>" & _ "<TD WIDTH=3D'20%'

VALIGN=3D'top' STYLE=3D'font-size: 9pt'>&nbsp;</TD></TR>"



Many thanks in advance.




$subst('Email.Unsub').


  Return to Index