<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Animation - Grundgerüst</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script src="animX.js" type="text/javascript"></script> <style type="text/css"> .anim { position:absolute; top:0; left:0; visibility:hidden; } </style> <script type="text/javascript"> var myAnim = new CAnim(); function BuildAnimation() { // Hier Animation programmieren myAnim.Load(); // initialisiert die Animation } xOnLoad( BuildAnimation ); </script> </head><body> <h1>Animation</h1> <div style="position:relative;width:600px;height:100px;left:50%;margin-left:-300px;border:1px solid black;"> <img id="ball" class="anim" src="ball.gif" width="24" height="24" alt=""> <img id="sun" class="anim" src="sun.gif" width="34" height="34" alt=""> </div> <p style="text-align:center"> <a href="javascript:myAnim.Play()">Starte die Animation</a> </p> </body> </html>