response:timer

Purpose

Response element for a Timer widget. Allows authors to set the start-time and stop-time attributes via AJAX request.

Contained by

Attribute groups

Attributes

Attribute Description Type Default Options Use
start-time Initial time given in milliseconds xs:integer     optional 
stop-time Ending time given in milliseconds xs:integer     optional 

Example

<?xml version="1.0" encoding="UTF-8"?>
<response:response xmlns="http://www.w3.org/2002/06/xhtml2"
  xmlns:mcs="http://www.volantis.com/xmlns/2006/01/xdime/mcs"
  xmlns:response="http://www.volantis.com/xmlns/2006/05/widget/response">
  <response:head>
    <response:link rel="mcs:theme" href="/main.mthm"/>
  </response:head>
  <response:body>
    <response:timer start-time="0" stop-time="600000"/>
  </response:body>
</response:response>

Related topics