Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Demo of the jQuery UI Sliderbutton plugin" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.22/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.22/jquery-ui.min.js"></script>
  <script src="http://j-ulrich.github.com/jquery-sliderbutton/jquery.ui.sliderbutton.js"></script>
  <link href="http://j-ulrich.github.com/jquery-sliderbutton/jquery.ui.sliderbutton.css" rel="stylesheet" type="text/css" />
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div id="example"></div>
  <textarea id="log"></textarea>
</body>
</html>
 
#example {
  margin: 1em;
  width: 70%;
}
#log {
  margin: 1em;
  height: 20em;
  width: 70%;
}
 
$('#example').sliderbutton({
  activate: function() {
    $('#log').val($('#log').val()+"Activate!\n");
  }
});
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
Ignitorpro
0viewers