The handle option was removed in 1.7. See
http://jqueryui.com/docs/Upgrade_Guide#Slider
Instead, add the class 'ui-slider-handle' to the div. You can do this by
modifying the markup, or by calling
$("#slider .handle").addClass("ui-slider-handle");
$("#slider").slider();
- Richard
On Sat, Apr 11, 2009 at 12:32 AM, salman <[email protected]> wrote:
>
> Hi guys
>
> need your help
>
> looking at the demo here http://jqueryui.com/demos/slider/
>
> i cant understand how i can i tell the slider to chose specific div as
> handle.
>
> on the demo page in source code part, there is only one div
> ================================================
> <script type="text/javascript">
> $(function() {
> $("#slider").slider();
> });
> </script>
>
> <div id="slider"></div>
> ================================================
> where is the second div (handle div).
>
> and i dont want to use themes bundled with ui.
>
> before jq1.3.2 this code use to work
>
> ================================================
> <script type="text/javascript">
> $(function() {
> $("#slider").slider({
> handle: '.handle'
> });
> });
> </script>
>
> <div id="slider">
> <div class="handle"></div>
> </div>
> ================================================
>
> so can some one post a solution please
>
> regards
> salman
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---