Span is possibly the wrong tag to use. If I recall correctly, a span is an inline element and can't have a width applied to it, unless you make it a block element, and then you might as well use a div. Some browsers incorrectly apply this property... took me a while to figure out why my widths/heights weren't working.
Gareth On 3/19/07, zarusoba <[EMAIL PROTECTED]> wrote: > > > Hi, > > I've just made a reasonably simple modification to the Slider control > in script.aculo.us which makes it so that you can drag a span as well > as handles (if you drag a span, the span width stays the same, and the > span and handles slide up and down together). > > This also works if a slider 'track' has multiple spans. For example: > > ------||=====||~~~~~||------ > > Where ----- is the track, || are handles and === and ~~~ are spans, in > case my diagram makes no sense without an explananation :). > > If I might be so bold as to suggest such a thing, it seems to me like > this might be useful functionality to add to the Slider control. > > Is there a mechanism in place where people can submit code changes > like this for review and possible inclusion? Is this the right place > to ask this question? > > Thanks! > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
