Не работает скрипт ХЕЛПМИ! - вопрос №4978483

var startDate = new Date(2022, 11, 23) var phoneIndex = 2; function PhoneRotator() { $(".phone").hide(); $(".phone" + phoneIndex).show(); var phoneCount = 3; phoneIndex++; if(phoneIndex > phoneCount) { phoneIndex = 1; } } $(document).ready(function() { PhoneRotator(); var now = new Date(); var nextUpdate = Date(now.getFullYear(), now.getMonth(), now.getMonth(), now.getDate() + 1, 12) setTimeout(PhoneRotator, nextUpdate — now ); });
Ответов пока нет
Посмотреть всех экспертов из раздела Технологии > JavaScript,Ajax,HTML
Пользуйтесь нашим приложением Доступно на Google Play Загрузите в App Store