Created
December 6, 2016 13:14
-
-
Save alex-boom/b4d4145b3ddbad60f5e4d293367be917 to your computer and use it in GitHub Desktop.
запуск функции при изменении ширины экрана
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//При каждом изменении ширины экрана запускается функция | |
function resizeAction() { | |
//add code | |
}; | |
resizeAction(); | |
$(window).resize(resizeAction); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment