javascript 横向移动效果...有急用!!!

来源:百度知道 编辑:UC知道 时间:2024/05/27 20:39:51
Problem: In a simple animation, 4 shapes are moving on 4 lines from left to right at the same time. Use Open Laszlo to write a simple program in Xml and Javascript.
Deliverable. Send your complete source code (.lzx and resource files) back as attachment. We will test your code.
References:
 Laszlo in 10 minutes. http://www.openlaszlo.org/lps4/laszlo-explorer/index.jsp?navset=nav10.xml&bookmark=Introduction
 Laszlo 3.3.3 developer’s Guide: http://www.openlaszlo.org/lps/docs/guide/ Read chapter 4, 14 (section 1-3), 21, 26. Optionally 25, 30.
四种形状为圆,椭圆,三角.正方形.从一条直线上从左到右移动.我需要的是完整的源代码.谢谢大家了.

a.style.position.x=a.style.position.x+10;

<marquee direction="right" bgcolor="red" nomouseover="stop()"
onmouseout="start()" behavior="alternate" scrollamount="20">
内容
</marquee>
behavior 还可以用slide 只走一次, scroll 来回走