Use the "%LAYOUT" tag to change the overall formatting for the page(s). Several switches are available:
%LAYOUT cover
Suppresses the page footer and indexing. Useful for cover pages where administrative data at the bottom of the page is unnecessary.
%LAYOUT print
Suppresses question feedback, navigation links, counter, and the table of contents for the page. This is useful when you want to "pretty print" the page on paper.
Paragraphs may be selectively suppressed for printing by marking them with a leading plus sign (+). For example, this paragraph does not appear when the print layout is specified.
%LAYOUT slide
Create presentation slides based on the headings in the document.
%LAYOUT review
Create review questions using quizCGI.
%LAYOUT feedback
Create online tests with feedback using quizCGI.
%LAYOUT results
Create online tests with results but no feedback using quizCGI.
%LAYOUT noresults
Create online tests without results or feedback using quizCGI.
%LAYOUT default
Override layout tags and return to default settings.
MTX automatically adds an update date to the bottom of each page. You have the option of adding a creation date and an expiration date using the "%CREATED" and "%EXPIRES" tags respectively. If you provide a creation date the update date will become the modification date.
Use the "%CREATED" tag to stamp the page with a creation date:
%CREATED July 27, 1996
Use the "%EXPIRES" tag to stamp the page with a expiration date:
%EXPIRES July 27, 1996
The expiration date also controls access to online tests.
The "%COLORS" tag allows you to change the text and background colors for the page. Colors are represented by a pound sign (#) and three red/green/blue hexadecimal digits (black is #000000 and white is #FFFFFF). You can set up to five of the following:
For example:
%COLORS BGCOLOR=#40FF40 TEXT=#FFFFFF LINK=#0102FF VLINK=#0102FF
[3.2]
The "%WATERMARK" tag allows you to add a watermark graphic to the page instead of the solid color background:
%WATERMARK mtxbg
[3.2]
The "%ABSTRACT" tag allows you to attach a description to your pages using an HTML "meta" tag. Certain on-line search services, such as Alta Vista, use this information as a preferred abstract of your document. The abstract should be one or more concise sentances.
%ABSTRACT This page describes certain page tags used by MTX.
The "%KEYWORDS" tag allows you to attach keywords to your pages using an HTML "meta" tag. Certain on-line search services, such as Alta Vista, use these words as preferred index terms. Words and phrases should be separated by commas.
%KEYWORDS page layout, watermark, colors, expiration date
The "%BASE" tag is similar to the "%PATH" tag and is used to specify the permanent location for the page. This is useful when the page is copied, saved to disk, or printed on paper. A reference to the original document will appear in the page footer. Specify the path without the file name, MTX will add it automatically to make a complete URL. It also adds a <BASE> tag to the HTML header. This is useful if you distribute the page to multiple sites. Relative URLs will use the path specified by "%BASE", not the current location of the page.
%BASE http://www.med.ufl.edu/medinfo/mtx/docs/
The "%COUNTER" tag is used to add a dynamic counter at the bottom of the page. You must specify a start date for the counter and the URL of the CGI counter program.
%COUNTER January 1, 1996 http://www.med.ufl.edu/cgi/counter.cgi
Netscape and other Web browsers have the ability to refresh pages automatically at timed intervals. The "%REFRESH" tag allows you to specify the number of seconds the browser will wait before updating the page. You have the option to specify a URL to jump to when the interval has elapsed. If no URL is specified, the browser will refresh the current page. [3.2]
%REFRESH 30 %REFRESH 60 http://www.med.ufl.edu/medinfo/mtx/docs/slides.html
This page will return to the index page after 30 seconds.