TemplateRotator Control
Description
The TemplateRotator control allows you to create multiple templates that are periodically rotated. The control allows you to specify the frequency of the rotation, whether it is rotates randomly or sequentially, and the dimensions of a div that the templates will be contained in. All code used to rotate through the templates is written in JavaScript.
Example
HS Senior Picture
HS Senior Picture
Class of 1999



Properties & Methods
TemplateRotatorThe TemplateRotator control allows you to create multiple templates that are periodically rotated
  • RotatorWidth - The width, in pixels, of the div that will wrap each template (default="500")
  • RotatorHeight - The height, in pixels, of the div that will wrap each template (default="300")
  • Items - The List of RotatorTemplates that will be rotated
  • RandomOrder - A Boolean value specifying whether the RotatorTemplates should be displayed sequentially or in random order (default="False")
  • Interval - The amount of time, in milliseconds, between rotations (default="1750")
  • StyleValue - A String of CSS styles that will be applied to the divs for all templates
Source Code
TemplateRotator.vb: