Xara Webster - Xara Web Files and HTMLUsing the Xara plug-in for Netscape Navigator and Microsoft Internet Explorer, you can place Xara Web files (.web) directly on pages on the World Wide Web on the Internet.
Include the following in the HTML for the page with a
correct filename and correct values for the widths and
heights.
|
Parameter | Value |
BASE | An absolute (i.e. complete) URL to use as the base URL for resolving any relative URLs in the drawing. It must be quoted if it contains spaces. |
VIEWPORT | Four decimal numbers and an optional true or false all enclosed in one set of quotes specifying the rectangle to view in millipoints and whether the aspect ratio is locked. The values are in the following order: min x, min y, max x, max y. If the aspect ratio flag is not present then it defaults to TRUE. |
FILEACCESS | TRUE or FALSE (FALSE to disable 'Save Graphic As...' and 'Full View' |
ZOOMPAN | TRUE or FALSE (FALSE will disable the zoom and push tools). |
Both FILEACCESS and ZOOMPAN default to TRUE though this may change so you may want to set it explicitly. As an example, this :
<embed src=http://www.xara.com/graphics/testfile.web width=256 height=256 base="http://www.xara.com/" viewport="0 0 72000 72000 true" fileaccess=false zoompan=false>sets the viewport of the file to a one inch square (72000 millipoints) from the bottom left of the page. It uses the Xara web site as a base for any relative web addresses. The zoom, push, save and full view features are disabled.