chooseindia.com
flowers flowers flowers flowers flowers flowers flowers
Software Jobs Hindi Movies Starworld Indian Recipes Travel and Tourism
 

Back          JavaScript / DHTML          chooseindia.com

 
 
 

Text Fader 

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

<style TYPE="text/css">
<!--
.TextScrollStyle {
visibility:hidden;
font-family:Verdana;
font-weight:bold;
text-align:center;
padding:0;
margin:0;
width:100%;
overflow:hidden;
}

-->
</style>
<script language="JavaScript1.2">

// Change messages:
var TS_message = new Array();
TS_message[0] = '<div align="left">Welcome</div>';
TS_message[1] = '<div align="left">We have lots of cool stuff!</div>';
TS_message[2] = '<div align="left">Supplied by <A HREF="http://dynamicdrive.com">chooseindia.com</A></div>';

// Change fader color or width:
var TS_scrollwidth=400 //configure fader width
var TS_colorFG = 0x000000; // Text color
var TS_colorBG = 0xFFFFFF; //bgColor


var TS_ymax = 50; //  pixel to move
var TS_ystep = 1; // 1 or -1 only (Scroll direction)
var TS_speed = 2; // The smaller the value the faster
var TS_pause = 100; // Pause time (milisecond) between messages
var TS_fadestep= 20; // Steps to fade in and out

if (document.all)
document.write('<style>#containerarea{width:'+TS_scrollwidth+'}</style>')
</script>

<!--  Paste this code into the BODY of your HTML document -->

<DIV id="containerarea">
<SCRIPT LANGUAGE="JavaScript1.2" SRC="textfader.js"></SCRIPT>
</DIV>

/* Step Three: You have to download the "textfader.js" file and save it in the same directory where your main html file is saved. */ 

 
 
 
 
 
 
Alternative Therapy
Engineering
Software Jobs
Tourism
Starworld
Indian Recipes
 
cool flash sites
Javascript / DHTML
Jokes
Software Jobs | Starworld | Recipe |
Copyright © 1996-2000, ChooseIndia.com All rights reserved.