- SCU Home Page
- About SCU
- On Campus
- News & Info
- Web Publishing
- About Web Publishing
- Getting Started
- CommonSpot Help
- Design Resources
- Publisher Resources
- Contact Us
Content Well Elements
Displaying Randomly Selected or Rotating Images
This element will display one of the set of images as a randomly selected image, displaying a different image every time the page loads, or as a rotating set of images displayed in sequence.
You can provide a link for each image. Enter a comma-separated list of links- the number of links must be the same as the number of images. If you don't want to provide a link for one of the images, just enter a comma in its place.
In the examples on this page, the following links were supplied:
links= http://www.scu.edu, http://www.scu.edu/jesuit, http://www.scu.edu/president
You may also supply captions for your images. Enter a comma-separated list of captions - the number of captions must be the same as the number of images. If you don't want to provide a caption for one of the images, just enter a comma in its place.
In the examples on this page, the following captions were provided:
captions=Santa Clara Mission Church,Mission Church interior,Nobili Hall tower
PositionYou can position the image and caption to the left, center, or right side of the content well by setting this custom parameter:
If you don't modify this setting, the image will be positioned to the left side.
Randomly Selected Images
In this example, one of the three images will be selected and displayed every time the page loads:
Two optional parameters can be provided - "seconds" and "cycles". The default setting for the number of seconds an image will be displaye is 5 seconds - enter "seconds=[number]" to change that. The images will cycle through the complete rotation 5 times by default - modify that by adding the "cycles=[number]" parameter.
In this example, the three images will be displayed in a rotating sequence: