The example should work as you described. The problem is not the code
for the application, but a glitch in Flapjax. This glitch appears in
Firefox, but not Safari. We need to tweak the DOM code a bit.
Arjun
On Nov 2, 2009, at 07:18 , Fred Janon wrote:
> I am trying
http://www.flapjax-lang.org/demos/mouse1.html . I was
> wondering what needs to be added to the code to make the "themouse"
> DIV initial position under the current mouse position. In the
> example, one has to move the mouse for the div to be under the
> cursor. I tried a few things with no success.
> I was thinking about using 'valueNow', but the doc says no-no! And I
> don't know what to pass to startsWith(sourceE,initialVal). Since the
> mouse position is a behavior.
> mouseLeftB(document).startsWith(what for SourceE???,valueNow
> (mouseLeftB(document))
> Thanks
> Fred