/***********************************************
* Fading Ticker Tape Script- ? Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
//default speed is 4.5 seconds, Change that as desired
var speed=5000
var news=new Array()
news[0] =""By far the best application of its kind I have ever had the pleasure of using"
Karl Van Der Walt 3D Artist "
news[1] =""I was amazed at the results coming from raw textures"
Ryan Bullock Environment Artist Zombie Studios "
news[2] =""Awesome. Just awesome"
Jesse Moody 3D Artist Liquid Development "
news[3] =""From an artists point of view it just blows anything else out of the water"
Ken Beyer Map Builder KatsBits.com "
news[4] =""I found myself making nice normalmaps within thirty seconds of installing it"
Jason Mojica Level Designer Raven Software "
news[5] =""It has been such a great help with my project"
James Laker Burning Studios "
news[6] =""The normal mixing is amazing and is going to save our guys hours of work"
James Haywood Technical Artist Bungie "
news[7] =""It?s really helping us to make some quality game assets!"
Will Fuller Environment Artist EA Chicago "
news[8] =""I work at a small game development company. Your software has been invaluable to us"
Nat Iwata Game Developer "
news[9] =""It is really fast and efficient at making my job fast and efficient"
Barry Cullen 3D Artist Mad Doc Software "
news[10]=""Crazybump is such a life saver. Its abilities are top notch"
Bobby Rice World Builder Pandemic Studios "
news[11] =""I use crazybump because its a perfect tool.... The app is a masterpiece"
Tomislav Spajic Texture Artist GRIN, Sweden "
news[12] =""It makes super kick ass normal maps in seconds"
Melissa Buffaloe Senior Environment Artist Treyarch "
news[13] =""The time it saves me from hand painting normal maps is incredible."
Roberto Moreno Material Artist Crystal Dynamics "
news[14] =""Anyone not using this on a daily basis is a communist."
Andrew Hilderbrand 3D Artist "
shown = new Array(news.length);
for (var x = 0; x < news.length; x++)
{
shown[x] = 0
}
var hex= 0
var ie=document.all
var ns6=document.getElementById
var ns4=document.layers
tickerobject=ie? subtickertape: document.getElementById("subtickertape")
function regenerate()
{
window.location.reload()
}
function regenerate2()
{
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}
function bgcolorfadeIn()
{
if(hex < 255)
{
tickerobject.style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
hex= hex+4
setTimeout("bgcolorfadeIn()",20);
}
else
{
hex=255
tickerobject.style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
}
}
var nextquote = 0
function bgcolorfadeOut()
{
if(hex > 0)
{
tickerobject.style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
hex= hex-4
setTimeout("bgcolorfadeOut()",20);
}
else
{
hex= 0
tickerobject.style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
var lastquote = nextquote;
nextquote = Math.floor(Math.random() * news.length);
var count = 0;
while (shown[nextquote] > 0)
{
count++;
nextquote = Math.floor(Math.random() * news.length);
if (count > 50)
{
for (var x = 0; x < news.length; x++)
{
shown[x] = 0
}
shown[lastquote] = 1;
}
}
tickerobject.innerHTML=news[nextquote]
shown[nextquote] = 1
setTimeout("bgcolorfadeIn()",speed * .2)
setTimeout("updatecontent()",speed)
}
}
function updatecontent()
{
bgcolorfadeOut()
}
x server