The Incomplete Works of Josh English

Writings and Ramblings about almost anything...

Global Style Commands

The WebPage Object

Base Attributes

The WebPage object holds information about a single page in the menu structure. The WebPage object has the following attributes:

Title( pagetitle )
The pagetitle should be a short string that will appear in the menu itself.
FullTitle( fulltitle )
The FullTitle attribute is option. If it exists the text of fulltitle will be added to the HTML code as a title of the a tag.
Path( path )
The Path attribute contains the path to the page relative to the WebPage object’s parent path.
Key( key )
The key attribute is used for searching through a menu structure without having to use the Title or FullTitle attributes. Keys must be unique within the menu structure, though the program does not check for uniqueness.
Class( class )
The Class is used to generate a CSS class attribute. If Class is not passed as an initial parameter it will be set to the default set by SetPageClass .
Here( here )
Also used to generate a CSS class attribute in the HTML A tag.

Methods of the WebPage object