I'm banging my head against the desk trying to get even a basic slider working. I think it must have something to do with the style, but I can't get the dang thing to even display.
I have a very basic ASP.NET MVC application and in a view, i have:
<% using (Html.BeginForm()) { %>
<fieldset>
...
<div id='mySlider'></div>
...
</fieldset>
<script type="text/javascript">
$(document).ready(function() {
$('#mySlider').slider()
});
</script>
and in my Site.Master:
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<link href="../../Content/theme/ui.all.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/jquery-1.3.2.js" type="text/javascript"></script>
<script src="../../Scripts/ui.slider.js" type="text/javascript"></script>
<script src="../../Scripts/ui.datepicker.js" type="text/javascript"></script>
<script src="../../Scripts/ui.core.js" type="text/javascript"></script>
I have a completely working field that takes its value from a jquery datepicker (and I can select the theme OK), so I must have something right. But whatever I do, it doesn't even display the slider.
What do I need to do? Any help is much appreciated.