daily tip




JavaScript Source Code 3000: Messages: Daily Tip








































Daily Tip







Displays a Tip of the Day on your page. Some examples include tips on your site, quotes, computer tips, etc. Just update the tips on a monthly basis.




Daily Tip:


writeTip();


(This is just a demo, so we don't have real tips set up.)




JavaScript Source Code 3000: Messages: Daily Tip
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!!!





    





<!-- TWO STEPS TO INSTALL DAILY TIP:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Mike W. (mikew@dvol.com) -->
<!-- Web Site: http://www.dvol.com/~users/mikew -->

<! >
<! >

<!-- Begin
var msg = new Array();
Stamp = new Date();
today = Stamp.getDate();
msg[1] = "Tip 1";
msg[2] = "Tip 2";
msg[3] = "Tip 3";
msg[4] = "Tip 4";
msg[5] = "Tip 5";
msg[6] = "Tip 6";
msg[7] = "Tip 7";
msg[8] = "Tip 8";
msg[9] = "Tip 9";
msg[10] = "Tip 10";
msg[11] = "Tip 11";
msg[12] = "Tip 12";
msg[13] = "Tip 13";
msg[14] = "Tip 14";
msg[15] = "Tip 15";
msg[16] = "Tip 16";
msg[17] = "Tip 17";
msg[18] = "Tip 18";
msg[19] = "Tip 19";
msg[20] = "Tip 20";
msg[21] = "Tip 21";
msg[22] = "Tip 22";
msg[23] = "Tip 23";
msg[24] = "Tip 24";
msg[25] = "Tip 25";
msg[26] = "Tip 26";
msg[27] = "Tip 27";
msg[28] = "Tip 28";
msg[29] = "Tip 29";
msg[30] = "Tip 30";
msg[31] = "Tip 31";

function writeTip() {
document.write(msg[today]);
}
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

Daily Tip:

<script>
writeTip();
</script>




<!-- Script Size: 1.46 KB -->











Wyszukiwarka

Podobne podstrony:
tip tongue and dado joint
Moja Cyganko Cyganie Tip Top
TIP Wyklad
daily technical report 2012 10 01
Classroom daily calendar
Tabu tibu Cyganie Tip Top
Zagraj mi, piękny cyganie Cyganie Tip Top
TIP wyklad1
Dźwięki strun Cyganie Tip Top
Wspominam Cyganie Tip Top
Czarny Orfeusz 2 Cyganie Tip Top
Cyganka Cyganie Tip Top
Daily Star straszy przed przyjazdem do Polski
daily cool website
Wróżka czarodziejka Cyganie Tip Top
A mnie jest szkoda lata Cyganie Tip Top
Cygańska dola Cyganie Tip Top

więcej podobnych podstron