Content-Length: 2329 | pFad | http://www.ssec.wisc.edu/hanis/examples/ha1b.html

HAniS Example 1

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 "onnload" invocation is this:

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

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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.ssec.wisc.edu/hanis/examples/ha1b.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy