nnmware / devoops

DevOOPS Bootstrap 3 Admin theme
GNU General Public License v3.0
852 stars 416 forks source link

How to use toggle buttons. #7

Closed autoferrit closed 10 years ago

autoferrit commented 10 years ago

I am using these toggle buttons.

<div class="toggle-switch toggle-switch-warning">
    <label>
        <input type="checkbox" checked="">
        <div class="toggle-switch-inner"></div>
        <div class="toggle-switch-switch"><i class="fa fa-check"></i></div>
    </label>
</div>

and i have 3 on the page. but when I click any of them, only the first button at the top toggles. So for example, if I try to click the second item, the first items toggles. I can't find any reasons it is doing this. And was hoping to get some input and how it should be used as I cannot really find any docs.

nnmware commented 10 years ago

Please read Bootstrap documentation.

autoferrit commented 10 years ago

yes thank you. but I have. I can find no examples of this on their site. i have found a plugin someone made called bootstrap-switch, but I did not see that in the theme source code.

devoopsme commented 10 years ago

On 13.05.2014 12:22, Shawn McElroy wrote:

yes thank you. but I have. I can find no examples of this on their site. i have found a plugin someone made called bootstrap-switch, but I did not see that in the theme source code.

— Reply to this email directly or view it on GitHub https://github.com/devoopsme/devoops/issues/7#issuecomment-42907812.

We're sorry, but if real- not think then bs buttons is great. In our projects we maked tasks for toggle buttons effect via jQuery only.