Problem with Tabbed Panel

Asked

Viewed 36 times

1

I’m trying to implement a code in php,in which search for a parameter,create a tabbed panel according to the parameter and within this tabbed panel create another tabbed panel,Entering the code is with some problem that could not solve the second tabbed panel does not work. I click on January , for example, nothing happens.

 <div class="tabbable" id="tabs-669585">
            <ul class="nav nav-tabs">
                    <?php 
    $mes=$_GET["mes"];
    $i;

                for($i=0;$i<14;$i++)
                {
                    if(($mes%12)==1)
                    {?>
                    <li>
                    <a href="#panel-21">Janeiro</a>
                    </li><?php
                    }
}
                $mes++;
                }

?>
            </ul>
                <li>
                <div class="tab-content">
    <div class="tab-pane" id="panel-21">
            <ul class="nav nav-tabs">
                <li>
                    <a href="#panel-3437613" data-toggle="tab">Fósforo</a>
                </li>
                <li class="active">
                    <a href="#panel-2" data-toggle="tab">Nitrogênio</a>
                </li>
                <li>
                    <a href="#panel-3" data-toggle="tab">Zinco</a>
                </li>
                    <li>
                    <a href="#panel-4" data-toggle="tab">Potássio</a>
                </li>
            </ul>

Someone would have a solution?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.