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
//bootstrapfallback.js | |
//<!-- BOOTSTRAP JS WITH LOCAL FALLBACK--> | |
//<script type="text/javascript" src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/js/bootstrap.min.js"></script> | |
//<script> if(typeof($.fn.modal) === 'undefined') {document.write('<script src="//www.mysite.com/js/v/bootstrap-2.1.1.js"><\/script>')}</script> | |
//<!-- BOOTSTRAP CDN FALLBACK CSS--> | |
//<script>$(document).ready(function() { | |
var bodyColor = $('body').css("color"); if(bodyColor != 'rgb(51, 51, 51)') {$("head").prepend("<link rel='stylesheet' href='//www.mysite.com/css/fw/bootstrap-combined-2.1.1.css' type='text/css' media='screen'>");} |
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
//jquerycdnfallback.js | |
if (typeof jQuery == 'undefined') { | |
document.write(unescape("%3Cscript src='_assets/js/jquery-latest.min.js' type='text/javascript'%3E%3C/script%3E")); | |
} |
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
//img-oreintation.js | |
$(document).ready(function () { | |
$('.two-column-content img').each(function () { | |
$(this).addClass(this.width > this.height ? 'landscape' : 'portrait'); | |
}); | |
}); |
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
//textcompare.js | |
$('ul.main-nav li').each(function () { | |
var title = $('title').text(); | |
var mainlink = $(this).text(); | |
if (title == mainlink) { | |
$(this).addClass('active'); | |
} | |
}); |
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
<header class="seats-header"> | |
<h1>Reserve a Seat</h1> | |
</header> | |
<section id="seats"> | |
<div class="seating-chart"> | |
<h3>- First Class -</h3> | |
<ol class="first-class"> | |
<li class="row"> |
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 fetchingFlights = null; | |
function showFlights(e){ | |
$('tabs div').hide(); | |
$(activeDiv).show(); | |
var flight = $(this).data('flight'); | |
var flightClass = $(this).data('class'); | |
if(fetchingFlights.abort){ | |
fetchingFlights.abort(); |
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
<section id="confirm"> | |
<div class="flight-review"> | |
<table> | |
<tr> | |
<th>Base Price:</th> | |
<td id="price"></td> | |
</tr> | |
<tr> | |
<th>Gov Taxes:</th> | |
<td id="fees"></td> |
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
$('#login form').submit(login); | |
function login(e){ | |
e.preventDefault(); | |
$('#login h4').slideUp(); | |
//var email = $('#login #email').val(); | |
//var password = $('#login #password').val(); | |
var form = $(this).serialize(); |
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
/*source-order.css*/ | |
.middle-content > .main-content { | |
display:box; | |
display:-moz-box; | |
display:-webkit-box; | |
box-orient:vertical; | |
-moz-box-orient:vertical; | |
-webkit-box-orient:vertical; | |
} | |
.middle-content > .main-content > .span4{ |
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 enables the urls to be cleaned | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] | |
</IfModule> |
OlderNewer