Results 1 to 4 of 4

Thread: Jump to new link w/o user clicking?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    N42 29.340 W71 53.215
    Posts
    422

    Jump to new link w/o user clicking?

    I want to write a simple page that lets a user select a date (that's another story), it then builds a URL using that, e.g. www.xyzzy.com/mmddyy.htm
    And then immediately opens a new browser window for that URL.

    How can I open a new browser link using HTML or VBScript?

    Sounds simple, but I can't figure it out.

    Thanks, DaveBo
    "The wise man doesn't know all the answers, but he knows where to find them."
    VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    there will have to be some action where they can submit the date and then build the querystring....then all you need to do is use response.redirect().
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    N42 29.340 W71 53.215
    Posts
    422

    Client side?

    I'm in over my head here, but, isn't Response.Redirect a "server side" thing?

    I'd like to do this right on the local PC.

    Thanks, DaveBo
    "The wise man doesn't know all the answers, but he knows where to find them."
    VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15

  4. #4
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    then you would probably use the javascript window.open method.

    Here's some help with it.

    it would work something like this.
    1. user enters date and clicks submit button
    2. date is verified (if wrong show alert box) else build querystring
    3. call JS window.open function and display the page.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

Posting Permissions

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



Click Here to Expand Forum to Full Width