Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: popup window


Message #1 by "Michael Goldman" <mg188@h...> on Thu, 21 Dec 2000 16:32:38 -0800
Hi All,



How can I size a popup window in vbscript (or maybe it's html)?  I'd like to

set the height and width of the popup.



This code brings up a popup just fine, but it's the same size as the parent

window in NN, and is only a little smaller in IE.



response.write "<form action = 'moreinfo.asp'  method = 'post' target=0>"

response.write "<input type=hidden name='itemid' value='"&rs("itemid")&"'>"

response.write "<input type=submit value='click for more info on this

item'></form>"



Thanks,



Mike











---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #2 by Gregory_Griffiths@c... on Fri, 22 Dec 2000 10:07:19 +0000
I'd be more inclined to use Javascript as it mor platform independant. 

Once oyu ahve opened the window, then you can write to it. Check out 

the window.open function in Javascript. 



> -----Original Message-----

> From: mg188@h... [mailto:mg188@h...]

> Sent: 22 December 2000 18:14

> To: asp_web_howto@p...

> Cc: mg188@h...

> Subject: [asp_web_howto] popup window

> 

> 

> Hi All,

> 

> How can I size a popup window in vbscript (or maybe it's 

> html)?  I'd like to

> set the height and width of the popup.

> 

> This code brings up a popup just fine, but it's the same size 

> as the parent

> window in NN, and is only a little smaller in IE.

> 

> response.write "<form action = 'moreinfo.asp'  method = 

> 'post' target=0>"

> response.write "<input type=hidden name='itemid' 

> value='"&rs("itemid")&"'>"

> response.write "<input type=submit value='click for more info on this

> item'></form>"

> 

> Thanks,

> 

> Mike

> 

> 

> 

> 

> 







---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #3 by "Wit B." <B.Wit@g...> on Fri, 22 Dec 2000 11:13:25 +0100
hi,



For more info on opening windows, check the www.javascripter.net website. Or

use this link: http://www.javascripter.net/faq/index.htm and click the

windows-link!



or use this code:

myRef = window.open(''+self.location,'mywin',

'left=20,top=20,width=500,height=500,toolbar=1,resizable=0');



width en height give the size of the window...



Good luck!!



grt Bas



www.atosorigin.com





-----Oorspronkelijk bericht-----

Van: Gregory_Griffiths@c...

[mailto:Gregory_Griffiths@c...]

Verzonden: vrijdag 22 december 2000 11:07

Aan: ASP Web HowTo

Onderwerp: [asp_web_howto] RE: popup window





I'd be more inclined to use Javascript as it mor platform independant. 

Once oyu ahve opened the window, then you can write to it. Check out 

the window.open function in Javascript. 



> -----Original Message-----

> From: mg188@h... [mailto:mg188@h...]

> Sent: 22 December 2000 18:14

> To: asp_web_howto@p...

> Cc: mg188@h...

> Subject: [asp_web_howto] popup window

> 

> 

> Hi All,

> 

> How can I size a popup window in vbscript (or maybe it's 

> html)?  I'd like to

> set the height and width of the popup.

> 

> This code brings up a popup just fine, but it's the same size 

> as the parent

> window in NN, and is only a little smaller in IE.

> 

> response.write "<form action = 'moreinfo.asp'  method = 

> 'post' target=0>"

> response.write "<input type=hidden name='itemid' 

> value='"&rs("itemid")&"'>"

> response.write "<input type=submit value='click for more info on this

> item'></form>"

> 

> Thanks,

> 

> Mike

> 

> 

> 

> 

> 





---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index