Re: Re : Unable to browse website while downloading a file using a component by DSAsteve
DSAsteve
Thu Jan 15 07:40:35 CST 2004
askasp@mailinator.com (ASP Spam Fighter) wrote in message news:<2b7f8640.0401051259.561a2c5c@posting.google.com>...
> Curt_C [MVP] Wrote:
> > open the request in a new window
>
> That would work fine for me, but I'm writing this script for people
> who believe that we must assume total and utter user stupidity. Since
> this trick only seems to work manually using a right click->open in
> new window and never automatically (using a target attribute or a
> javascript event), this may be too much of a mind stretch for this
> priviledged class of users.
>
> - Stephane
you can use javascript like this:
<script type="text/javascript">
var spqr = window.open('your_page_here', '__new__',
'height=50,width=50,left=100,top=100,dependant=yes,toolbar=no,directories=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no');
self.alert('Downloading File Now');
spqr.focus();
spqr.close();
return true;
</script>
hope this helps
swp