ssastre at seaswork.com
Wed Jul 9 12:59:33 UTC 2008
Seaside has implemented the ifthen in a way it do not have else.
I've made an extension (SUExtensions) to be able to use if:then:else: and other
convenient for UI behavior which changes dynamically.
If you want to try them you will find SUExtensions with that an other
conveniences at jQuery project in squeaksource.com
> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre
> de SainTiss
> Enviado el: Miercoles, 09 de Julio de 2008 04:53
> Para: seaside at lists.squeakfoundation.org
> Hi all,
> I've got the following scenario:
> - There's a div with some text (D1)
> - onMouseOver D1 I want to show another div (D2) which is
> hidden by default
> - onMouseOut D1 I want to hide D2 after 2 secs, but ONLY if
> at that moment the
> mouse is not over D2.
> flag onMouseOver
> D2, and unset it onMouseOut D2. I'd use this flag in a
> function which is
> called onMouseOut D1, to check whether the mouse is over D2.
> Now the question is how to do this in Seaside?
> event handler can
> be done with
> Calling a function is easy:
> <script> call: 'funname'
> The timeout stuff is supported as well by the "timeout:
> delay" message.
> However, I couldn't find out how to add an if-then-else, nor
> how to set a
> Is it possible to do this the seaside way? Am I making this
> too difficult? Do
> A liberal is a person whose interests aren't at stake at the moment
> -- Willis Player
> Hans Schippers
> Research Assistant of the Research Foundation - Flanders (FWO
> - Vlaanderen)
> Formal Techniques in Software Engineering (FoTS)
> University of Antwerp
> Middelheimlaan 1
> 2020 Antwerpen - Belgium
> Phone: +32 3 265 37 88
> Fax: +32 3 265 37 77
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside