jQuery UI & Slider: Basic slider

This entry is part 1 of 11 in the series jQuery UI Slider

jQuery UI Slider – Default functionality

The basic slider is horizontal and has a single handle that can be moved with the mouse or by using the arrow keys.

<!doctype html>
<html lang='en'>
    <meta charset='utf-8'>
    <title>jQuery UI Slider - Default functionality</title>
    <link rel='stylesheet' href='//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css'>
    <script src='//code.jquery.com/jquery-1.10.2.js'></script>
    <script src='//code.jquery.com/ui/1.10.4/jquery-ui.js'></script>
    <link rel='stylesheet' href='http://codecrawl.com/code/jqueryui/jqueryui_style.css'>
        $(function () {

<div id='slider'></div>

Try The Code Slider Widgets API Doc
Series Navigation
jQuery UI & Slider: Snap to increment >>

Leave a comment

Leave a Reply