« Back to CPW Home page

Sample Homepage Marquee

A photo study in red.

The new features of this homepage marquee are autoplay and wrap-around:

Red Sunset and Tree

Red Sunset behind Tree

This collection of images is a study in red.

Hover on/off the image to pause/resume the autoplay of the marquee.

Link to Nowhere!

Chain Links on Red

Chain Links on Red

When autoplay is paused, you can interact with the marquee.
Notice that the navigation buttons on the right are clickable when autoplay is paused.

When autoplay resumes, the timePassed value is reset to 0 for the current image.

Another Link to Nowhere!

Red Parrot with Gold Wings

Red Parrot with Gold Wings

Additional images and captions can be added easily.

The javascript counts the images and builds the image lineup on page load.

The transparent caption area grows to fit the actual contents.

Yet Another Link to Nowhere!

Microprocessor chips on Red

Microprocessor chips on Red

The wrap around effect will always work, even as new images are added or removed, because the javascript creates the effect by cloning and repositioning images, after creating the image lineup, on page load.

Check it out! Nowhere!

« Back to CPW Home page