Re: [Proto-Scripty] script.aculo.us Slider increment option is NOT WORKING???

2010-09-05 Thread Walter Lee Davis
Try the values option. Set it to an array of [0,1000,2000 ... ] and your slider will stick at those options, like detents in an f-stop ring on your camera. Walter On Sep 2, 2010, at 2:51 AM, TK wrote: I wanna make a slider which is working like a discrete slider. That means that i have a

Re: [Proto-Scripty] Newbie question: Add CSS style to TR

2010-09-05 Thread Walter Lee Davis
That contains() method looks darned useful! Try this in its place: $$('td').findAll(function(elm){ return elm.innerHTML.include('Pendiente');}).invoke('setStyle','background- color:#c00'); That's the long-hand way, you could probably wrap this up in a function so there wouldn't be any