|
 |
asp_web_howto thread: Re: Open a child window without a close button
Message #1 by "Jonathan Miller" <jon@b...> on Fri, 30 Nov 2001 17:45:08
|
|
Did you ever get this to work? I am trying the same thing and am getting
nothing but dead ends. Thanks for your help!
> I'd like to open a child window, using javascript, and have it open
> without a "close button" in the title bar. Does anyone know of a way to
> do this?
>
> The following code is an example of how I am currently opening child
> windows, but now I need to open one and force the user to use the "close
> window" option on the page and not the close button in the title bar.
>
> window.open("Help.asp?topic=" + topic + "&subtopic=" +
>
subtopic, "iipHelp", "width=640,height=480,status=no,toolbar=no,menubar=yes
> ,scrollbars=yes");
>
> Any help would be appreciated.
Message #2 by Anupama Nallari <ANallari@p...> on Fri, 30 Nov 2001 11:55:41 -0600
|
|
Hi Jonathan,
Try this I use this in my code
function popWindow() {
newWindow
window.open(theURL,'newWindow','toolbar=no,menubar=no,resizable=no,scrollbar
s=no,status=no,location=no,width='+width+',height='+height);
}
This is how the function gets activated:
<tr><td><a href="javascript:popWindow()"><font color=Blue size=2
face=arial><strong> Upload File for faster
response.</strong></font></a></td></tr>
Anu
-----Original Message-----
From: Jonathan Miller [mailto:jon@b...]
Sent: Friday, November 30, 2001 11:45 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Open a child window without a close button
Did you ever get this to work? I am trying the same thing and am getting
nothing but dead ends. Thanks for your help!
> I'd like to open a child window, using javascript, and have it open
> without a "close button" in the title bar. Does anyone know of a way to
> do this?
>
> The following code is an example of how I am currently opening child
> windows, but now I need to open one and force the user to use the "close
> window" option on the page and not the close button in the title bar.
>
> window.open("Help.asp?topic=" + topic + "&subtopic=" +
>
subtopic, "iipHelp", "width=640,height=480,status=no,toolbar=no,menubar=yes
> ,scrollbars=yes");
>
> Any help would be appreciated.
$subst('Email.Unsub')
Read the future with ebooks at B&N
http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid
=rn_ebooks
|
|
 |