[mod]Администрация разыскивает автора скрипта
Знаешь, кто автор? пиши в тему: Корректировка каталога: дополнение/устранение ошибок[/mod]
<script type="text/javascript">
var td = document.getElementsByClassName("tcl")
for(i=0;i<td.length;i++){
td[i].setAttribute("onmouseover", "this.style.backgroundColor='#EE0000'")
td[i].setAttribute("onmouseout", "this.style.backgroundColor=''")
}
var td = document.getElementsByClassName("tc2")
for(i=0;i<td.length;i++){
td[i].setAttribute("onmouseover", "this.style.backgroundColor='#EE0000'")
td[i].setAttribute("onmouseout", "this.style.backgroundColor=''")
}
var td = document.getElementsByClassName("tc3")
for(i=0;i<td.length;i++){
td[i].setAttribute("onmouseover", "this.style.backgroundColor='#EE0000'")
td[i].setAttribute("onmouseout", "this.style.backgroundColor=''")
}
var td = document.getElementsByClassName("tcr")
for(i=0;i<td.length;i++){
td[i].setAttribute("onmouseover", "this.style.backgroundColor='#EE0000'")
td[i].setAttribute("onmouseout", "this.style.backgroundColor=''")
}
</script>
Теги: скрипт, разделы и категории, разделы