Example of using randomly selected pictures for a web page
Images change each time the page is visited or refreshed
(Refresh this page several times to see image rotation)
Here's how to do it:
To use this feature, Copy/paste the HTML code for the one-cell table below (which includes the rquired JavaScript)t) into a web page using the LM editor in HTML mode. Replace the existing directory path with the one that points to where your images are located. Also, make sure there is an alt statement description for each image.
To obtain the directory paths for each of your images, use a "Blank" content area on one of your LM pages or on your practice page. Using the media manager, upload each of the images you want in the rotation. After the images have been uploaded, bring the page back into the editor, click on the HTML view, locate and copy each of the URL (directory paths) for each of the images. Suggest that you copy and paste them one path at a time into a Notepad file, from which you can copy and paste into the JavaScript code.
Copy the entire HTML code below (the image-rotation Javascript is included in the table) and paste (in HTML mode) where you want it to appear on a web page :
Fairmont State University© and Pierpont Community & Technical College© are Equal Opportunity/Affirmative Action Institutions
1201 Locust Avenue, Fairmont, WV 26554 Tel: 304-367-4892 Toll Free: 1-800-641-5678 TDD: 304-367-4200
Please read The Fine Print