HOW TO: Return a Web Browser Object to the Original URL after a Page Jump

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Support
    Forum Member
    • Jan 2000
    • 204

    HOW TO: Return a Web Browser Object to the Original URL after a Page Jump

    HOW TO: Return a Web Browser Object to the Original URL after a Page Jump

    HOW TO: Return a Web Browser Object to the Original URL after a Page Jump

    Document ID: IR04047
    The information in this article applies to:
    • AutoPlay Media Studio 4.0

    SUMMARY

    This article describes how to return a Web Browser Object to its original URL whenever the user returns to the page that the Web Browser Object is on.

    DISCUSSION

    The Web Browser Object allows users to navigate a web site by following links within the HTML file it is displaying. (The URL that you specify on the Web Browser Object Properties dialog is the point the users will start from, but if the users follow any links in the HTML file at that location, they can change what is displayed in the Web Browser Object.)

    Each Web Browser Object remembers the URL that it is displaying, even after a Page.Jump action. So, if the user jumps to another page in the AutoPlay project, and then returns to the page that the Web Browser Object is on, the Web Browser Object will continue to display the last URL that was viewed.

    If you want a Web Browser Object to be "reset" to its initial URL whenever the user returns to that page in your AutoPlay project, you must use a WebBrowserObject.NavigateTo action to load the appropriate URL into the Web Browser Object again. This action should be added to the page's "On Show" event so that it will be performed whenever the user returns to the page that the Web Browser Object is on.

    KEYWORDS: ams40, autoplay, web browser object, URL, page jump, navigate, restore, reset


    Last reviewed: February 3, 2003

    Copyright © 2002 Indigo Rose Corporation. All rights reserved.

Working...
X