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
/* | |
* dynamically-generated parallax | |
* A work in progress. Parse the page for various data attributes (used as options) which are | |
* used to vary the scrolling on these blocks accordingly | |
*/ | |
var NA = (function(options){ | |
var settings = { }; |
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
/* | |
* Background Resizer | |
* Uses css3 to resize bg images to fit a container, with a js fallback for IE | |
*/ | |
/* ( there could be multiple slides in #bg ) */ | |
#bg article { | |
position:absolute; | |
width:100%; |
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
/* | |
* ANNOYtify | |
* a notifier that pops up on the bottom of the page when user scrolls sufficiently. | |
* docks / minimizes in place when not shown | |
*/ | |
// ------------- | |
// sample js | |
// ------------- | |
(function( $ ){ |
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
/* | |
* text swappy | |
* experiment in transitioning individual letters in different headers | |
* requires: textshadow.js, color.js (minified at the bottom) | |
* | |
* really just a work in progress I needed to temporarily share | |
*/ | |
(function($){ |
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
/* | |
* scroll navigation | |
* parses html for data-nav and construct smoothly-scrolling menu | |
*/ | |
/* old stuff.... | |
// scroll navigation | |
$.fn.jumpy = function (argument) { |
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
/* | |
* tabbify | |
* makes the tabs and does tab-related things | |
*/ | |
// ------------- | |
// sample css | |
// ------------- | |
ul.tabs { height:28px; margin:0; } |
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
/* | |
* carousel | |
* simple carousel for my own use, inspired by ghanesh's implementation | |
*/ | |
// ------------- | |
// sample css | |
// ------------- | |
.carousel { position:relative; width:248px; padding:12px 32px; overflow:hidden; } | |
.carousel ul { width:2000px; } |
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
a { -webkit-transition: all 0.12s ease-out; } | |
a:hover { text-shadow: #E58 1px 1px, #E58 2px 2px, #E58 3px 3px, #E58 4px 4px, #E58 5px 5px, #E58 6px 6px, #E58 7px 7px, #E58 8px 8px, #E58 9px 9px, #E58 10px 10px, #E58 11px 11px; } | |
a.big:hover { -webkit-transform: scale(1.25); } |
NewerOlder