Prikazi cijelu temu 24.02.2015 23:22
zxz Van mreze
Administrator
Registrovan od:03.02.2009
Lokacija:Tuzla


Predmet:Blinkanje pozadine teksta
PreuzmiIzvorni kôd (HTML):
  1. <TITLE>Blik pozadine teksta</TITLE>
  2. </HEAD>
  3. <META http-equiv=Content-Type content="text/html; charset=windows-1252">
  4. <META content="Microsoft FrontPage 6.0" name=GENERATOR></HEAD>
  5. <BODY><SPAN id=pochenderText style="WIDTH: 100%">
  6. <H1 align="center"><font color="#FF0000"><A HREF="http://www.icentar.ba">Posjetite iCentar</A></font></H1></SPAN>
  7.  
  8. var from = 2;
  9. var to = 15;
  10. var speed = 5;
  11. var textcolor = "#3D95FF";
  12. var i = to;
  13. var j = 0;
  14.  
  15. pd();
  16.  
  17. function pu()
  18.    {
  19.    if (!document.all)
  20.       return
  21.    if (i < to)
  22.      {
  23.      pochenderText.style.filter = "Glow(Color=" + textcolor + ", Strength=" + i + ")";
  24.      i++;
  25.      theTimeout = setTimeout('pu()',speed);
  26.      return 0;
  27.      }
  28.  
  29.   if (i = to)
  30.      {
  31.      theTimeout = setTimeout('pd()',speed);
  32.      return 0;
  33.      }
  34.   }
  35.  
  36. function pd()
  37.   {
  38.   if (!document.all)
  39.      return
  40.   if (i > from)
  41.       {
  42.       pochenderText.style.filter = "Glow(Color=" + textcolor + ", Strength=" + i + ")";
  43.       i--;
  44.       theTimeout = setTimeout('pd()',speed);
  45.       return 0;
  46.       }
  47.    if (i = from)
  48.       {
  49.       theTimeout = setTimeout('pu()',speed);
  50.       return 0;
  51.       }
  52.    }
  53. // -->
  54. </BODY>
  55. </HTML>

Podrška samo putem foruma, jer samo tako i ostali imaju koristi od toga.