开发者

Looking for jquery volume button, not slider [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

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.

开发者_如何学C

Closed 8 years ago.

Improve this question

Wonder 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();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜