Navigationbar

From MegaZine3
(Redirected from Navigation bar)
Jump to: navigation, search
Plugin: Navigationbar
Navigationbar.jpg
Name Navigationbar
Files
  • navigationbar.swf
  • navigationbar.asul
Related plugins

The NavigationBar plugin allows the simple generation of a control bar, which allows navigating to the different pages in the book and trigger some actions, such as "goto next page", "enter fullscreen" and so on.

Contents

Plugin interactions

Some plugins, such as the options and slideshow plugins add buttons to the bar (any plugin can, see the NavigationBar's API). This plugin itself does not depend on other plugins.

Settings

This plugin uses or defines the following settings.

navbarbuttoncolors

This attribute allow to define custom colors for page buttons, for buttons representing pages being the start of a chapter or having an anchor id.

Some examples:

navbarcolorizefullchapter

Determines whether a chapter's color should be applied to all buttons representing pages it contains, or just the first one.

navbarflagpath

Path relative to the engine to a folder containing flag files, i.e. flag.xx.gif files (analog to the language files in their respective xx/ folders the xx stand for the ISO 639-1 language code). Used for the language chooser.

Attributes

Chapter

buttoncolor

Allows setting a button color for pages in this chapter (see setting buttoncolors).

navbarpagenumbersinbox

This controls whether the current page number should be displayed in the text box used to input page numbers to jump to (in a format current / total).

Page

buttoncolor

Allows setting a button color this page (see setting buttoncolors).

navbarnumber

This can be used to force a custom display text on a page by page basis. Instead of the page number (based on the page offset), the string set here will be displayed. This effects the two page number display boxes, the page button tooltips, and the page number input text box if it is set to display the current page number (book@navbarpagenumbersinbox).

If set to - (dash / minus), the page number will be omitted in the tooltips of the page buttons.

MegaZine3 Plugin-related articles
Plugins Anchors · Background Sounds · Batchpages · Bookmarks · Console · ElementIDs · Gallery · Google Analytics · Help · JavaScript · Keyboard Navigation · Links · NavigationBar · Options · Overlays · Password · PDFLinks · Print · PrintPDF · SWFAddress· Search · Sidebar · Slideshow · Titles
Plugin Articles Writing a plugin · Writing a plugin II · Plugin development
Personal tools
Namespaces
Variants
Actions
Navigation
documentation
miscellaneous
Toolbox