Research & Development
AdRotator.js

Idea is to pass in some images on the page that will be randomly cycled with a list of images. Don't want same image to appear twice in a row or simultaneously in more than one place.

this is h3

Styling

Required styling is that each img must have absolute positioning, so the img elements must be wrapped in a relative positioned element.

The result is that the wrapping element has no size. To get around this problem, need to add padding-bottom:xx%, where xx can be calculated based on the aspect ratio of the img itself.

Thus, all of the "slots" need to hold images with the same aspect ratio.

this is h5
this is h6