Looking for jquery volume button, not slider [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
开发者_如何学CClosed 8 years ago.
Improve this questionWonder if there is a js plugin to control music volume? I have all functionality written, just need UI. Instead of standard slider, I would like to use 'radio' volume design (round button), or at least simple YouTube player style volume control. Shoot me a link if you know such plugin.
Look at the jQuery UI split button. You can use it on div:
<div id="volume">
<button id="up">+</button>
<button id="down">-</button>
</div>
JS:
$('#up')
.button()
.click(function() {
// up clicked
})
.next()
.button()
.click(function() {
// down clicked
})
.parent()
.buttonset();
精彩评论