其实这是它自带的一个例子,我只是熟悉了一下,各种接口调用还是比较方便的
浏览:http://www.healdream.com/upload/html/tabview_test.html
复制代码 代码如下:
#demo{
border:1px solid #000000;
width:40%;
background-color:#c0c0c0;
padding:5px;
}
.yui-navset.yui-content{
padding:10px;
height:200px;
}
- Tab One Label
- Tab Two Label
- Tab Three Label
Tab One Content
Tab Two Content
Tab Three Content
相对来说,代码已经很精炼了,相对其他相同效果的网页来说



