Tip of the day dialog Script, Scrips, Java, DHTML, Express
Contact
 


Quick search

 



Scripts - DHTML

Scripts - DHTML (new)

Web Developer Blog

Web Developer Blog (new)

Scripts and Applications

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
XML

Software Downloads

Linux

Windows

Mac

Mobile

Drivers

DHTML Scripts - Detail

 

Tip of the day dialog

Date added: 2007-06-16 17:31:16
IE5+

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...

Demo:


Directions:

Simply download and unzip Tip-of-the-day-dialog/tod.zip into your webpage directory. The following files are included:

-Tip-of-the-day-dialog/index.html
-Tip-of-the-day-dialog/totd.gif
-Tip-of-the-day-dialog/totd.html
-totd.js (renamed to .txt file so it's viewable online)
-totdmsg.js (renamed to .txt file so it's viewable online)

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 Tip-of-the-day-dialog/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!

*If you have already another onLoad statement in your BODY tag (from another JavaScript) do not put a second statement there because simply it won't work ! Here is what you have to do in that case: Let's say you have a JavaScript that requires you to place in the BODY tag the statement onLoad="init()" and you like to use the "Tip of the day" script too (which requires you to add the onLoad="totdinit()" statement). You do not place 2 onLoad statements! Instead you use this: onLoad="init();totdinit()" , which means you place both function calls in the same event handler (onLoad) separated by a semicolon. Same can be used for even more than 2 Scripts, like onLoad="init();totdinit();start();go()" etc...

 

Leave a comment




(optional)

What is 7-3?




0 comments


 

Related DHTML Scripts

Copy text to clipboard script
Date Added: 2007-06-16
-User Submitted This "demo" script does two things: 1) identifies the selected text on the page 2) copies this text to clipboard. As part of a larger application...
onMouseover scrollbar effect
Date Added: 2007-06-16
-User Submitted Use this unique script to apply a rollover effect to your webpage's scrollbar!...
Ajax load XML file script
Date Added: 2007-06-16
-User Submitted This script demonstrates the concept of using Ajax to load a simple XML file and display it on the page....
Gradient Bar
Date Added: 2007-06-16
-User Submitted An impressive demonstration of using DHTML code to render a gradient bar. Easily change the bar's color, position and direction, all through the setting of a few variabl...
Phong
Date Added: 2007-06-16
-User submitted Phong is an incredible ping-pong game with an even more impressive AI (artificial intelligence). Play against the computer, and see if you can win (take it for us, it's pos...
Phong II
Date Added: 2007-06-16
-User submitted Similar to the above, this is a fun, one player DHTML Phong (Ping Pong) game. Uses cos and sin to move the ball at a specified angle, and the ball's angle can be altered by moving ...
Reflex Tester
Date Added: 2007-10-24
-User submitted Test and sharpen your reflexes with this DHTML reflex tester. Calculates how fast you can react to a "HTML block" that changes color....
Tower of Hanoi
Date Added: 2007-10-24
-User submitted The Tower of Hanoi is a classic puzzle game where you try to move disks from the left-most pole to the right using the least amount of moves. This DHTML script features full dr...
Snow Effect without images
Date Added: 1999-11-30
-User submitted This script uses a series of DIV tags to create falling snow that trickles down an entire webpage, without using images....
3D starfield
Date Added: 1999-11-30
-User submitted Take your webpage into the stars with this 3D starfield script! The stars travel towards you in an incessant manner....
Set site as homepage script
Date Added: 1999-11-30
-User Submitted This is the highly requested IE 5 script that allows your surfers to set your site as their default homepage simply with a click of the mouse! Increase your site's popul...
Add Active Channel
Date Added: 1999-11-30
-User Submitted Allow your surfers to add your site to their channel bar in IE   easily with this script!...

Last 20 Scripts

 
1. JamUba AJAX Stock Script
JamUba AJAX Stock Script allows the user to embed a flexible
2. YouTube Video Script
YouTube Video Script runs on YouTube API and fetches million
3. Smooth Navigational Menu
Smooth Navigational Menu is a multi level, CSS list based me
4. JamUba ftpsync Script
JamUba ftpsync Script is a Perl utility to synchronize the h
5. Easy 2Checkout Integrator
Easy 2Checkout Integrator script provides a simple and easy
6. Wussa
Wussa is a script suitable for webmasters planning to create
7. WPJobAds
WPJobAds is a WordPress job board plugin that lets you sell
8. Wallpaper Website Creator
Wallpaper Website Creator is a PHP based script that helps y
9. Flex2 Advanced ColorPicker
Flex2 Advanced ColorPicker is a color picker component for F
10. Tree CheckBox
Tree CheckBox is a Flex3 component resulted from the customi
11. ResizeTool
ResizeTool is a simple and easy to use resize tool to be imp
12. Flickr Cube Viewer
Flickr Cube Viewer is a small utility based on Flex that all
13. Font Reader
Font Reader is an Actionscript 3 based true type font parser
14. iPod like Scroller
iPod like Scroller is a simple component which can simulate
15. AMFPHP
AMFPHP is a free open-source PHP implementation of the Actio
16. FlashFlickr PhotoGallery
FlashFlickr PhotoGallery is an image gallery made in Flex2/A
17. jQuery.popeye
jQuery.popeye script is an inline lightbox alternative.
18. prettyComments
prettyComments script provides a solution for comment boxes
19. prettyPopin
prettyPopin provides a nice way to display simple content or
20. MYRE Realty Manager
MYRE Realty Manager is a complete realty listing management

DownloadTube Editor Reviews

 
1. Server2Go
Server2Go is a Webserver that runs out of the box without an...
2. PPT to EXE Converter
PPT to EXE Converter is an easy-to-use, friendly and reliabl...
3. Shine DVD To FLV Converter
Shine DVD to FLV Converter is a powerful and easy-to-use con...
4. Speed Shop & Inventory Log
Speed Shop & Inventory Log is an easy inventory and shopping...
5. Excel Delete Rows or Columns Based On Cell Content Software
Excel Delete Rows or Columns Based On Cell Content Software ...
6. WordTempl
WordTempl is a user-friendly software designed to accelerate...
7. Jocsoft MP4 Video Converter
Jocsoft MP4 Video Converter is a powerful and yet easy to us...
8. Easy Time Logs Express
Easy Time Logs is a time tracking, timesheet, and project ma...
9. Flash Menu Maker
You may use this 3D Flash Menu Builder with special text eff...
10. 1-abc.net Hard Drive Washer
Windows and nearly all other software that is installed on i...

Software Reviews Full List



Top Downloads

 
1. Canon PIXMA iP1000 Printer Driver
2. Canon PIXMA iP1200 Printer Driver
3. Canon PIXMA iP1300 Printer Driver a
4. Realtek ALC/ 262/ 265/ 268/ 660/ 861/ 880/ 882/ 883/ 885/ 888 Audio
5. Canon PIXMA MP210 MP Drivers
6. Canon i-SENSYS LBP2900 Printer Driver R
7. JavaScript Page Preloader
8. Canon PIXMA iP1300 Printer Driver c
9. Canon PIXMA MP140 MP Drivers
10. Canon PIXMA MP160 MP Drivers xp64
11. Asus EZVcr II
12. Canon PIXMA MP220 MP Drivers
13. Realtek RTL8139C(L)+/RTL8139D(L)/RTL8100(L)/RTL8130/RTL8139B(L) Driver
14. Canon PIXMA MP130 MP Drivers 2kxp
15. Canon PIXMA iP5000 Printer Driver b
16. Canon PIXMA MP170 MP Navigator
17. Canon PIXMA iP1600 Printer Driver
18. Lite-On Cd-Rw LTR-48327S firmware
19. Canon PIXMA MP160 MP Drivers 9xME
20. LG GCE 8526B firmware