A Web page is written in HyperText Markup Language (HTML). In the HTML document, use the <EMBED> tag, a Netscape extension to HTML, to link to the WebXpresso drawing. You can use <EMBED> tag attributes and parameters to control the appearance of the embedded window and to specify options for viewing the WebXpresso drawing in the Web page.
Attribute and parameter names are case-insensitive. In most cases the attibute and parameter values are also case insensitive. One important exception to this general rule is URL strings. URLs are often case-sensitive and you must be careful to enter them accurately. The tables below list the attributes and parameters understood by WebExress. Mixed case is used to enhance readability.
Use this parameter: | With this value: | To: |
SRC= | <URL> | Specify the WebXpresso drawing you want to embed in your Web page. |
WIDTH= |
<width in pixels> or <width as percentage> |
Set the width of the embedded window in pixels or as a percentage of the page width. For example, WIDTH=400 sets the window 400 pixels wide, while WIDTH=50% sets the window to half the current page width. |
HEIGHT= |
<height in pixels> or <height as percentage> |
Set the height of the embedded window in pixels or as a percentage of the page height. For example, HEIGHT=300 sets the window 300 pixels high, while HEIGHT=50% sets the window height to half the current page height. |
PALETTE= |
foreground or background |
Set whether the plug-in is allowed to take control over the color palette in order to optimize its display. Only one plug-in in an HTML document should use a foreground palette. For pages with multiple plug-ins, all others should use background palettes. Plug-ins default to using background palettes when this attribute is not set explicitly. |
DATASOURCE= | <URL> | Specify the URL that will provide the data stream to update graphics. |
DATASINK= | <URL> | Specify the URL that will process user input in WebXpresso controls. This URL should be a cgi-bin program. |
SERVERNAME= | <string> | Specify the name for this "server." WebXpresso plug-ins can communicate with each other, and use the server name to identify themselves. |
PERIOD= | <number> | Specify the update period in seconds if LOOP is true (see below). Plugin will periodically reconnect to DATASOURCE URL to acquire new update commands. |
Use this parameter: | With one of these values: | If: |
Loop= |
true false |
With Loop=true, dynamic updating from DATASOURCE URL
begins again immediately after the current stream is exausted. Loop=false (the default), dynamic updating terminates when the DATASOURCE URL stops streaming update commands. |
FullPage= * |
on off |
FullPage=off (the default), the presentation starts embedded in the HTML document. FullPage=on, the presentation starts using the entire page area of the browser. |
Menu= * |
on off |
Menu=on (the default), the right mouse button menu is available. Menu=off, the right mouse button menu will not appear. There are very few situations where it is appropriate for an HTML author to completely block access to the right mouse button menu (such as scrolling messages where no user input is required or intended). Be prudent in the use of this option. |