This file contains 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
<script src="scripts/jquery.ajaxify.min.js"></script> | |
<script src="scripts/jquery.history.fixed.js"></script> | |
<script type="text/javascript"> | |
$('nav a').ajaxify({ | |
target:'body', | |
loadHash:'attr:href', | |
tagToload: 'body' | |
}); | |
</script> |
This file contains 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
<script> | |
var GOOG_FIXURL_LANG = (navigator.language || "").slice(0,2), GOOG_FIXURL_SITE = location.host; | |
</script> | |
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script> |
This file contains 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(){ | |
var links = document.getElementsByTagName("a"), | |
i; | |
for (i=0;i<links.length;i++){ | |
links[i].addEventListener('click',function(e){ | |
e.preventDefault(); // this is better if you want to disable links | |
// return false | |
},false); | |
} | |
})(); |
This file contains 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
.t-section:after { | |
content:"."; | |
display:block; | |
height:0; | |
clear:both; | |
visibility:hidden; | |
} | |
.t-unit .t-section:after { | |
clear:none; | |
} |
This file contains 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> | |
<head> | |
<meta charset="UTF-8"> | |
<style type="text/css"> | |
#off-screen-preload { | |
position: absolute; | |
top: -5000px; | |
left: -5000px; | |
height: 1px; |
This file contains 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
.ir (@img, @width, @height) { | |
display: block; | |
text-indent: -9999px; | |
background-image: url("../images/@{img}"); | |
width: @width; | |
height: @height; | |
} | |
/* Usage */ | |
.logo { |
This file contains 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
.button { | |
display: inline-block; | |
padding: 4px 12px; | |
text-align: center; | |
color: #999; | |
border: 1px solid #bfbfbf; | |
.text-shadow; | |
.border-radius (4px); | |
.gradient (#f9f9f9, #dcdcdc); | |
.multi-box-shadow (0 1px 2px #fff inset, 0 1px 0 rgba(0,0,0,.1)); |
This file contains 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
<script> | |
function bust () { | |
document.write = ""; | |
window.top.location = window.self.location; | |
setTimeout(function() { | |
document.body.innerHTML = ''; | |
}, 0); | |
window.self.onload = function(evt) { | |
document.body.innerHTML = ''; | |
}; |
This file contains 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 { | |
overflow: hidden; | |
height: 100%; | |
} | |
body { | |
overflow-y: scroll; | |
height: 100%; | |
} |
This file contains 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
if (typeof (AC) === "undefined") { | |
AC = {} | |
} | |
AC.ImageReplacer = Class.create({ | |
_defaultOptions: { | |
listenToSwapView: true, | |
filenameRegex: /(.*)(\.[a-z]{3}($|#.*|\?.*))/i, | |
filenameInsert: "_☃x", | |
ignoreCheck: /(^http:\/\/movies\.apple\.com\/|\/105\/|\/global\/elements\/quicktime\/|_(([2-9]|[1-9][0-9]+)x|nohires)(\.[a-z]{3})($|#.*|\?.*))/i, | |
attribute: "data-hires", |