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
| window.addEventListener('scroll', scrollDir); | |
| var lastScroll = 0 , scrolls = []; | |
| function scrollDir(e) { | |
| // clearTimeout(throtler); | |
| // var throtler = setTimeout(calculations,500,e); | |
| // throttle(calculations,500)(); | |
| throttler(); | |
| } | |
| function calculations(e) { |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Document</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <script> |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <link rel="stylesheet" href="css/flickity.css"> | |
| <link rel="stylesheet" href="css/grid.only.bootstrap.min.css"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Document</title> | |
| </head> | |
| <style> |
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
| <!DOCTYPE html> | |
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href="assets/animate.css/animate.min.css"> | |
| <title>Document</title> | |
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
| <!-- <link rel="stylesheet" href="css/grid.only.bootstrap.min.css"> --> | |
| <link rel="stylesheet" href="css/calc-simple.css"> | |
| <script src="http://code.jquery.com/jquery-1.8.3.js"></script> | |
| <link rel="stylesheet" href="libs/jquery-ui-1.11.4/jquery-ui.css"> | |
| <script src="libs/jquery-ui-1.11.4/jquery-ui.js"></script> | |
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
| <!DOCTYPE html> | |
| <html lang="ru"> | |
| <head></head> | |
| <body> | |
| <style> | |
| body{background-color: #372356;} | |
| .mi-status { | |
| position: absolute; | |
| color: #03ac16; | |
| font-size: 16px; |
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
| //------- ЛОГ ХЕЛПЕР ---------- | |
| var consolelog = {}; | |
| function log (zpush,zvar){ | |
| consolelog[zpush] = zvar; | |
| $('.mi-status').clone(); | |
| $('.mi-status').html(""); | |
| for (var i in consolelog) { | |
| $('.mi-status').append(i+": "+consolelog[i]+'<br>');} } |