jQueryUI Slider handle not moving

Posted by DavidYell on Stack Overflow See other posts from Stack Overflow or by DavidYell
Published on 2010-03-24T16:36:52Z Indexed on 2010/03/24 16:43 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I'm trying to implement a jQuery slider with increments. I've gone from, the actual project page, to a test page of the project with just the slider, to just the slider. In all cases I've been unable to get the handle to move. It also seems to have a width of 1px or similar.

My code is as follows,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>jQuery slider</title>

        <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.custom.css" type="text/css" media="screen" charset="utf-8" />

        <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="js/jquery-ui-1.8.custom.min.js"></script>

        <script type="text/javascript">
            $(function() {
                $("#slider").slider();
            });
        </script>

    </head>
    <body>
        <div id="slider"></div>
    </body>
</html>

I'm sure there is something very simple at fault here, but I really cannot see it for the life of me. The custom part of my download, was just clicking the 'select all components'.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery