The Open University – where learning runs day and night


Students’ engagement with the Virtual Learning Environment

Students Live: The AA100 course activities*

  • Addition / Subtraction: [?]

    You can also add and subtract a value to/from the counter using the add and subtract methods:

    myCounter.add(567);
    myCounter.subtract(567);

  • Set Value: [?]

    You can manually set the value of the counter at any time using the setValue method:

    myCounter.setValue(12345);

  • Increment To: [?]

    You can set the counter to increment to a value using the current pace and inc values by using the incrementTo method:

    myCounter.incrementTo(12345);

  • Smart Increment To: [?]

    You can also let the counter figure out the best pace and inc values using a ‘smart’ increment technique.

    myCounter.incrementTo(12345, 10, 400);

    The above code would tell the counter to increment to 12,345 over a period of 10 seconds. I’ve also set a desired pace of 400 for the animation, but that will change when neccessary to optimize the animation.

    Click the ‘Run smart increment example’ button to see a demo of this method in which the counter will increment to 4 different values, each with a duration of 10 seconds, dynamically adjusting pace and inc for optimal results.

More courses and analytic tools to come …

CONTACT US

Knowledge Media Institute
The Open University
Walton Hall
Milton Keynes
MK7 6AA
United Kingdom

Tel: +44 (0)1908 653800

Fax: +44 (0)1908 653169

Email: KMi Support

COMMENT

If you have any comments, suggestions or general feedback regarding our website, please email us at the address below.

Email: Digital Development Services