jQuery UI Tabs Widget Example or Creating Content Tabs with jQuery UI

Home » Uncategorized » jQuery UI Tabs Widget Example or Creating Content Tabs with jQuery UI
Uncategorized No Comments

jQuery UI Tabs Widget Example or Creating Content Tabs with jQuery UI

<html>
<head>
    <title></title>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/themes/base/jquery-ui.css" type="text/css" media="all" />

    <script type="text/javascript">
        $(function() {
            $("#tabs").tabs();
        });
    </script>
</head>
<body>
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Tab 1</a></li>
            <li><a href="#tabs-2">Tab 2</a></li>
            <li><a href="#tabs-3">Tab 3</a></li>
        </ul>
        <div id="tabs-1">
            <p>
                www.sourcecodehub.com
            </p>
        </div>
        <div id="tabs-2">
            <p>
                www.codeproject.com
            </p>
        </div>
        <div id="tabs-3">
            <p>
                www.alltradersbuyers.com
            </p>
        </div>
    </div>

</body>
</html>



loading...

LEAVE A COMMENT