O'Reilly logo

Visualforce Development Cookbook by Keir Bowden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Carousel messages

A carousel is a mechanism for giving viewers of a web page access to a number of content items (for example, messages, news stories, and images) via a single element on the page. They are usually implemented as sliding or rotating horizontal panels where the content is updated after a set period of time.

In this recipe we will create a Visualforce page that rotates a carousel of recently closed opportunities. The page displays a single opportunity at a time and transitions between opportunities by fading out the old one and fading in the new one. We will then create a homepage component containing this page and add it to the Home page layout.

Getting ready

This recipe uses the jQuery (http://jquery.com/) JavaScript framework. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required