Jquery Slider control for volume
I want to create a slider to control the volume of the media player. How to design/create a slider using JQuer开发者_StackOverflow中文版y.
Geetha.
jQuery UI has one built in: http://docs.jquery.com/UI/Slider
Use jQuery slider: http://docs.jquery.com/UI/Slider
To get a value, you can use:
.slider("value")
If you want to get a value when a slider changed:
$( ".selector" ).slider({
change: function(event, ui) {
// value is ui.value
}
});
精彩评论