KendoUI系列:TabStrip

libingql發表於2014-06-10
<link href="@Url.Content("~/Content/kendo/2014.1.318/kendo.common.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2014.1.318/kendo.default.min.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/kendo/2014.1.318/jquery.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/kendo/2014.1.318/kendo.web.min.js")" type="text/javascript"></script>
<div id="tabstrip" style="width:400px;">
    <ul>
        <li class="k-state-active">Season</li>
        <li>Weakday</li>
        <li>Direction</li>
    </ul>
    <div>
        <ul>
            <li>Spring</li>
            <li>Summer</li>
            <li>Autumn</li>
            <li>Winter</li>
        </ul>
    </div>
    <div>
        <ul>
            <li> Sunday</li>
            <li>Monday</li>
            <li> Tuesday</li>
            <li>Wednesday</li>
            <li>Thursday</li>
            <li>Friday</li>
            <li>Saturday</li>
        </ul>
    </div>
    <div>
        <ul>
            <li>East</li>
            <li>South</li>
            <li>West</li>
            <li>North</li>
        </ul>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        $("#tabstrip").kendoTabStrip({
            animation: {
                open: {
                    effects: "fadeIn"
                }
            }
        });
    });
</script>

  效果預覽:

相關文章