-
Popup Windows
In ASP how can I disable the min max and close buttons in a pop up window.
Thanks
Ken
-
Re: Popup Windows
In article <3ac24148$1@news.devx.com> (from Ken <talluris@hotmail.com>),
>
> In ASP how can I disable the min max and close buttons in a pop up window.
What do you mean by a "pop up window"? You mean a new window opened up
with "window.open()"? Or a modal dialog (IE specific
"showModalDialog")?
--
Patrick Steele
(psteele@ipdsolution.com)
Lead Software Architect
Image Process Design
-
Re: Popup Windows
"Ken" <talluris@hotmail.com> wrote:
>
>In ASP how can I disable the min max and close buttons in a pop up window.
>
>Thanks
>Ken
Hi Ken,
Try this Javascript. All you need to do is pass the URL you are linking
to. It will open the window according to the args. Also, it will check
for the existance of a window that has already been opened and re-use it
(if the user hasn't closed it). Hope this helps. Kevin
<script type="text/javascript" language="javascript">
snapshotWin = null;
function redirwin(url){
if(snapshotWin == null || snapshotWin.closed){
snapshotWin = window.open(url, 'ssWindow', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,wi dth=380,height=260,left=450,top=5');
}
snapshotWin.focus();
snapshotWin.location.href= url;
}
</script>
-
Re: Popup Windows
Patrick Steele <psteele@ipdsolution.com_> wrote:
>In article <3ac24148$1@news.devx.com> (from Ken <talluris@hotmail.com>),
>>
>> In ASP how can I disable the min max and close buttons in a pop up window.
>
>What do you mean by a "pop up window"? You mean a new window opened up
>with "window.open()"? Or a modal dialog (IE specific
>"showModalDialog")?
>
>--
>Patrick Steele
>(psteele@ipdsolution.com)
>Lead Software Architect
>Image Process Design
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks