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.html/tod.zip into your webpage directory. The following files are included:

-Tip-of-the-day-dialog.html/index.html
-Tip-of-the-day-dialog.html/totd.gif
-Tip-of-the-day-dialog.html/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.html/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. Dragonfly CMS
DragonflyCMS is a content management system based on PHP-Nuk
2. Diferior
Diferior is a flexible, customizable, both user and develope
3. DBHcms
DBHcms is a search engine optimized and lightweight content
4. concrete5
concrete5 content management system could be a rapid solutio
5. bloofoxCMS
bloofoxCMS is a lightweight content management system based
6. PHP Membership
PHP Membership script allows you to add password protection
7. Tube Spider
Tube Spider allows your visitors to search videos in Youtube
8. Azure CMS
Azure CMS is a universal software product for the developmen
9. Azure Portal
Azure Portal is a social networking script made with PHP pro
10. One Frog
One Frog is a content management system that allows you to u
11. Cigmas CMS
Cigmas CMS is a powerful web content management system for g
12. WebWord CMS
WebWord CMS is a full featured web content management system
13. Marjetica Content Management System
Marjetica Content Management System is a powerful, easy to u
14. Phenotype CMS
Phenotype CMS is a PHP/MySQL - Smarty Content Application Fr
15. Chupix CMS
Chupix is a content management system written in PHP and sto
16. Interspire Website Publisher
Interspire Website Publisher (formerly ArticleLive) is a con
17. Interspire Email Marketer
Interspire Email Marketer (formerly SendStudio) is a web bas
18. Comments RAM
Comments RAM is a lightweight PHP script that allows you to
19. KoolAjax
KoolAjax facilitates data exchange between server-side and c
20. KoolTreeView
KoolTreeView is a unique treeview control for PHP.

DownloadTube Editor Reviews

 
1. Sudoku Solver Software
Sudoku Solver Software is a simple yet smart and reliable to...
2. Easy PC Firewall
WARNING: According to avast! 4.8, Easy PC Firewall contains ...
3. Anti Tracks Kit
Anti Tracks Kit is a simple yet powerful and reliable softwa...
4. PerfectClock Trader Edition
PerfectClock Trader Edition is a FREEWARE, feature limited v...
5. ProLingo Italian to English Dictionary
ProLingo Italian to English is a really nice, easy to use, a...
6. Tinysoar dvd to ipod converter
Tinysoar dvd to ipod converter will allow you to easily copy...
7. Tinysoar ipod value pack
Tinysoar ipod value pack includes the Tinysoar dvd to ipod c...
8. Tinysoar ipod video converter
Tinysoar ipod video converter is a simple to use tool that c...
9. Financial Icon Library
Vista Financial Icon Library is a stunning collection of mon...
10. Tinysoar iphone video converter
Tinysoar iphone video converter is a smart, simple tool that...

Software Reviews Full List



Top Downloads

 
1. Canon PIXMA iP1000 Printer Driver
2. Canon PIXMA iP1200 Printer Driver x64 d
3. Canon PIXMA iP1200 Printer Driver
4. Realtek ALC/ 262/ 265/ 268/ 660/ 861/ 880/ 882/ 883/ 885/ 888 Audio
5. Canon PIXMA iP1300 Printer Driver a
6. Canon PIXMA MP210 MP Drivers
7. Canon PIXMA MP160 MP Drivers xp64
8. Canon PIXMA iP1600 Printer Driver
9. Canon PIXMA iP1300 Printer Driver c
10. Canon PIXMA MP160 MP Drivers 9xME
11. Asus EZVcr II
12. Canon i-SENSYS LBP2900 Printer Driver R
13. Canon LaserShot LBP-1210 Printer Driver
14. Realtek RTL8139C(L)+/RTL8139D(L)/RTL8100(L)/RTL8130/RTL8139B(L) Driver
15. Canon i560 Printer Driver
16. Realtek RTL8100B(L)/RTL8100C(L)/RTL8101L/RTL8139C(L) Driver XP
17. SendSong
18. Alcatel SpeedTouch 330/USB
19. Mercury KPC-6225V-MH
20. Lite-On Cd-Rw LTR-48327S firmware