• توجه: در صورتی که از کاربران قدیمی ایران انجمن هستید و امکان ورود به سایت را ندارید، میتوانید با آیدی altin_admin@ در تلگرام تماس حاصل نمایید.

افکت دادن به متن 1 (کد جاوا)

admin

Administrator
عضو کادر مدیریت
افکت دادن به متن 1
کد:
[B]
<SPAN id=pochenderText style="WIDTH: 100%">
<H1 align="center"><font color="#FF0000">جمله مورد نظر شما</font></H1></SPAN>
<SCRIPT>
<!--
// (C) 2002 Christian Heidler [ All rights reserved ].
// e-mail: marandonline1@gmail.com
var from = 4;              // minimalgr??e(pochen)
var to = 12;               // maximalgr??e(pochen)
var speed = 1;             // Geschwindigkeit (je kleiner der Wert, umso schneller pocht es)
var textcolor = "#aabbdd";      // Farbe ausw?hlen (hexadezimalen code  od. Html-Farbname)
var i = to;
var j = 0;
 
pd();
 
function pu()
   {
   if (!document.all)
      return
   if (i < to)
      {
      pochenderText.style.****** = "Glow(Color=" + textcolor + ", Strength=" + i + ")";
      i++;
      theTimeout = setTimeout('pu()',speed);
      return 0;
      }
 
   if (i = to)
      {
      theTimeout = setTimeout('pd()',speed);
      return 0;
      }
   }
 
function pd()
   {
   if (!document.all)
      return
   if (i > from)
      {
      pochenderText.style.****** = "Glow(Color=" + textcolor + ", Strength=" + i + ")";
      i--;
      theTimeout = setTimeout('pd()',speed);
      return 0;
      }
   if (i = from)
      {
      theTimeout = setTimeout('pu()',speed);
      return 0;
      }
   }
// -->
</SCRIPT>
<!----- www.iranjoman.com---->
[/B]
 
بالا