khufu.navigation.navBar module

navBar(brand='', contentList=[], contentListPull=False, dividers=False, forms=False, fixedOrStatic=False, location='top', responsive=False, dark=False, transparent=False, htmlClass=False)[source]

Generate a navBar - TBS style

Key Arguments

  • brand – the website brand [ image | text ]

  • contentList – the content list of li and dropdowns

  • contentListPull – False, right, left

  • fixedOrStatic – Fix the navbar to the top or bottom of the viewport, or create a static full-width navbar that scrolls away with the page [ False | fixed | static ]

  • location – location of the navigation bar if fixed or static

  • dark – Modify the look of the navbar by making it dark

  • transparent – make the bar see-through

Return

  • navBar – the navBar