Html низ
Код:
<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='red'>"+arr[x].innerHTML+"</font>"} }} for (x in arr) {for (j in arr2) {if (arr[x].innerHTML==arr2[j]) { arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}} for (x in arr) {for (l in arr3) {if (arr[x].innerHTML==arr3[l]) { arr[x].innerHTML="<font color='orange'>"+arr[x].innerHTML+"</font>"}}} for (x in arr) {for (j in arr4) {if (arr[x].innerHTML==arr4[j]) { arr[x].innerHTML="<font color='green'>"+arr[x].innerHTML+"</font>"}}} for (x in arr) {for (p in arr5) {if (arr[x].innerHTML==arr5[p]) { arr[x].innerHTML="<font color='yellow'>"+arr[x].innerHTML+"</font>"}}} for (x in arr) {for (s in arr6) {if (arr[x].innerHTML==arr6[s]) { arr[x].innerHTML="<font color='pink'>"+arr[x].innerHTML+"</font>"}}} </script>
Через запятую, в кавычках, пишем имена,а то что выделено меняем на свои цвета.