Original work from article by CodyHouse (http://codyhouse.co/?p=346). Please see their terms at http://codyhouse.co/terms/.
Provides a responsive tabbed multi-view navigation container for other pages.
Each tab & view can be customized with
- tab title
- the page URI + query parameters of the page to serve with the view
- an unique ID for the view
The Responsive Tabbed Navigation supports the following URI Query Parameters:
CONFIG
: (required) path to the JSON configuration file- look inside the
config/
folder for sample files
- look inside the
pages
:array
- the root elementpages[].id
:string
- the unique ID to use with the viewpages[].title
:string
- the title to use with the tab of the viewpages[].embed
:string
- the URI of the page to serve with the view (excluding query parameters)pages[].params
:object
- the query parameters to be used with the served page