|
 |
asp_web_howto thread: Open a child window without a close button
Message #1 by dominick.donoflio2@l... on Thu, 17 May 2001 20:48:58
|
|
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 Roger Weijmer <roger@w...> on Fri, 18 May 2001 13:11:31 GMT
|
|
Sorry for that last mail!
I always do like this:
<a class="link"href="javascript:window.open('vhinuinfo.asp?
vhiid=<%=recset("vhiID")%
>', 'newWin', 'width=270,height=270, location=no'); void
(0)"><img src="<%response.write recset("foto")%>" no
border></a> Klicka på bilden för mer info</center><br>
Where vhinuinfo.asp is the name of the page it will open.
Img src is if you want to use an image.
Klicka på bilden is some Swedish word for my link.
> 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.
> ---
> * Fast, Full-Featured Microsoft® Excel Web Reports &
Charts!
> A breakthrough in high performance Web application
development, SoftArtisans
> ExcelWriter 1.1 supports native Excel charting, image
insertion, and
> advanced functions & formatting. One click generates
presentation-quality
> Excel spreadsheets-and ExcelWriter performs over 100
times faster than the
> Excel Object. Several editions, including
ExcelWriterFREE, are available.
> URL:<http://adtracking.wrox.com/track.asp?x=p2p%2Fe%2Fd%
26w%
2Fsoftart&url=http://www.softartisans.com/softartisans/excel
writer.html>
>
roger@w...
> To unsubscribe send a blank email to leave-asp_web_howto-
533916F@p...
>
>
Message #3 by Roger Weijmer <roger@w...> on Fri, 18 May 2001 13:06:59 GMT
|
|
Write like this:
<a href="javascript:window.close()">close</a>
> 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");
>
|
|
 |