#Objectified: a very brief overview of Objects in Javascript
written for myself, by myself.
much love,
Nick
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
| /** | |
| * .netboxes | |
| */ | |
| /* universal */ | |
| body { | |
| margin: 0; | |
| background: url('http://subtlepatterns.com/patterns/lightpaperfibers.png') repeat; | |
| } | |
| img { |
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
| /** | |
| * Column Layout test | |
| */ | |
| * { | |
| } | |
| html { |
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
| html { | |
| font-size:@remSize; /* 16px/100% */ | |
| } | |
| /* general proportional styles */ | |
| p { | |
| font-size: 2em; // 32px @ max-width /* (text needs to *pop* ;) ) */ | |
| line-height: 1.5; | |
| margin:0 0 3em 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
| <?php | |
| // change this | |
| echo "\n\t<script>\n"; | |
| echo "\t\tvar _gaq=[['_setAccount','$roots_google_analytics_id'],['_trackPageview'],['_trackPageLoadTime']];\n"; | |
| echo "\t\t(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\n"; | |
| echo "\t\tg.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';\n"; | |
| echo "\t\ts.parentNode.insertBefore(g,s)}(document,'script'));\n"; | |
| echo "\t</script>\n"; | |
| // to this (using this snippet from: http://googlecode.blogspot.com/2009/12/google-analytics-launches-asynchronous.html ) |
NewerOlder