Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Size of Browser + Pop Up Window


Message #1 by "dHABUD" <dhabud@h...> on Tue, 26 Nov 2002 04:05:41
Hi

I am trying to pop up image when user clicks a url on my page. I want to 
set the size of browser window that pops up.

Secondly I want to a close button on this popped up window.

I tried this using javascript but does not work. Also the url that user 
clicks is created dynamically.

Can someone sugggest some code.

Thanks A Lot
Dhabud
Message #2 by "Dave Rezoski" <daverezoski@h...> on Tue, 26 Nov 2002 17:21:24 +0000
javascript can accomplish this.

I think this is the correct syntaxc to open the window:

window.open("mypage.aspx", "windowname", "fullscreen=no, toolbar=no, 
location=no, menubar=no, status=no, scrollbars=no, height=300, width=300")


And use window.close() to close the window.








----Original Message Follows----
From: "dHABUD" <dhabud@h...>
Reply-To: "ASP.NET" <aspx@p...>
To: "ASP.NET" <aspx@p...>
Subject: [aspx] Size of Browser + Pop Up Window
Date: Tue, 26 Nov 2002 04:05:41

Hi

I am trying to pop up image when user clicks a url on my page. I want to
set the size of browser window that pops up.

Secondly I want to a close button on this popped up window.

I tried this using javascript but does not work. Also the url that user
clicks is created dynamically.

Can someone sugggest some code.

Thanks A Lot
Dhabud


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


  Return to Index