<HTML xmlns:t ="urn:schemas-microsoft-com:time">
<HEAD>
<?IMPORT namespace="t" implementation="#default#time2">
<style>.time {behavior: url(#default#time2)}</style>
</HEAD>
<BODY bgcolor="#eeffcc">
<!-- Time Content for testing -->
<DIV id = "T2" style="position:absolute;height:170;width:175;background-color:#00ff00;z-index:1"></div>
<DIV id = "T1" style="position:relative;height:85;width:85;top:45;left:45; background-color:#00ff00;z-index:2;border-Color:black;border-Width:3;border-style:solid"></div>
<img src= "../images/spline_img01.gif" style = "position:absolute;top:215;">
<t:animateColor begin="2s" dur="6s" calcMode="spline" keySplines="0 0 1 1"  keyTimes="0; 1" targetElement="T1"  values="black;red" attributeName="style.backgroundcolor" fill="remove"/>
<t:animateColor begin="2s" dur="6s" CalcMode=linear keyTimes="0; 1" TargetElement=T2  values="black;red" attributeName="style.backgroundcolor" fill="remove"/>
<!--*******************************************************************************-->
<!--***************everything past this line is informational**********************-->
<!--*****Timer that displays activeTime and shows persistence*****-->
<DIV align="left" style="position:absolute; top:10;left:300">
<B>TIMER:</B><BR>
Timer:
<span id="Timer" class="time" dur=".01"  repeatCount="indefinite" fill="hold" onrepeat="innerText=parseInt(document.body.currTimeState.activeTime);">0</span><br><br>
<!--*****Expectations, Sample Code, and Information*****-->
<B>EXPECTED BEHAVIOR:</B><br>
Testing: keySplines, keyTimes.<br>
At 0 seconds, the inner and outer boxes will be green.<br>
At 2 seconds, the inner and outer boxes will animate color from black to red.<br>
At 8 seconds, the inner and outer boxes will finish animating and turn back to green.<br>
**Note that the keySpline values "0 0 1 1" cause the animateColor to change linearly.<br><br>
<B>SAMPLE CODE:</B><br>
<t:animateColor begin="2s" dur="5s" calcMode="spline" keySplines="0 0 1 1"  keyTimes="0; 1" targetElement="T1"  values="black;red" attributeName="style.backgroundcolor" fill="remove"/><br>
<t:animateColor begin="2s" dur="5s" CalcMode=linear keyTimes="0; 1" TargetElement=T2  values="black;red" attributeName="style.backgroundcolor" fill="remove"/><br><br>
<B>INFORMATION:</B><br>
Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Debbie Newman, Microsoft<br>
Version: 11/02/2000<br>
Module: animateColor<br>
Feature: begin, dur, calcMode=spline, keySplines, keyTimes, targetElement, values, fill=remove<br>
File Name: animateColor_spline_001.htm<br>
Media Components: images/spline_img01.gif<br><br>
</div>
</BODY>
</HTML>