Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Архив » Цветовыделение на форуме на 2 - 20 групп


Цветовыделение на форуме на 2 - 20 групп

Сообщений 1 страница 4 из 4

1

Все скрипты написанны Psyholog III

Начну с того, что одни из самых задаваемых вопросов, это вопросы, касающиеся цвета ников. Примерно подобного рода:
«Как мне сделать ники цветными?»
«Дайте мне скрипт на цветные ники»
«А можно ли сделать, чтобы имена цветом выделялись?»
И тому подобное.
Ответы на эти вопросы вы найдете в данной теме.
Делать цветные ники достаточно просто: достаточно поставить скрипт цветовыделения групп в HTML-низ, вписать в него ники и цвета.
Но иногда возникает еще проблема: после того как даешь человеку скрипт к примеру на 7 групп, он может сказать что это слишком много или слишком мало.
Поэтому в данной теме я сделаю скрипты от 2 групп до 20, чтобы все могли найти именно то что им нужно.

Скрипт цветовыделения на 2 группы:

Код:
 <script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}
</script>

Скрипт цветовыделения на 3 группы:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}
</script>

Скрипт цветовыделения на 4 группы:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 5 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 6 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}


for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}


for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}



for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}


for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 7 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 8 групп:

Код:
 <script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")


for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 9 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 10 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 11 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")


for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 12 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}</script>

Скрипт цветовыделения на 13 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")


for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}
</script>

Скрипт цветовыделения на 14 групп:

Код:
 <script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr14=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")


for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr14)
{if (arr[x].innerHTML==arr14[l])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}
</script>

Скрипт цветовыделения на 15 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr14=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr15=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr14)
{if (arr[x].innerHTML==arr14[l])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr15)
{if (arr[x].innerHTML==arr15[p])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 16 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr14=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr15=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr16=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr14)
{if (arr[x].innerHTML==arr14[l])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr15)
{if (arr[x].innerHTML==arr15[p])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr16)
{if (arr[x].innerHTML==arr16[s])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 17 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr14=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr15=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr16=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr17=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr14)
{if (arr[x].innerHTML==arr14[l])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr15)
{if (arr[x].innerHTML==arr15[p])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr16)
{if (arr[x].innerHTML==arr16[s])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr17)
{if (arr[x].innerHTML==arr17[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 18 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr14=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr15=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr16=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr17=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr18=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")


for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr14)
{if (arr[x].innerHTML==arr14[l])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr15)
{if (arr[x].innerHTML==arr15[p])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr16)
{if (arr[x].innerHTML==arr16[s])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr17)
{if (arr[x].innerHTML==arr17[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr18)
{if (arr[x].innerHTML==arr18[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 19 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr14=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr15=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr16=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr17=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr18=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr19=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr14)
{if (arr[x].innerHTML==arr14[l])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr15)
{if (arr[x].innerHTML==arr15[p])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr16)
{if (arr[x].innerHTML==arr16[s])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr17)
{if (arr[x].innerHTML==arr17[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr18)
{if (arr[x].innerHTML==arr18[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr19)
{if (arr[x].innerHTML==arr19[s])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

</script>

Скрипт цветовыделения на 20 групп:

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr4=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr5=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr6=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr7=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr8=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr9=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr10=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr11=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr12=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr13=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr14=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr15=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr16=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr17=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr18=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr19=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr20=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")


for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr4)
{if (arr[x].innerHTML==arr4[j])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr5)
{if (arr[x].innerHTML==arr5[p])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr6)
{if (arr[x].innerHTML==arr6[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr7)
{if (arr[x].innerHTML==arr7[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr8)
{if (arr[x].innerHTML==arr8[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr9)
{if (arr[x].innerHTML==arr9[s])
{
arr[x].innerHTML="<font color='red'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr10)
{if (arr[x].innerHTML==arr10[p])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='coral'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr12)
{if (arr[x].innerHTML==arr12[y])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr13)
{if (arr[x].innerHTML==arr13[s])
{
arr[x].innerHTML="<font color='maroon'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr14)
{if (arr[x].innerHTML==arr14[l])
{
arr[x].innerHTML="<font color='purple'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr15)
{if (arr[x].innerHTML==arr15[p])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr16)
{if (arr[x].innerHTML==arr16[s])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (y in arr17)
{if (arr[x].innerHTML==arr17[y])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr18)
{if (arr[x].innerHTML==arr18[j])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (s in arr19)
{if (arr[x].innerHTML==arr19[s])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (p in arr20)
{if (arr[x].innerHTML==arr20[p])
{
arr[x].innerHTML="<font color='black'>"+arr[x].innerHTML+"</font>"}}}


</script>

+3

2

:blush: простите, но я чета не понимаю... А как можно выделить цветом не ники, а группы?
А то ведь так умрешь каждый раз пользователя цветом выделять...

0

3

ВредиNKа написал(а):

А как можно выделить цветом не ники, а группы?

:yep:

0

4

пфф.. проверила.. хотите сказать, что если указать цвет кодом, работать он не будет...? да. дурь.

0


Вы здесь » Единый форум поддержки » Архив » Цветовыделение на форуме на 2 - 20 групп