[Seaside] [scriptaculous] Why my sliders disapear ?

Gerhard Obermann obi068 at gmail.com
Sun Jul 27 17:31:22 UTC 2008


It was a little bit hard to read your code.
But i am sure i found the problem!

You are always increasing your sliderId.
So after a page refresh you dont have your old Id's like tack1,....7.
of course the same thing happens with your handles.
And all your CSS settings are gone.
To get an unique id you could use "hmtl nextId"
 So maybe its better to use an unique css class for all your div#track[id]
and handles.

I would also suggest to use html evaluator instead of 2 html updater.
Because then you have only 1 AJAX call instead of 2.


On Sun, Jul 27, 2008 at 5:53 PM, cdrick <cdrick65 at gmail.com> wrote:

> Hi,
> see here: http://www.squeakside.com/seaside/NARS/test/truthval.
> If I click on a (non ajax) link, then the slider dissapear... like if no
> css...
> Any ideas ?
> Thanks
> Cédrick
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080727/17633dfd/attachment.htm

More information about the seaside mailing list