- jQuery
function DeLight(dly,clr,eq)
{
setTimeout(function(){
$('li:eq('+eq+')').find('div').css('background',clr);
},dly);
}
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> | |
| <title>test.loc</title> | |
| </head> | |
| <body> | |
| <p>Список категорий</p> | |
| <ul> | |
| <!-- ВЫВОД ВСЕХ КАТЕГОРИЙ --> |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^([a-zA-Z]*).html$ /?cat=$1 [L] | |
| RewriteRule ^([a-zA-Z]*)/([a-zA-Z]*)\.html$ /?cat=$1&page=$2 [QSA,L] |
function DeLight(dly,clr,eq)
{
setTimeout(function(){
$('li:eq('+eq+')').find('div').css('background',clr);
},dly);
}