Tip of the day dialog
Description: Our good friend Lefteris has created yet another out-of-this-world DHTML application for us- Tip of the day dialog. With the help of the window.showModalDialog() method of IE 4+, and some advanced DHTML scripting, an insanely cool Tip of the day script with a GUI that resembles that seen in many windows applications is born. Use it to provide daily tidbits of interesting information to your surfers, in an even more interesting way! Developers, be sure to examine the source code to learn how the awesome interface for the dialog was created. Such as GUI can be applied to many DHTML applications...
Simply download and unzip tod.zip into your webpage directory. The following files are included:
Installation is extremely easy (and definitely reads longer than it really takes).To insert the "Tip of the day" script to your page, you have to:
1) Copy and paste everything within the <Script> tags (including the Script tags) from the file index.html to your webpage
2) Place this: onLoad="totdinit()" into your webpage's BODY tag itself.*
3) Open totdmsg.js (using any text editor), and edit the variables inside, which contain the actual tips.
4) You're essentially done. Simply upload all the files, and get ready to impressive your visitors with one cool tip-of-the-day dialog!
BTW, all installation instructions (plus tips on using the dialog) are repeated as actual tips inside the demo dialog, so be sure to read them!