Tip of the Day
|
Version: |
0.9 |
Zuletzt modifiziert: |
June 2, 1998 |
You've probably started up a Microsoft Office product and had the annoying little Tip of the Day thing pop up, right? Well, now you can annoy people with it on the web, too!
Actually, it can be quite useful, especially on an Intranet. You can get peoples'
attention to tell them something important once a day (or more or less often) using
an interface they are already used to, most likely.
- Add/Edit/Delete the Tips through the web
- Uses cookies to store when to display the next tip and which tip to display
- Looks just like Office 97, so users won't be confused
- If users are annoyed by the Tips, they can turn them off
- Browsers must support JavaScript
- Browsers must support Cookies
- A web server supporting CGI perl scripts
- Edit tip_config.pl to modify variables for your site
- Make sure tips.txt is writeable
- Insert the Javascript functions in te HEAD of this page into the page where the tips should pop up from
- Add show_tip() in onLoad of the BODY tag of the document
- Load it up and try it out!
- The Tip of the Day should have popped up when you loaded this page. If it didn't, make sure Javascript is enabled.
- Rather than waiting a whole day to get another tip, this example is set to give a new tip in 30 seconds.
- You can see the Tip of the Day Administrator utility as well. You can add entries, but please make them decent. Otherwise I'll have to disable this example.
- You may have to play with this a bit to make it perfect. I wouldn't consider it 100% finished at this point. But I got sick of it :)
- Hopefully Microsoft won't come after me for cutting-and-pasting their images...
http://mkruse.netexpress.net/