Browser Close Button

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2004
Posts: 1
Reputation: aslekar is an unknown quantity at this point 
Solved Threads: 0
aslekar aslekar is offline Offline
Newbie Poster

Browser Close Button

 
0
  #1
Apr 19th, 2006
I am having following query on Windows Popup close button :
Programming environment : ASP .NET , Browser : IE

1) Is is possible to remove title Bar , Resize buttons and close[x] button at right top from pop-up browser window ?

2) If possible , how to do it ?

Please let me know if you have any solution for above problem.

With thanks ,
-Sachin
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 36
Reputation: web developer is an unknown quantity at this point 
Solved Threads: 0
web developer's Avatar
web developer web developer is offline Offline
Light Poster

Re: Browser Close Button

 
0
  #2
Apr 27th, 2006
You can do that by javascript window.open() function
window.open('Temp.aspx','mywin','left=20,top=20,width=50,height=50,toolbar=0,resizable=0');
If u want to but an action in close button
use the following code
  1. <script type="text/javascript">
  2. function rr()
  3. {
  4. if (window.event.clientX < 0 && window.event.clientY < 0)
  5. {
  6. //put here your action
  7.  
  8. }
  9.  
  10. }
  11. </script>
  12. <body onunload="rr()" >
Life Is A Big Code
Rushdy Ibrahim
Egypt
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC