Bazar, 24.11.2024, 19:27
Приветствую Вас Гость | RSS
Мой сайт
Главная | Web | Регистрация | Вход
Меню сайта
Разделы дневника
Arxaplan Sekilleri [24]
Cursor Effektleri [11]
Saat kodlari [7]
Saygaclar [0]
Teqvim Kodlari [2]
Yazi Effektleri [7]
Scrollbar kodları [6]
Media player kodları [0]
Sayt baslıqları [5]
Səhifədə effektlər [32]
Menyu kodları [3]
Rəng kodları [0]
Movzu ayırac kodları [0]
Ikon kodlari [0]
Reklam Banneri Duzelt [5]
Мини-чат
200
Наш опрос
Yeni Dizayn Xoşunuza Geldi?
Cemi Cavablar: 374
Главная » 2008 » Oktyabr » 19 » yanib sonen narinci rengli effektli yazi kodu
yanib sonen narinci rengli effektli yazi kodu
16:32
<style type="text/css">
body { background-color:black;  font-weight:bold; a:hover {text-Decoration:none}}
a.links{ font-family:"Verdana", sans-serif; font-size:20px; line-height:30px; color:black; text-decoration:none; font-weight:bold;}
a.links:active { color:black; }
a.links:hover { }
</style>
<script language="javascript" type="text/javascript">
<!--
function enHex(aDigit)
{
    return("0123456789ABCDEF".substring(aDigit, aDigit+1))
}
function deHex(aDigit)
{
    return("0123456789ABCDEF".indexOf(aDigit))
}
function toHex(n)
{
    return (enHex((0xf00000 & n) >> 20) +
            enHex((0x0f0000 & n) >> 16) +
            enHex((0x00f000 & n) >> 12) +
            enHex((0x000f00 & n) >>  8) +
            enHex((0x0000f0 & n) >>  4) +
            enHex((0x00000f & n) >>  0))
}
function toDecimal(hexNum)
{
   var tmp = ""+hexNum.toUpperCase()
    while (tmp.length < 6) tmp = "0"+tmp

   return ((deHex(tmp.substring(0,1)) << 20) +
           (deHex(tmp.substring(1,2)) << 16) +
            (deHex(tmp.substring(2,3)) << 12) +
            (deHex(tmp.substring(3,4)) << 8) +
            (deHex(tmp.substring(4,5)) << 4) +
            (deHex(tmp.substring(5,6))))
}

var hoverColour
var numLinks;
var rate;
var numFadeLevels;
var bgR;
var bgG;
var bgB;
var currR;
var currG;
var currB;
var count;
var fadeOut;
var continuous;
var newColour;
var tID;
var redInterval;
var greenInterval;
var blueInterval;
function initLinks(mouseOverColour, numberOfLinks, fadeOutColour)
{
hoverColour = mouseOverColour;
numLinks = numberOfLinks;
rate = 1;
numFadeLevels = 30;

function initArray(theArray, length, val)
{
  for(i=0;i<length;i++)
  {
   theArray[i] = val;
  }
}

bgR = '0000' + fadeOutColour.substring(1,3)
bgG = '0000' + fadeOutColour.substring(3,5)
bgB = '0000' + fadeOutColour.substring(5,7)
currR = new Array(numLinks);
    currG = new Array(numLinks);
currB = new Array(numLinks);
count = new Array(numLinks);
fadeOut = new Array(numLinks);
continuous = new Array(numLinks);
newColour = new Array(numLinks);
tID = new Array(numLinks);
redInterval = toDecimal(bgR) / numFadeLevels;
greenInterval = toDecimal(bgG) / numFadeLevels;
blueInterval = toDecimal(bgB) / numFadeLevels;

initArray(currR,numLinks,0);
initArray(currG,numLinks,0);
initArray(currB,numLinks,0);
initArray(count,numLinks,0);
initArray(fadeOut,numLinks,true);
initArray(continuous,numLinks,true);
}
function startFade(id)
{
if(fadeOut[id] == true)
{ /*move colour towards background colour (increment)*/
  currR[id] += redInterval;
  currG[id] += greenInterval;
  currB[id] += blueInterval;
  newColour[id] = '#' + (toHex(currR[id])).substring(4,6) + (toHex(currG[id])).substring(4,6) + (toHex(currB[id])).substring(4,6);
  if(++count[id] == numFadeLevels)
  {
   fadeOut[id] = false;
  }
}
else
{
  currR[id] -= redInterval;
  currG[id] -= greenInterval;
  currB[id] -= blueInterval;
  newColour[id] = '#' + (toHex(currR[id])).substring(4,6) + (toHex(currG[id])).substring(4,6) + (toHex(currB[id])).substring(4,6);
  if(--count[id] == 0)
  {
   fadeOut[id] = true;
  }
}
if(continuous[id] == true)
{
  document.getElementById(id).style.color = newColour[id];  
}
else
{
  document.getElementById(id).style.color = hoverColour;
}
clearTimeout(tID[id]);
tID[id]=setTimeout('startFade(' + id + ')', rate);
}
function continueFade(id)
{
continuous[id] = true;
}

function stopFade(id)
{
continuous[id] = false;
}

function StartTimers()
{ //set up an initial set of timers to start the shimmering effect
for(id=0; id<numLinks; id++)
{
  t=setTimeout('startFade(' + id + ')', id*100);
}
}
//format = initLinks('mouse-over colour', 'number of links', 'fade-out colour')
//&#3611;&#3619;&#3633;&#3610;&#3626;&#3637; &#3648;&#3617;&#3639;&#3656;&#3629;&#3609;&#3635; cursor &#3652;&#3611;&#3623;&#3634;&#3591; &#3649;&#3621;&#3632;&#3626;&#3637; &#3648;&#3617;&#3639;&#3656;&#3629; cursor&#3648;&#3621;&#3639;&#3656;&#3629;&#3609;&#3629;&#3629;&#3585;&#3652;&#3611;
initLinks('#FFFFFF', 6, '#FFCC77');
//-->
</script>

<!-- &#3649;&#3585;&#3657;&#3652;&#3586;&#3586;&#3657;&#3629;&#3588;&#3623;&#3634;&#3617;&#3649;&#3621;&#3632; Link-->
<center>
<a class="links" id="0" onmouseover="stopFade('0'); " onmouseout="continueFade('0'); ">YAZINI BURA YAZ</a>

</center>
<br>
<script language="javascript" type="text/javascript">
<!--
setTimeout('StartTimers()', 1000); //initial 1 second delay to allow page to load and ensure smooth shimmering
//-->
</script>
Категория: Səhifədə effektlər | Просмотров: 1133 | Добавил: Casper | Рейтинг: 0.0/0 |
Всего комментариев: 0
Имя *:
Email *:
Код *:
Форма входа
Календарь
«  Oktyabr 2008  »
Ç.aÇCü.aCü.ŞmB.aВс
  12345
6789101112
13141516171819
20212223242526
2728293031
Поиск
Друзья сайта
Статистика

Hal-hazırda saytda: 1
Qonaq: 1
İstifadeçiler: 0

Copyright MyCorp © 2024