Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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>

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Server side script is not event driven. It is executed when the page is loaded.
    USA

  • #4
    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
    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. ;)

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •