|
 |
asp_web_howto thread: new window
Message #1 by "Rob v. Osnabrugge" <osnabrr@h...> on Thu, 8 Nov 2001 22:24:23
|
|
Hello,
I'm looking for an (ASP) function, from which I can open another new ASP
webpage, but with a given size and with parameters. Something like
href=xxx.asp?yy=a&zz=c width=300 height=400
Thanks,
Rob
Message #2 by "Drew, Ron" <RDrew@B...> on Thu, 8 Nov 2001 18:18:07 -0500
|
|
<script LANGUAGE="JavaScript">
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops
'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',r
esizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End -->
</script>
<body>
<a href="../xxx.htm"
onclick="NewWindow(this.href,'name','500','400','yes');return false;">
-----Original Message-----
From: Rob v. Osnabrugge [mailto:osnabrr@h...]
Sent: Thursday, November 08, 2001 5:24 PM
To: ASP Web HowTo
Subject: [asp_web_howto] new window
Hello,
I'm looking for an (ASP) function, from which I can open another new ASP
webpage, but with a given size and with parameters. Something like
href=xxx.asp?yy=a&zz=c width=300 height=400
Thanks,
Rob
---
You are currently subscribed to asp_web_howto as: RDrew@B... To
unsubscribe send a blank email to $subst('Email.Unsub')
Message #3 by "Daniel O'Dorisio" <daniel@o...> on Thu, 8 Nov 2001 19:39:53 -0500
|
|
isnt out there.. have to use client side script.. javascript..
window.open("page.asp?qstr1=asd&qstr2=asd", "newWindow", "Height=400
width=300")
hth
daniel
--
-----------------------------
Daniel O'Dorisio
daniel@o...
www.odorisio-networks.com
-----------------------------
"Rob v. Osnabrugge" <osnabrr@h...> wrote in message
news:118267@a..._web_howto...
>
> Hello,
> I'm looking for an (ASP) function, from which I can open another new ASP
> webpage, but with a given size and with parameters. Something like
> href=xxx.asp?yy=a&zz=c width=300 height=400
>
> Thanks,
> Rob
>
>
Message #4 by "Ken Schaefer" <ken@a...> on Fri, 9 Nov 2001 13:13:46 +1100
|
|
Active *Server* Pages.
New windows are opened by the user, or by client-side script. You can
certainly pass arguments via the Querystring to a new ASP page that then
dynamically writes javascript to the HTML page, which in turn opens a new
window...
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Rob v. Osnabrugge" <osnabrr@h...>
Subject: [asp_web_howto] new window
: Hello,
: I'm looking for an (ASP) function, from which I can open another new ASP
: webpage, but with a given size and with parameters. Something like
: href=xxx.asp?yy=a&zz=c width=300 height=400
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Message #5 by "Alan Chiu" <achiu@m...> on Thu, 8 Nov 2001 21:48:59 -0500
|
|
Try this javascript
<script language="Javascript">
function newWin(i){
if (i == 'a')
{ window.open('filename.asp?action=a','new','width=400,height=200,
resizable=yes') }
else if(i=='b')
window.open('filename.asp?action=b','new','width=400,height=200,scrollbars=y
es, resizable=no') }
}
</script>
<form name="form0" method="post" action="filename.asp?action=a">
do form function here.
</form>
<form name="form1" method="post" action="filename.asp?action=b">
do form function here.
</form>
Alan
-----Original Message-----
From: Rob v. Osnabrugge [mailto:osnabrr@h...]
Sent: Thursday, November 08, 2001 10:24 PM
To: ASP Web HowTo
Subject: [asp_web_howto] new window
Hello,
I'm looking for an (ASP) function, from which I can open another new ASP
webpage, but with a given size and with parameters. Something like
href=xxx.asp?yy=a&zz=c width=300 height=400
Thanks,
Rob
$subst('Email.Unsub')
Message #6 by "Enzo Zaragoza" <enzaux@g...> on Fri, 9 Nov 2001 22:14:54 +0800
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_002D_01C1696B.F5A25C00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You should some client side scripting there like javascript. You can a
find a lot of the scripts you want at www.javascripts.com
Enzo
----- Original Message -----
From: Rob v. Osnabrugge
To: ASP Web HowTo
Sent: Thursday, November 08, 2001 10:24 PM
Subject: [asp_web_howto] new window
Hello,
I'm looking for an (ASP) function, from which I can open another new
ASP
webpage, but with a given size and with parameters. Something like
href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300 height=3D400
Thanks,
Rob
$subst('Email.Unsub')
Message #7 by riley@i... on Mon, 19 Nov 2001 21:23:50
|
|
I see a few Javascript answers, which is what I found when I first started
looking for this kind of solution. You don't need to use Javascript, you
can do it with vbscript. I say this since it sounded like you wanted a
vbscript-asp answer.
here's some client side script:
sub myPopup()
dim myWindow
with document.frmMyForm
myWindow=window.open("popupWindow.asp","_blank","height=100,width=100")
end with
end sub
Now, I usually call this sub on a button click event or an HREF (anchor,
link) click event, but you can call it on a mouseover, text box change,
whenever.
You can also use ASP to generate this client-side script dynamically,
which can come in really handy. Lemme know if this works for ya, and good
luck.
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_002D_01C1696B.F5A25C00
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> You should some client side scripting there like javascript. You can a
> find a lot of the scripts you want at www.javascripts.com
>
> Enzo
> ----- Original Message -----
> From: Rob v. Osnabrugge
> To: ASP Web HowTo
> Sent: Thursday, November 08, 2001 10:24 PM
> Subject: [asp_web_howto] new window
>
>
> Hello,
> I'm looking for an (ASP) function, from which I can open another new
> ASP
> webpage, but with a given size and with parameters. Something like
> href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300 height=3D400
>
> Thanks,
> Rob
>
> $subst('Email.Unsub')
>
>
> ------=_NextPart_000_002D_01C1696B.F5A25C00
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html;
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DVerdana size=3D2>You should some client side scripting
> there like
> javascript. You can a find a lot of the scripts you want at <A
> href=3D"http://www.javascripts.com">www.javascripts.com</A></FONT></DIV>
> <DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
> <DIV><FONT face=3DVerdana size=3D2>Enzo</FONT></DIV>
> <BLOCKQUOTE
> style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
> BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
> <DIV
> style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color:
> black"><B>From:</B>
> <A title=3Dosnabrr@h... href=3D"mailto:osnabrr@h...">Rob
> v.
> Osnabrugge</A> </DIV>
> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A
> title=3Dasp_web_howto@p...
> href=3D"mailto:asp_web_howto@p...">ASP Web HowTo</A> </DIV>
> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 08,
> 2001 10:24
> PM</DIV>
> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [asp_web_howto] new
> window</DIV>
> <DIV><BR></DIV>Hello,<BR>I'm looking for an (ASP) function, from which
> I can
> open another new ASP <BR>webpage, but with a given size and with
> parameters.
> Something like <BR>href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300
> height=3D400<BR><BR>Thanks,<BR>Rob<BR><BR>---<BR>You are currently
> subscribed to
> asp_web_howto as: <A
> href=3D"mailto:enzaux@g...">enzaux@g...</A><BR>To
> unsubscribe send a blank email to <A
>
> href=3D"mailto:$subst('Email.Unsub')">leave-asp_web_ho
> wto-659864M@p...</A><BR></BLOCKQUOTE></BODY></HTML>
>
> ------=_NextPart_000_002D_01C1696B.F5A25C00--
>
Message #8 by Kyle Burns <kburns@c...> on Mon, 19 Nov 2001 16:18:25 -0500
|
|
Opening new windows is a client operation. Can't be done on the server
(ASP).
=================================
Kyle M. Burns, MCSD, MCT
ECommerce Technology Manager
Centra Credit Union
kburns@c...
-----Original Message-----
From: riley@i... [mailto:riley@i...]
Sent: Monday, November 19, 2001 4:24 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: new window
I see a few Javascript answers, which is what I found when I first started
looking for this kind of solution. You don't need to use Javascript, you
can do it with vbscript. I say this since it sounded like you wanted a
vbscript-asp answer.
here's some client side script:
sub myPopup()
dim myWindow
with document.frmMyForm
myWindow=window.open("popupWindow.asp","_blank","height=100,width=100")
end with
end sub
Now, I usually call this sub on a button click event or an HREF (anchor,
link) click event, but you can call it on a mouseover, text box change,
whenever.
You can also use ASP to generate this client-side script dynamically,
which can come in really handy. Lemme know if this works for ya, and good
luck.
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_002D_01C1696B.F5A25C00
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> You should some client side scripting there like javascript. You can a
> find a lot of the scripts you want at www.javascripts.com
>
> Enzo
> ----- Original Message -----
> From: Rob v. Osnabrugge
> To: ASP Web HowTo
> Sent: Thursday, November 08, 2001 10:24 PM
> Subject: [asp_web_howto] new window
>
>
> Hello,
> I'm looking for an (ASP) function, from which I can open another new
> ASP
> webpage, but with a given size and with parameters. Something like
> href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300 height=3D400
>
> Thanks,
> Rob
>
> $subst('Email.Unsub')
>
>
> ------=_NextPart_000_002D_01C1696B.F5A25C00
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html;
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DVerdana size=3D2>You should some client side scripting
> there like
> javascript. You can a find a lot of the scripts you want at <A
> href=3D"http://www.javascripts.com">www.javascripts.com</A></FONT></DIV>
> <DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
> <DIV><FONT face=3DVerdana size=3D2>Enzo</FONT></DIV>
> <BLOCKQUOTE
> style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
> BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
> <DIV
> style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color:
> black"><B>From:</B>
> <A title=3Dosnabrr@h... href=3D"mailto:osnabrr@h...">Rob
> v.
> Osnabrugge</A> </DIV>
> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A
> title=3Dasp_web_howto@p...
> href=3D"mailto:asp_web_howto@p...">ASP Web HowTo</A> </DIV>
> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 08,
> 2001 10:24
> PM</DIV>
> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [asp_web_howto] new
> window</DIV>
> <DIV><BR></DIV>Hello,<BR>I'm looking for an (ASP) function, from which
> I can
> open another new ASP <BR>webpage, but with a given size and with
> parameters.
> Something like <BR>href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300
> height=3D400<BR><BR>Thanks,<BR>Rob<BR><BR>---<BR>You are currently
> subscribed to
> asp_web_howto as: <A
> href=3D"mailto:enzaux@g...">enzaux@g...</A><BR>To
> unsubscribe send a blank email to <A
>
> href=3D"mailto:$subst('Email.Unsub')">leave-asp_web_ho
> wto-659864M@p...</A><BR></BLOCKQUOTE>
---<BR>
You are currently subscribed to asp_web_howto as: kburns@c...<BR>
$subst('Email.Unsub')<BR>
</BODY></HTML>
>
> ------=_NextPart_000_002D_01C1696B.F5A25C00--
>
Message #9 by "Jason Salas" <jason@k...> on Tue, 20 Nov 2001 09:07:00 +1000
|
|
Here's a simple way to open a new window for a document, using JavaScript:
<SCRIPT>
function open_window(url) {
mywin
window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0
,scrollbars=yes,resizable=0,width=480,height=600');
}
</SCRIPT>
The script can then be called throughout the page using
FOR A TEXT LINK:
<a
href="javascript:open_window('http://www.somedomain.com/somefilename.asp)">
<font face="Arial" size="2" color="#000080">At this time of Thanksgiving,
what are we most thankful for?</font></a>
FOR AN IMAGE LINK:
<A
href="javascript:open_window('http://www.somedomain.com/filename.asp')"><img
src="http://www.somedomain.com/graphic.jpg">
HTH,
Jason
----- Original Message -----
From: <riley@i...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, November 19, 2001 9:23 PM
Subject: [asp_web_howto] Re: new window
> I see a few Javascript answers, which is what I found when I first started
> looking for this kind of solution. You don't need to use Javascript, you
> can do it with vbscript. I say this since it sounded like you wanted a
> vbscript-asp answer.
>
> here's some client side script:
>
> sub myPopup()
>
> dim myWindow
>
> with document.frmMyForm
>
> myWindow=window.open("popupWindow.asp","_blank","height=100,width=100")
>
> end with
>
> end sub
>
> Now, I usually call this sub on a button click event or an HREF (anchor,
> link) click event, but you can call it on a mouseover, text box change,
> whenever.
>
> You can also use ASP to generate this client-side script dynamically,
> which can come in really handy. Lemme know if this works for ya, and good
> luck.
>
>
>
>
>
>
>
> >
> > This is a multi-part message in MIME format.
> >
> > ------=_NextPart_000_002D_01C1696B.F5A25C00
> > Content-Type: text/plain;
> > charset="iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > You should some client side scripting there like javascript. You can a
> > find a lot of the scripts you want at www.javascripts.com
> >
> > Enzo
> > ----- Original Message -----
> > From: Rob v. Osnabrugge
> > To: ASP Web HowTo
> > Sent: Thursday, November 08, 2001 10:24 PM
> > Subject: [asp_web_howto] new window
> >
> >
> > Hello,
> > I'm looking for an (ASP) function, from which I can open another new
> > ASP
> > webpage, but with a given size and with parameters. Something like
> > href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300 height=3D400
> >
> > Thanks,
> > Rob
> >
> > $subst('Email.Unsub')
> >
> >
> > ------=_NextPart_000_002D_01C1696B.F5A25C00
> > Content-Type: text/html;
> > charset="iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META http-equiv=3DContent-Type content=3D"text/html;
> > charset=3Diso-8859-1">
> > <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
> > <STYLE></STYLE>
> > </HEAD>
> > <BODY bgColor=3D#ffffff>
> > <DIV><FONT face=3DVerdana size=3D2>You should some client side scripting
>
> > there like
> > javascript. You can a find a lot of the scripts you want at <A
> > href=3D"http://www.javascripts.com">www.javascripts.com</A></FONT></DIV>
> > <DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
> > <DIV><FONT face=3DVerdana size=3D2>Enzo</FONT></DIV>
> > <BLOCKQUOTE
> > style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
> > BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
> > <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
> > <DIV
> > style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color:
> > black"><B>From:</B>
> > <A title=3Dosnabrr@h... href=3D"mailto:osnabrr@h...">Rob
>
> > v.
> > Osnabrugge</A> </DIV>
> > <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A
> > title=3Dasp_web_howto@p...
> > href=3D"mailto:asp_web_howto@p...">ASP Web HowTo</A> </DIV>
> > <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 08,
> > 2001 10:24
> > PM</DIV>
> > <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [asp_web_howto] new
> > window</DIV>
> > <DIV><BR></DIV>Hello,<BR>I'm looking for an (ASP) function, from which
>
> > I can
> > open another new ASP <BR>webpage, but with a given size and with
> > parameters.
> > Something like <BR>href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300
> > height=3D400<BR><BR>Thanks,<BR>Rob<BR><BR>---<BR>You are currently
> > subscribed to
> > asp_web_howto as: <A
> > href=3D"mailto:enzaux@g...">enzaux@g...</A><BR>To
> > unsubscribe send a blank email to <A
> >
> >
href=3D"mailto:$subst('Email.Unsub')">leave-asp_web_ho
> > wto-659864M@p...</A><BR></BLOCKQUOTE>
> ---<BR>
> You are currently subscribed to asp_web_howto as: jason@k...<BR>
$subst('Email.Unsub')<BR>
>
> </BODY></HTML>
> >
> > ------=_NextPart_000_002D_01C1696B.F5A25C00--
> >
>
>
Message #10 by "Jason Salas" <jason@k...> on Tue, 20 Nov 2001 09:53:17 +1000
|
|
Here's another way to do it...a lot less code:
<A HREF="javascript:var
x=window.open('http://www.somedomainname.com/dirname/','');">
<IMG SRC="http://www.somedomain.com/images/yourimage.jpg" border=0 HSPACE=10
ALT="Click here to go to our spoecial section" ALIGN=Left>
</A>
----- Original Message -----
From: <riley@i...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, November 19, 2001 9:23 PM
Subject: [asp_web_howto] Re: new window
> I see a few Javascript answers, which is what I found when I first started
> looking for this kind of solution. You don't need to use Javascript, you
> can do it with vbscript. I say this since it sounded like you wanted a
> vbscript-asp answer.
>
> here's some client side script:
>
> sub myPopup()
>
> dim myWindow
>
> with document.frmMyForm
>
> myWindow=window.open("popupWindow.asp","_blank","height=100,width=100")
>
> end with
>
> end sub
>
> Now, I usually call this sub on a button click event or an HREF (anchor,
> link) click event, but you can call it on a mouseover, text box change,
> whenever.
>
> You can also use ASP to generate this client-side script dynamically,
> which can come in really handy. Lemme know if this works for ya, and good
> luck.
>
>
>
>
>
>
>
> >
> > This is a multi-part message in MIME format.
> >
> > ------=_NextPart_000_002D_01C1696B.F5A25C00
> > Content-Type: text/plain;
> > charset="iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > You should some client side scripting there like javascript. You can a
> > find a lot of the scripts you want at www.javascripts.com
> >
> > Enzo
> > ----- Original Message -----
> > From: Rob v. Osnabrugge
> > To: ASP Web HowTo
> > Sent: Thursday, November 08, 2001 10:24 PM
> > Subject: [asp_web_howto] new window
> >
> >
> > Hello,
> > I'm looking for an (ASP) function, from which I can open another new
> > ASP
> > webpage, but with a given size and with parameters. Something like
> > href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300 height=3D400
> >
> > Thanks,
> > Rob
> >
> > $subst('Email.Unsub')
> >
> >
> > ------=_NextPart_000_002D_01C1696B.F5A25C00
> > Content-Type: text/html;
> > charset="iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META http-equiv=3DContent-Type content=3D"text/html;
> > charset=3Diso-8859-1">
> > <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
> > <STYLE></STYLE>
> > </HEAD>
> > <BODY bgColor=3D#ffffff>
> > <DIV><FONT face=3DVerdana size=3D2>You should some client side scripting
>
> > there like
> > javascript. You can a find a lot of the scripts you want at <A
> > href=3D"http://www.javascripts.com">www.javascripts.com</A></FONT></DIV>
> > <DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
> > <DIV><FONT face=3DVerdana size=3D2>Enzo</FONT></DIV>
> > <BLOCKQUOTE
> > style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
> > BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
> > <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
> > <DIV
> > style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color:
> > black"><B>From:</B>
> > <A title=3Dosnabrr@h... href=3D"mailto:osnabrr@h...">Rob
>
> > v.
> > Osnabrugge</A> </DIV>
> > <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A
> > title=3Dasp_web_howto@p...
> > href=3D"mailto:asp_web_howto@p...">ASP Web HowTo</A> </DIV>
> > <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, November 08,
> > 2001 10:24
> > PM</DIV>
> > <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [asp_web_howto] new
> > window</DIV>
> > <DIV><BR></DIV>Hello,<BR>I'm looking for an (ASP) function, from which
>
> > I can
> > open another new ASP <BR>webpage, but with a given size and with
> > parameters.
> > Something like <BR>href=3Dxxx.asp?yy=3Da&zz=3Dc width=3D300
> > height=3D400<BR><BR>Thanks,<BR>Rob<BR><BR>---<BR>You are currently
> > subscribed to
> > asp_web_howto as: <A
> > href=3D"mailto:enzaux@g...">enzaux@g...</A><BR>To
> > unsubscribe send a blank email to <A
> >
> >
href=3D"mailto:$subst('Email.Unsub')">leave-asp_web_ho
> > wto-659864M@p...</A><BR></BLOCKQUOTE>
> ---<BR>
> You are currently subscribed to asp_web_howto as: jason@k...<BR>
$subst('Email.Unsub')<BR>
>
> </BODY></HTML>
> >
> > ------=_NextPart_000_002D_01C1696B.F5A25C00--
> >
>
>
Message #11 by "H. Carter Harris" <carter@t...> on Thu, 29 Nov 2001 12:37:41 -0600
|
|
I'm generating an html file dynamically from an ASP page and I want to
display the results in another copy of the browser or another window. How
can I do that? I want it to be generic so it will work under both Netscape
as well as IE.
Thanks in advance for any suggestions you might have.
Message #12 by "Jason Salas" <jason@k...> on Fri, 30 Nov 2001 07:57:27 +1000
|
|
This should be cross-browser compatible (at least for v.4+ browsers):
<A HREF="javascript:var
x=window.open('http://www.domainname.com/filename.asp/','');">The results of
your script</A>
HTH,
Jason
----- Original Message -----
From: "H. Carter Harris" <carter@t...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Friday, November 30, 2001 4:37 AM
Subject: [asp_web_howto] New Window
> I'm generating an html file dynamically from an ASP page and I want to
> display the results in another copy of the browser or another window. How
> can I do that? I want it to be generic so it will work under both
Netscape
> as well as IE.
>
> Thanks in advance for any suggestions you might have.
>
>
>
$subst('Email.Unsub')
>
> Read the future with ebooks at B&N
>
http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid
=rn_ebooks
>
|
|
 |