我正在使用这个链接中的开关组件: http://ghinda.net/css-toggle-switch/bootstrap.html。
我想让选定的部分(带有蓝色批次)为
这是我的HTML代码。
我想让选定的部分(带有蓝色批次)为
cursor:default
,未选定的部分(白色批次)为 cursor:pointer
。这是我的HTML代码。
<div class="switch-toggle well">
<input id="week" name="view" type="radio" checked>
<label for="week" onclick="">Week</label>
<input id="month" name="view" type="radio">
<label for="month" onclick="">Month</label>
<a class="btn btn-primary"></a>
</div>
我的JS Fiddle链接是... http://jsfiddle.net/Wd2rL/
谢谢。