Moving text is similar to moving images. Use your JavaScript editor to open MoveText.htm and examine the code.
To animate a piece of text:
Example:
<DIV id=SomeText style="LEFT: 10px; WIDTH: 200px; POSITION: absolute; TOP: 10px; HEIGHT: 68px">
<FONT color=#0000ff>
This script demonstrates how to move the text around.
</FONT>
</DIV>
<SCRIPT language=JavaScript>
cpMoveObj(SomeText,210,10,20,2);
</SCRIPT>
Try experimenting by placing other objects inside the <DIV> </DIV> tags: they will all be animated together.
Address: C Point Pty Ltd, 71 Williamson Road, Para Hills 5096, Australia | |
Phone: +618 8263 3623 | Fax: +618 8396 1477 |
Web: http://www.c-point.com | Email: c-point@c-point.com |