I am looking for a script that will fade in and out from big to little or vice versa where i can put multiple lines of text in there. Can anyone help me out?

fading effects is just a similar effect repeated in a loop.

try something like this:

var interval = setInterval("fadeFunction()", 500);

var color = 0;

function makeString(c){
   return "#"+c+c+c+c+c+c;
}

function getColor(i){
   return makeString("0123456789ABCDEF".charAt(i));
}

function fadeFunction(){
   if(color < 16){
      document.getElementById("coloredText").style.color = getColor(color++);
   } else {
      clearInterval(interval);
   }
}

obviously you'll also need some div element with the content.

hope this is helpful.

nice effect

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.