Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Leigh on Sea, Essex, England
    Posts
    263
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using VB Script to get current URL

    Hi, hope you can help.

    I've got a portal design which pulls a set of links off an SQL database to populate each "channel" of the portal.

    The portal uses frames, and what I would like to be able to do is to allow the user to click on a single button in the NAV bar on the left to add a currently viewed document to a channel. Everything is fairly straightforward, except that I can't seem to use VBscript to get the URL of the current page.

    I believe that I could do it in Javascript, using location.href, but how do you do it in VBscript?

    Thanks.

    Stuart

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Using VB Script to get current URL

    Try window.location

  3. #3
    New Lounger
    Join Date
    Nov 2001
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Using VB Script to get current URL

    Stuart,

    What portal script are you using?

    Mark

Posting Permissions

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