Date Slider
What the slider does
After sending the date slidier an
inital date_range variable in JavaScript, the slider automatically
moves to display the given date range. Then as the user interacts
with the date slider, three variable are sent from Flash to JavaScript.
- Raw Date Range: A range of dates in the following format (20050721T00:00:00-20050809T00:00:00)
- Clean Date Range: A range of dates in the following format (Thur. July 21-Tues.
Aug. 09)
- Total Count: A total count of the dates within the defined date range
How you can customize it (variables set in the JavaScript)
- Bar color (bar_color): The color of the graph bars
- Box Color (box_color): The color of the box that stretches to follow
the handles
- Line Color (line_color): The color of the graph lines in the background
- Tracking Variable Name (variable_name): "Things" can become
anything
- XML File Name (file_name): file name and location (could be URL to dyanmic
XML file). See example
Some Rules
- The XML file must be formated in the same way as date_slider_data.xml
- The XML node vaule may change, however the 'date' node must be formated
the same way
- The XML file must have exactly 120 nodes
What the Slider Uses
The date slider is under the Creative
Commons LicenseMeasure Map is a production of Adaptive
Path, LLC. Questions or comments, feedback@measuremap.com.