vseti1994 Posted November 19, 2019 Report Share Posted November 19, 2019 Работа с библиотекой Библиотека предельна проста в использовании. Следуйте всем шагам. Шаг 1. Скачать библиотеку: https://github.com/creatide/stimed/archive/master.zip Шаг 2. Подключить скрипты: 1 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> 2 <script src="stimed.min.js"></script> Шаг 3. Настройка расписания: view source print? 1 var stimed = new $.stimed(); 2 3 stimed.style.create([ 4 {target:'body', time:'00:00', property:'background-color', value:'#fff'}, 5 {target:'body', time:'18:00', property:'background-color', value:'#000'}, 6 {target:'body', time:'24:00', property:'background-color', value:'#fff'} 7 ]); Источник урока: демо 1 Quote Link to comment Share on other sites More sharing options...
NOHCI Posted November 19, 2019 Report Share Posted November 19, 2019 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.