[Seaside] really simple JQuery slider/widget example without the
support of the test classes?
renggli at gmail.com
Wed Aug 4 06:14:38 UTC 2010
You can copy and paste that example, there are no other dependencies
but the inst-var 'current' that you should initialize with a number.
On Wednesday, August 4, 2010, Lawson English <lenglish5 at cox.net> wrote:
> can anyone point to me a REALLY simple transitional example on how to implement a JQuery slider? Something along the lines of the webcoiunter example in the seaside book that holds my hand the entire way?
> I can't figure out how to apply the JQSliderFunctionalTest>>renderContentOn: method to something that doesn't have the infrastructure of the test class hierarchy behind it.
> MyTestSlider>>renderContentOn: html
> html div script: (html jQuery new slider
> value: current;
> onChange: (html jQuery ajax
> callback: [ :value | current := value asNumber ]
> value: (html jQuery this slider getValue)))
> doesn't work as I haven't a clue what extra methods are required to implement the functionality of the example and I can't wrap my head about the multiple layers of the hierarchy to figure out how the different widgets are plugged into the sample page...
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside