views:

80

answers:

1

I've been trying to set up a basic test animation using jsanim.js and using their example site to set up my html, css and js. However, I just can't figure it out (not a developer...designer!) and there isn't just a simple html, css, js file to download showing how to say animate a DIV left to right.

The examples of how the library works are clear but I'm lacking something in the set up and looking at their source on the site is nuts...too much going on in there.

Thanks to anyone with experience with jsAnim.js http://www.jsanim.com

Best,

Mark

A: 

I had troubles with this

You need to make sure the div you are trying to animate is loaded on the page before the javascript tries to animate it

<div id="divToAnimate"> 
</div>

<script language="javascript">
    var manager = new jsAnimManager(40); 
    etc......
</script>

Otherwise it won't work.

Richard