True rolling banners in Dynamic HTML

In issue 130 of PC Plus I showed Chris Skepper's random banner routine, which picked a banner graphic (like the one at the top of this page) at random from a list of possibles each time the page was loaded. It was great, but couldn't quite match the rolling banners achievable using server-side programming support. These not only changed the banner image while the page was on screen, but also changed the hyperlink targets associated with the images too.

In Dynamic HTML it's easy to do exactly that, with no server-side programming support. The banner image at the top of this screen changes every three seconds (if you're running IE4), and each image is linked to a different target page (something you can't do with the frames of an animated GIF). Try clicking on the different images, then use your browser's go-back button to return here.

View the source to this page (View..Source on IE4's menu bar) to see how it's done.


Back to menu