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
SITE = { | |
common: { | |
init: function(){ | |
SITE.functions.addOptions(); | |
} | |
}, | |
functions : { | |
ageGate : function(){ | |
var min_age = 18; | |
// |
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
$.fn.extend({ | |
deferredResize : function(fn, delay){ | |
var timer = null; | |
$(this).resize(function(){ | |
if(timer != null){ | |
clearTimeout(timer); | |
timer = null; | |
} | |
timer = setTimeout(fn, delay); | |
}); |
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
hasFlash = function(){ | |
try { | |
return new ActiveXObject('ShockwaveFlash.ShockwaveFlash') ? true : false; | |
} catch (e) { | |
return navigator.mimeTypes["application/x-shockwave-flash"] != undefined ? true : 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
var JSON = {}; | |
JSON.stringify = JSON.stringify || | |
function (a) { | |
var t = typeof (a); | |
if (t != "object" || a === null) { | |
if (t == "string") a = '"' + a + '"'; | |
return String(a); | |
} else { | |
var n, v, json = [], | |
arr = (a && a.constructor == Array); |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<data> | |
<params> | |
<root>http://local.chauhanstudio.com</root> | |
<workspace>http://local.chauhanstudio.com/workspace</workspace> | |
</params> | |
<events /> | |
<navigation> | |
<page handle="home" id="1"> | |
<name>Home</name> |
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
<span class="default-dropdown"> | |
<select> | |
<option value="a">Chumba</option> | |
<option value="b">Wumba</option> | |
</select> | |
</span> |
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
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme", | |
"draw_minimap_border": false, | |
"fade_fold_buttons": false, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", |
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
<div class="flip" style="width: X.px; height: X.px;"> | |
<a href="#"> | |
<div class="flip-front"> | |
... | |
</div> | |
<div class="flip-back"> | |
... | |
</div> | |
</a> | |
</div> |
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
// This file must be imported before loading html5-boilerplate | |
// Imports ------------------------------------------------------------------- | |
@import "compass/css3"; | |
@import "compass/typography/vertical_rhythm"; | |
// Grid (http://susy.oddbird.net/) ----------------------------------------------------- | |
// | |
@import "susy"; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:exsl="http://exslt.org/common" | |
xmlns:func="http://exslt.org/functions" | |
xmlns:head="http://headjs.com" | |
extension-element-prefixes="exsl func head"> | |
<xsl:import href="../utilities/page-title.xsl"/> | |
<xsl:import href="../utilities/navigation.xsl"/> |