The Tree of Widsdom

智慧の樹

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.
These are the aliases (and three original notes) that have made the navbar of this webpage (with a column showing their $blogNavName). When set, $blogNavName determines the name of the NavLink, otherwise, the name will be the value of $Name.
These are the aliases (and three original notes) that have made the navbar of this webpage (with a column showing their $blogNavName). When set, $blogNavName determines the name of the NavLink, otherwise, the name will be the value of $Name.
Making the <b>BoxPress</b> Dropdown was easy. I just made a note and set its <code>$blogExpOpt</code> to <b>DROPDOWN</b>. It’s children will then become NavLinks inside a dropdown menu.
Making the BoxPress Dropdown was easy. I just made a note and set its $blogExpOpt to DROPDOWN. It’s children will then become NavLinks inside a dropdown menu.