jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Issue with Tabs inside Tabs Issue with Tabs inside Tabs #78596

    stefano969
    Participant

    Hi i have a problem with tabs inside tabs, because the subtab identified by id subtab1 it does not be displayed as a jqxtabs.

    This is my code:

    <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <link rel=”stylesheet” href=”../../jqwidgets/styles/jqx.base.css” type=”text/css” />
    <script type=”text/javascript” src=”../../jquery-1.11.0.min.js”></script>
    <script type=”text/javascript” src=”../../jqwidgets/jqxcore.js”></script>
    <script type=”text/javascript” src=”../../jqwidgets/jqxtabs.js”></script>

    <script type=”text/javascript”>
    $(document).ready(function () {
    // Create jqxTabs.
    $(‘#tab’).jqxTabs({ width: 1100, height: 800 });
    $(‘#subtab0’).jqxTabs({ width: 480, height: 100 });
    $(‘#subtab1′).jqxTabs({ width: 480, height: 100 });
    });
    </script>
    </head>
    <body class=’default’>
    <div id=”tab”>

    • tab1
    • tab2
    • tab3

    <div>content tab1</div>
    <div>
    <div id=”subtab0″>

    • subtab0_1
    • subtab0_2
    • subtab0_3

    <div>content subtab0_1</div>
    <div>content subtab0_2</div>
    <div>content subtab0_3</div>
    </div>
    </div>
    <div>
    <div id=”subtab1″>

    • subtab1_1
    • subtab1_2
    • subtab1_3

    <div>content subtab1_1</div>
    <div>content subtab1_2</div>
    <div>content subtab1_3</div>
    </div>
    </div>
    </div>
    </body>
    </html>

Viewing 1 post (of 1 total)