/*
Dynamic Fader Script
Created and submitted by Nicholas Poh (********)
Permission granted to Dynamicdrive.com to feature script in archive
For full source code and installation instructions to this script, visit ********
*/
var hexbase= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F");
var value=0;
var Dec2Hex=new Array();
for (x=0; x<16; x++){
for (y=0; y<16; y++){
Dec2Hex[value]= hexbase[x] + hexbase[y];
value++;
}
}
function RGB2STR(rgbcolor)
{
return Dec2Hex[rgbcolor>>16] + Dec2Hex[(rgbcolor>>8)&0xFF] + Dec2Hex[rgbcolor&0xFF];
}
/////Congifure following variables to customize fader//
var scrollerwidth=600
var scrollerheight=1
var TS_colorFG = 0x0000FF; // Text color
var TS_colorBG = 0xFFFFFF; // Background color
var TS_ymax = 30; // Total animation frame
var TS_ystep = 1; // 1 or -1 only
var TS_speed = 170;
var TS_message = new Array();
// Put messages here
TS_message[0] = 'Dersizle.Com İlkleri Başarmaya Devam Ediyor.';
TS_message[1] = 'Buraya Ne Yazacağımı Bilemedim..';
TS_message[2] = 'Edit By YuXeXeSsS ( EMEĞE SAYGI)';
/////End configuration//////////////////
var TS_ypos = 0;
var TS_yposOrg = 0;
var TS_color = TS_colorBG;
var TS_curMsg = 0;
// Calculate the difference between background and foreground color
var dfRed = -((TS_colorBG>>16) - (TS_colorFG>>16)) / (TS_ymax>>1);
var dfGreen = -(((TS_colorBG>>8)&0xFF) - ((TS_colorFG>>8)&0xFF)) / (TS_ymax>>1);
var dfBlue = -((TS_colorBG&0xFF) - (TS_colorFG&0xFF)) / (TS_ymax>>1);
var TS_opColor = (dfRed<<16) + (dfGreen<<8) + (dfBlue);
var timer;
function deneme(){
window.location="dersizle.com";
}
function UnloadMe()
{
clearTimeout(timer);
}
function ScrollText()
{
if (document.all) {
// IE
TextScroll.style.paddingTop = TS_ypos;
TextScroll.style.color = TS_color;
}