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 HiddenPage Class object is created, as we saw earlier, with four arguments, a title, file path, and 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.

The main difference between a WebPage and a HiddenPage is that HiddenPages are only shown in the SiteList menu, not the regular menus.

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