Tag: rotating banner javascript js jquery xml date-limited random

Date-controlled random rotating banner script

This script text and HTML from an XML listing, based on the end date. It scans through the list, finds the first section with an end-date greater than today’s date, then pulls random banner text/HTML from that section. The example shown here uses a flat color banner with white text, but you could also use this same script to generate image or flash-based banners. I’ve also added a nice jQuery fade-in effect but that is optional.

View Demo

Download source files

Continue reading