asp.net上仿 手机switch按钮

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>    <title></title>    <link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"        rel="stylesheet" type="text/css" />    <link href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-switch/3.0.1/css/bootstrap3/bootstrap-switch.css"        rel="stylesheet" type="text/css" />    <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>    <script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>    <script src="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-switch/3.0.1/js/bootstrap-switch.js"></script>      <script>        $(document).ready(function () {            $('#CheckBox1').bootstrapSwitch();        });    </script></head><body>    <form id="form1" runat="server">    <div>    <asp:CheckBox ID="CheckBox1" runat="server" data-off-text="False" data-on-text="True" checked="false" class="BSswitch"/>    </div>    </form></body></html>

关于作者: 网站小编

码农网专注IT技术教程资源分享平台,学习资源下载网站,58码农网包含计算机技术、网站程序源码下载、编程技术论坛、互联网资源下载等产品服务,提供原创、优质、完整内容的专业码农交流分享平台。

热门文章