|
|
Welcome to 123 Free Biz "How to" Center |
|
|
|
|
| JavaScript
1.2 (found in version 4.0 browsers) provides this neat effect: the text
changes color every second. Now this is a great way to draw attention without
using the annoying BLINK tag. Try it now!
You can opt to slow down the text color change by replacing setInterval("chcolor()",1000); in the script below with setInterval("chcolor()",3000);. Or make it a lot faster by replacing the code statement with setInterval("chcolor()",100);. You can also change the displayed message by editing the text in the code statement var ctext = "Wow! Look at all the pretty colors! ;-)"; with your desired text. Remember to always wrap your text with double quotation marks. For example, var ctext = "resource-a-day.net is the best!";. ONE STEP TO INSTALL TEXT BLINKER: 1. Copy the coding
into the BODY of your HTML document. This should appear anywhere between
... .
|
|
|
Note: Not all browsers are JavaScript supported. So if you could not view the javascript demo on this page, that means that your browser does not support JAVASCRIPT. It's about time you download a newer browser. You can download them for free at http://www.browsers.com/ |
|
|
To get more of these kinds of stuff, subscribe at resource-a-day.net. CLICK HERE...IT'S FREE! |