Prikazi cijelu temu 18.02.2011 11:44
zxz Van mreze
Administrator
Registrovan od:03.02.2009
Lokacija:Tuzla


Predmet:Pulsirajuci link
PreuzmiIzvorni kôd (Text):
  1. <HTML>
  2. <HEAD>
  3. <META NAME="generator" CONTENT="toniarts easyhtml v.2.4">
  4. <TITLE>Title of your page</TITLE>
  5. </HEAD>
  6. <BODY>
  7. <span id="theText" style="width:100%">
  8. <h3 align="center"><font color="#000000"><font size="+5"><A HREF="http://www.icentar.ba/index.php">iCentar</A></font>
  9. </font>
  10. <script>
  11. var from = 5;
  12. var to = 11;
  13. var delay = 55;
  14. var glowColor = "red";
  15. var glowColor2 = "orange";
  16. var glowColor3 = "yellow";
  17. var glowColor4 = "lime";
  18. var glowColor5 = "blue";
  19. var glowColor6 = "magenta";
  20.  
  21. var i = to;
  22. var j = 0;
  23. textPulseDown();
  24. function textPulseUp()
  25. {
  26. if (!document.all)
  27. return
  28. if (i < to)
  29. {
  30. theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
  31. i++;
  32. theTimeout = setTimeout('textPulseUp()',delay);
  33. return 0;
  34. }
  35. if (i = to)
  36. {
  37. theTimeout = setTimeout('textPulseDown()',delay);
  38. return 0;
  39. }
  40. }
  41. function textPulseDown()
  42. {
  43. if (!document.all)
  44. return
  45. if (i > from)
  46. {
  47. theText.style.filter = "Glow(Color=" + glowColor2 + ", Strength=" + i + ")";
  48. i--;
  49. theTimeout = setTimeout('textPulseDown()',delay);
  50. return 0;
  51. }
  52. if (i = from)
  53. {
  54. theTimeout = setTimeout('textPulseUp2()',delay);
  55. return 0;
  56. }
  57. }
  58.  
  59. function textPulseUp2()
  60. {
  61. if (!document.all)
  62. return
  63. if (i < to)
  64. {
  65. theText.style.filter = "Glow(Color=" + glowColor3 + ", Strength=" + i + ")";
  66. i++;
  67. theTimeout = setTimeout('textPulseUp2()',delay);
  68. return 0;
  69. }
  70. if (i = to)
  71. {
  72. theTimeout = setTimeout('textPulseDown2()',delay);
  73. return 0;
  74. }
  75. }
  76. function textPulseDown2()
  77. {
  78. if (!document.all)
  79. return
  80. if (i > from)
  81. {
  82. theText.style.filter = "Glow(Color=" + glowColor4 + ", Strength=" + i + ")";
  83. i--;
  84. theTimeout = setTimeout('textPulseDown2()',delay);
  85. return 0;
  86. }
  87. if (i = from)
  88. {
  89. theTimeout = setTimeout('textPulseUp3()',delay);
  90. return 0;
  91. }
  92. }
  93. function textPulseUp3()
  94. {
  95. if (!document.all)
  96. return
  97. if (i < to)
  98. {
  99. theText.style.filter = "Glow(Color=" + glowColor5 + ", Strength=" + i + ")";
  100. i++;
  101. theTimeout = setTimeout('textPulseUp3()',delay);
  102. return 0;
  103. }
  104. if (i = to)
  105. {
  106. theTimeout = setTimeout('textPulseDown3()',delay);
  107. return 0;
  108. }
  109. }
  110. function textPulseDown3()
  111. {
  112. if (!document.all)
  113. return
  114. if (i > from)
  115. {
  116. theText.style.filter = "Glow(Color=" + glowColor6 + ", Strength=" + i + ")";
  117. i--;
  118. theTimeout = setTimeout('textPulseDown3()',delay);
  119. return 0;
  120. }
  121. if (i = from)
  122. {
  123. theTimeout = setTimeout('textPulseUp()',delay);
  124. return 0;
  125. }
  126. }
  127. </script></font></h3></span>
  128. </BODY>
  129. </HTML>

Podrška samo putem foruma, jer samo tako i ostali imaju koristi od toga.
Ovaj post je ureden 1 puta. Posljednja izmjena 18.02.2011 11:45 od strane zxz.