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 Mobile Sliderbutton plugin" />
<link href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.8.0.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.js"></script>
  <script src="http://j-ulrich.github.com/jquery-sliderbutton/jquery.mobile.sliderbutton.js"></script>
  <link href="http://j-ulrich.github.com/jquery-sliderbutton/jquery.mobile.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').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