[Laszlo-checkins] r7407 - openlaszlo/trunk/examples/components
bargull@openlaszlo.org
bargull at openlaszlo.org
Wed Nov 28 14:37:27 PST 2007
Author: bargull
Date: 2007-11-28 14:37:23 -0800 (Wed, 28 Nov 2007)
New Revision: 7407
Modified:
openlaszlo/trunk/examples/components/floatinglist_example.lzx
Log:
Change 20071115-bargull-6 by bargull at dell--p4--2-53 on 2007-11-15 23:41:41
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: change handler-type
New Features:
Bugs Fixed:
LPP-4624 - DHTML and flash: floatinglist example: Selecting the "animate" button using the keyboard in does not work
Technical Reviewer: (pending)
QA Reviewer: mkratt
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Changed handler from "onclick" to "onvalue". Now keyboard input does work for this example.
Tests:
Modified: openlaszlo/trunk/examples/components/floatinglist_example.lzx
===================================================================
--- openlaszlo/trunk/examples/components/floatinglist_example.lzx 2007-11-28 22:29:02 UTC (rev 7406)
+++ openlaszlo/trunk/examples/components/floatinglist_example.lzx 2007-11-28 22:37:23 UTC (rev 7407)
@@ -87,23 +87,25 @@
<text>always appear in a visible location.</text>
<text></text>
<checkbox name="animate">animate
- <method event="onclick">
- if (value==true) {
- canvas.content.b1.animate();
- canvas.content.b2.animate();
- canvas.content.b3.animate();
- canvas.content.b4.animate();
- canvas.content.b5.animate();
- canvas.content.b6.animate();
- } else {
- canvas.content.b1.stop();
- canvas.content.b2.stop();
- canvas.content.b3.stop();
- canvas.content.b4.stop();
- canvas.content.b5.stop();
- canvas.content.b6.stop();
+ <handler name="onvalue">
+ if (this.isinited) {
+ if (value==true) {
+ canvas.content.b1.animate();
+ canvas.content.b2.animate();
+ canvas.content.b3.animate();
+ canvas.content.b4.animate();
+ canvas.content.b5.animate();
+ canvas.content.b6.animate();
+ } else {
+ canvas.content.b1.stop();
+ canvas.content.b2.stop();
+ canvas.content.b3.stop();
+ canvas.content.b4.stop();
+ canvas.content.b5.stop();
+ canvas.content.b6.stop();
+ }
}
- </method>
+ </handler>
</checkbox>
</view>
More information about the Laszlo-checkins
mailing list