The WebPage Class

CollapsableMenu Single Line Menu
WebMenu Documentation >>  The WebPage Class
QuickNavigationMenu QuickParentNavigationMenu
<< >> << ^ >>
MultiLineMenu
Introduction | Creating Menus in Python | The WebPage Class | The HiddenPage Class | The WebMenu Class | Using XML to define a Web Menu object | Q&A | CSS Declarations

The WebPage Class object is created, as we saw earlier, with four arguments, a title, file path,an optional FullTitle, and an optional key. There are two other optional arguments: class and here. The class argument defaults to "page" or whatever value has been set by the SetPageClass function. The here argument defaults to "here" or whatever value has been set by the SetHereClass function. You can give specific pages specific classes. Remember that these classes refer to a Cascading Style Sheet declaration.

There aren't any real public methods of the WebPage class. All of the methods are called by the main menu, which is a WebMenu object.

Back to my code page Back to my home page ©2003 english@spiritone.com