The Tab Component creates custom tabs to display full page content under each tab. Users navigate between the tabs to access the page content. The component displays one page per tab.
In order to use this component you must submit a Jira ticket to CNMP requesting it be enabled for a specific page.
The difference between this component and the tabbed page component, is this component allows the use of custom tabs.
View on public site:
By using the Tab Component, the content author is able to alternate views, or actual content, that falls within the same umbrella context. This allows authors the option of providing a vast array of content in a streamlined and logical manner.
Avoid using tabs to simply navigate to different areas of a website. Instead, only use tabs when the topics all fall within the same context.
Tab Component displays content of different pages, available by navigating between the component’s displayed tabs. This component is enabled by CNMP in the General Settings Page and allows content authors to insert whole containers from other pages, with a maximum of one page per tab.
Tabs are built manually with custom labels/titles and a minimum of two tabs are required. The first tab is selected by default when a site user navigates to the page. Other pages are accessed by appending a [tab title] into the URL between the page name and .html.
Individual pages that are in tabs should have redirects to their tabbed versions.
For example:
this page: https://www.census.gov/data/data-tools/cbb/overview.html
has a redirect to: https://www.census.gov/data/data-tools/cbb.Overview.html
This way users can only see the tabbed version of the page. The redirect is found under Page Properties > Advanced tab.
As the leading source of information on the nation’s people, places and economy, we provide data about our country’s population size and growth as well as detailed portraits of the changing characteristics of our communities and economy.
America’s founders recognized that this information was needed to serve its people effectively. We collect vital information and develop statistics representing the American people, including where and how they live.
The Census Bureau collects information through the decennial census, the American Community Survey, the economic census, and many other surveys.
Learn more about the Census Bureau’s censuses, surveys and programs.
Federal funds, grants and support to states, counties and communities are based on population totals and breakdowns by sex, age, race, ethnicity and other factors. Your community benefits the most when it has access to accurate demographic and socioeconomic data through an accurate count of population, households and businesses.
The Census Bureau provides statistical snapshots of demographic and economic trends used by organizations, businesses and individuals. We partner with the public and private sector, nonprofits, community-based organizations and academia to harness the power of our data, support each other’s mission and co-create solutions to increase the use of data and participation in surveys and programs.
The configure dialog allows the content author to define multiple tabs. See below for more about the Tab Component dialog.
Expand the section below to see the Tab Component HTML output.