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
| <?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"/> |
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 | |
| $directory = ''; | |
| $pages = glob($directory . "*.php"); | |
| foreach($pages as $page){ | |
| $thelist .= '<option value="'.$page.'">'.$page.'</option>'; | |
| } | |
| ?> | |
| <!DOCTYPE html> | |
| <html lang="en" class="no-js"> | |
| <head> |
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 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 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
| /*@cc_on | |
| @if (@_win32) | |
| try {document.execCommand('BackgroundImageCache', false, true);}catch(e){} | |
| @end | |
| @if (@_jscript_version <= 5.6) | |
| (function pngFix (gif, arr) { | |
| var k = arr.length, el, es; | |
| while (k--) { | |
| if (el=document.getElementById(arr[k])) { | |
| es=el.style;es.height=el.height;es.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', src='"+el.src+"',sizingMethod='image')";el.src=gif; |
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
| var slideContainer = $('.carousel'), | |
| slides = slideContainer.find('li'), | |
| slideCount = slides.length, | |
| oldSlide = 0, | |
| currentSlide = 0, | |
| fadeSpeed = 500, | |
| slideSpeed = 4000, | |
| auto = true, | |
| animating = false, | |
| tabs = $('.tabs, .carousel-links').find('li'), |
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
| if(!Modernizr.input.placeholder){ | |
| $('input[type=text]').each(function(i, elem) { | |
| var input = $(elem), | |
| placeholder = input.attr('placeholder'); | |
| if (this.defaultValue === '') { | |
| this.defaultValue = placeholder; | |
| } | |
| input.on('focus', function () { | |
| this.value == this.defaultValue ? this.value = '' : null; | |
| }) |
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
| trimText : function(obj, body, length){ | |
| var splitLocation = body.indexOf(' ', length); | |
| if(splitLocation != -1) { | |
| // truncate tip | |
| var splitLocation = body.indexOf(' ', length), | |
| str1 = body.substring(0, splitLocation), | |
| str2 = body.substring(splitLocation, length - 1); | |
| obj.html(str1 + '<span class="truncate_ellipsis">…</span>' + '<span class="truncate_more">' + str2 + '</span>'); | |
| obj.find('.truncate_more').css("display", "none"); | |
| } |
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 is straight from http://forrst.com/posts/jQuery_inview_selector-V2Q | |
| $.extend($.expr[':'], { | |
| inview: function(el) { | |
| var e = $(el), | |
| w = $(window), | |
| wt = w.scrollTop(), | |
| wb = wt + w.height(), | |
| et = e.offset().top, | |
| eb = et + e.height(); |
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
| DASEFX ={ | |
| common:{ | |
| init: function(){ | |
| //using http://benalman.com/code/projects/jquery-throttle-debounce/docs/files/jquery-ba-throttle-debounce-js.html | |
| $(window).resize( $.throttle( 250, true, function(e){ | |
| log('resized'); | |
| DASEFX.common.MediaQueryCheck(); | |
| })); | |
| }, |
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
| SITE = { | |
| common: { | |
| init: function(){ | |
| SITE.functions.addOptions(); | |
| } | |
| }, | |
| functions : { | |
| ageGate : function(){ | |
| var min_age = 18; | |
| // |
OlderNewer