Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    26

    Web object On_Navigate URL

    For my project I don't want the web object to do certain navigations but to trap those with On_Navigate. If I code
    Code:
    <a href="#Introduction">
    I'd like to have e_URL = "#Introduction" but instead I get the whole current URL with the "#Introduction" tacked on at the end.

    Is there a way to do the href so that I don't get the whole URL but just what I put in?

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Tipperton,
    The following should help you:

    e_url= Web.GetURL("Web1");
    Ttl_length = String.Length(e_url);
    Pos = String.Find(e_url, "#", 1, false);
    Remain = Ttl_length - Pos;
    Your_href = String.Right(e_url, Remain);

    Good luck
    Yossi

Similar Threads

  1. HOW TO: Return a Web Browser Object to the Original URL after a Page Jump
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 02-03-2003, 09:18 AM
  2. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  3. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  4. Replies: 0
    Last Post: 10-04-2002, 10:09 AM
  5. HOWTO: Open an Internet URL in the Default Web Browser
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 09-18-2002, 01:59 PM

Posting Permissions

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