Bug Tracker

Opened 13 years ago

Last modified 12 years ago

#1110 closed bug

Bug in SliderSetValues — at Initial Version

Reported by: adityamooley Owned by: stefan
Priority: major Milestone: 1.1.3
Component: interface Version: 1.1.2
Keywords: islider Cc:
Blocked by: Blocking:

Description

While trying to set the slider indicator position with SliderSetValues, it sets wrong values. For e.g. if I set slider 1 to [15, 0] it changes its X by 17 and not 15.

After a lot of debugging in islider.js file we noticed that it's the indicator GIF image which is creating this problem. I had to add the width of indicator image in the width of slider image to make it work correctly.

So, if I need the slider of length 100 and the indicator image has width 16 then the slider length has to be 100 + 16 = 116.

The example of this can be seen here -> http://sanisoft-demo.com/jquery/slider.html

Thanks,

Aditya Mooley

Change History (0)

Note: See TracTickets for help on using tickets.