saintiss at gmx.net
Wed Jul 9 07:53:11 UTC 2008
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.
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?
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
Research Assistant of the Research Foundation - Flanders (FWO - Vlaanderen)
Formal Techniques in Software Engineering (FoTS)
University of Antwerp
2020 Antwerpen - Belgium
Phone: +32 3 265 37 88
Fax: +32 3 265 37 77
More information about the seaside