Interpolate a random string into a page when it is displayed. This technique could be used as an alternative to server-side includes for those who don't have them or don't want to overload the server. The disadvantage, of course, is that all the alternatives have to be downloaded, so you're loading a lot of unnecessary information just to display one string.
In a real example, the 'cannot be displayed' message (which you will see if you don't have a Java-capable/enabled browser, or if you're running Navigator 2.0) should usually be replaced by a default string.
This page written with Java Script selects a random image from a set of images. If you want, you can specify a URL to go with it. If you use it, I would appreciate (but not require) a link back to my home page. Thanks!
Add 2CoolBaby Quotes to your site and have a child/parent related inspirational or humorous quote with a magical background, that automatically changes every time a visitor views a page with the quote on it. You place the code once, and forget it! The width is 150 pixels and the height will vary slightly with each quote. Take a look at the 2CoolBaby Quote below to see how it will look on your site.
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
This script loads a different page into an iframe daily, depending on the day of the month (1-31). Use it to serve up daily, changing content, such as a "tip of the day." See also "Daily Iframe Content 1", which has a shorter range of weekly (Mon-Sun). The script now offers optional code to auto resize iframe based on height of content within. New!
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.