0

Error in yui3 tabview example

Code example (html) on page

http://developer.yahoo.com/yui/3/examples/...view-basic.html

should be

<div id="demo">
<ul>
<li><a href="#foo">foo</a></li>
<li><a href="#bar">bar</a></li>
<li><a href="#baz">baz</a></li>
</ul>
<div>
<div id="foo">
<p>foo content</p>
</div>
<div id="bar">
<p>bar content</p>
</div>
<div id="baz">
<p>baz content</p>
</div>
</div>
</div>

ie all elements should be inside #demo, like it is on page

http://developer.yahoo.com/yui/3/tabview/

-- Peter --

1 Reply
This forum is locked.

Recent Posts

in YDN Documentation