Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 4.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-19-2002, 06:49 PM   PM User | #1
ldiuf
New Coder

 
Join Date: Jun 2002
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
ldiuf is an unknown quantity at this point
Question Opening a New Window with ASP/VBScript

Is there a way to make a sub/pop-up window from a link, without using any JavaScript, in ASP or VBScript? If so can someone show me how to do it?

Thanks,
Larry
ldiuf is offline   Reply With Quote
Old 06-19-2002, 08:56 PM   PM User | #2
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
do you want something similar to the functionality of the Javascript function (ie, don't show toolbars, specify the width/height etc.) ??

if not, just call the page like this...

<a href="your_page.htm" target="_new">click here</a>
QuackHead is offline   Reply With Quote
Old 06-19-2002, 09:48 PM   PM User | #3
landon11
Regular Coder

 
Join Date: Jun 2002
Location: USA
Posts: 113
Thanks: 0
Thanked 0 Times in 0 Posts
landon11 is an unknown quantity at this point
Server side script is not event driven. It is executed when the page is loaded.
__________________
USA
landon11 is offline   Reply With Quote
Old 06-20-2002, 02:31 AM   PM User | #4
whammy
Senior Coder

 
Join Date: Jun 2002
Location: 41° 8' 52" N -95° 53' 31" W
Posts: 3,660
Thanks: 0
Thanked 0 Times in 0 Posts
whammy is an unknown quantity at this point
What Dave said.

If you want the "popup" window to be customized, instead of a plain target="_blank" page, then you'll just need to use javascript when the HTML is sent to the client-side.

?
__________________
Former ASP Forum Moderator - I'm back!

If you can teach yourself how to learn, you can learn anything. ;)
whammy is offline   Reply With Quote
Old 06-21-2002, 02:19 PM   PM User | #5
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
There may be no actual "_new" target, but the way browsers work is that you can add any name there - as if referencing a frame even, and if the name is in use, it'll open it in a new window, thus making target="_new" a perfectly viable way to open a new window

Yes, the syntax is not by the book, but it works

~Quack
QuackHead is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:04 PM.


Advertisement
Log in to turn off these ads.