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
| /* | |
| Auto-version CSS & JS files, allowing for cache busting when these files are changed. | |
| Place in functions.php or wherever you are enqueueing your scripts & styles | |
| Avoids using query strings which prevent proxy caching | |
| Adjust paths based on your theme setup. These paths work with Bones theme | |
| */ |
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
| /** | |
| * This gist is for Javascript beginners. | |
| * @author: Anthony Du Pont <antho.dpnt@gmail.com> | |
| * @site: https://www.twitter.com/JsGists | |
| * | |
| * In episode #11 of "Gist for Javascript Beginners" I explained what was a Linear Interpolation. | |
| * In this episode I'll show you another case it's really usefull. | |
| * | |
| * It's a trend since a few months to add smooth scroll to websites because the look-and-feel is | |
| * better than the basic scroll of the browser. But how do you do this kind of effect ? Thanks |
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
| /** | |
| * This gist is for Javascript beginners. | |
| * @author: Anthony Du Pont <antho.dpnt@gmail.com> | |
| * @site: https://www.twitter.com/JsGists | |
| * | |
| * Another trendy effect you will find on many websites is Parallax. A parallax is created when to elements | |
| * move at the same time but with different values. This is often used to create depth effects when the | |
| * furthest element move more than the nearest element. | |
| * | |
| * Example: |