This demonstrates how to build a TabView from markup.
One way you can build a YUI TabView widget is by including the required markup in your page. This is the most accessible way to provide tabbed content, because without script or styling, the tab links function as jump links to the associated content.
We will create a
demo and include the TabView markup, which includes a list of navigational links that are anchored to a div in the
All that is left is to create an instance of TabView from our
This is a basic example of how to build a TabView from markup.
Note: Logging and debugging is currently turned off for this example.
All YUI 2.x users should review the YUI 2.8.2 security bulletin, which discusses a vulnerability present in YUI 2.4.0-2.8.1.