<<

Contents

Search

>>

 

Html-Browser

 

The Html Browser can display any kind of Html pages.

 

In Java programs Html pages containing Javascript are not displayed correctly since Javascript is not executed.

In Html programs all pages are displayed correctly.

 

The Field Variable (see Field Attributes) contains the URL address of the currently displayed page.

 

The Macro after (see Field Attributes) is executed every time a new page is displayed.

 

Note: Links that refer to a download file do not start the download but display the contents of the file in the browser window.

 

In order to display an Html page in the browser the complete address of the Html page must be assigned to the Field Variable. After that the instruction  DISPLAY must be executed.

 

The name of the page to be displayed must comply with the URL conventions. That means that with any Html pages that are not loaded via Internet the path must begin with “file:/”.

 

Example:

/* The field variable of the Html-Browser is E$

 

/* display web site

E$ = "http://www.ebusoft.de"

DISPLAY #5.#E$

 

/* display local Html page from drive C:

E$ = "file:/C:\html\index.html"

DISPLAY #5.#E$