$(document).ready(function () {
setTimeout(() => {
// Handler for .ready() called.
$('html, body').animate({
scrollTop: $('#sd').offset().top - 250
}, 'fast');
}, 1);
});
.my-class {
animation-name: about-placing;
animation-duration: 0.5s;
animation-timing-function: ease-out;
animation-fill-mode: backwards;
animation-delay: 1s;
}
font-size: clamp(10px, 5vw, 16px);
<?php
if ($rcl_chat_noread_messages_amount != 0) {
$img_url = get_bloginfo('url').'/img/01.png';
echo '<img src="'.$img_url.'" width="26" height="26" alt="Текст" title="Текст">';
}
else {
echo '<a href="'.get_author_posts_url($user_ID).'&tab=chat">';
$img_url = get_bloginfo('url') . '/img/01.png';
echo '<div class="blinks"><img src="'.$img_url.'" width="26" height="26"></div></a>';
}
?>
$(xml).find("offer").each(function () { .... });
setTimeout(() => {
$(xml).find("offer").each(function () { .... });
}, 1);
let url = location.href;
if (url.slice(-1) == '/') url = url.slice(0, -1);
$($('#menu').children().get().reverse()).each(function() {
let link = $(this).children('a').first().attr('href');
if (link.slice(-1) == '/') link = link.slice(0, -1);
if (link && url.indexOf(link) === 0) {
$(this).addClass('current');
self.current = true;
}
});