Example 1b: Basic animation using a JavaScript object for the configuration

Here we repeat the simple animation, but putting the "configuration" data into a JavaScript object in the hanconfig.js file. This file looks like this:
var hancon = {
  filenames : "TVIS1.GIF, TVIS2.GIF, TVIS3.GIF",
  controls : "startstop, speed, step, looprock, zoom",
  controls_style : "display:flex;flex-flow:row;",
  buttons_style : "flex:auto;margin:2px;"
}

And then the "onload" invocation is this:

<body onload="HAniS.setup(hancon, 'handiv')">

Go To Front Page
Next Example
This webapp Copyright© 2014- by Tom Whittaker