Brogan submitted a new resource:
Randomising content - rand()
Read more about this resource...
Randomising content - rand()
Randomising content can be used in various ways, the most common of which is for header images and logos, or advertising banners.
This guide will explain how it can be done simply with one line of code (which ironically has taken a hundred lines of explanatory text).
For the purposes of this guide, we'll be adding a banner image in theContainer header
advertising position, which will randomly rotate between 5 different images.
Read more about this resource...