Adding NavLinks and Dropdowns
Your navbar is determined by the children of BlogNavBar. This comes pre-populated with the following aliases:
BlogNavBar BlogTopNote @Categories @Archives BlogAboutNote
The order of aliases inside BlogNavBar determines the order of NavLinks in the actual navbar. The change in their export names is explained just below.
Home | Categories | Archives | About
To add additional notes to the navbar, do the following:
- To add NavLinks to the navbar, add an alias to BlogNavBar. Doing so assigns the name of the alias to
$blogNavName
, which determines the name of the button in the navbar. To override this, assign a different value to$blogNavName
. BlogTopNote appears in your navbar as “Home” because of this attribute has been set.
Important!
The value of
$blogNavName
must be set to something or else the navbar won’t display the :active
color you set in the Styles Dash. Unless you specify otherwise, BoxPress will use $Name
when you add the note.- To add NavLinks inside a dropdown menu, make a new note to BlogNavBar and set its
$blogExpOpt
to DROPDOWN. The children of this dropdown note will be the NavLinks inside the dropdown menu.