FF1+ IE5+

Random iframe content

Author: Dynamic Drive

Description: This script randomly selects from a group of URLs and displays one of them inside an iframe. Since it's an iframe, the content can be anything and everything. Some ideas for using this script are:

  • Randomly rotate and display HTML banners
  • Display a "random joke" from a large archive without having to download everything
  • Serve up random content consisting of rich HTML

Demo: (refresh the page to see a different content below)


Directions:

Simply insert the below code where you wish the content to appear, and configure the URLs inside to your own:

Select All

Wordpress Users: Step by Step instructions to add ANY Dynamic Drive script to an entire Wordpress theme or individual Post