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
$result = array( | |
array( | |
"artist" =>"Big Country", | |
"song" => "Big Country", | |
"date" =>"5/28/2014", | |
"isNew" => true | |
), | |
array( | |
"artist" =>"Willie Nelson", | |
"song" => "Always on My Mind", |
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 (document.querySelector('div[id*="ooyalaplayer"]') !== null) { | |
/** Do some vanilla javascript style tag creation **/ | |
var style = document.createElement('style'), | |
styleTag = 'div[id*="ooyalaplayer"] {' + | |
' width: 100%!important;' + | |
' position: relative!important;' + | |
' padding: 56.3% 0 0 0!important; //56.3% = 16:9 ratio' + | |
'}' + | |
'div[id*="ooyalaplayer"] > .video {' + | |
' position: absolute!important;' + |
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 CrossfadeSample = {playing:false}; | |
CrossfadeSample.play = function() { | |
// Create two sources. | |
this.ctl1 = createSource(BUFFERS.drums); | |
this.ctl2 = createSource(BUFFERS.organ); | |
// Mute the second source. | |
this.ctl1.gainNode.gain.value = 0; | |
// Start playback in a loop | |
if (!this.ctl1.source.start) { |
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
// Card Constructor | |
var Card = function(suit, num){ | |
getNumber = function(num){ | |
return num; | |
}, | |
getSuit = function(suit){ | |
return suit; | |
}, | |
getValue = function(num){ | |
var value; |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
<title>Oh, hello, Mexico.</title> | |
<style type="text/css"> | |
/* Client-specific Styles */ | |
#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */ |
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
<!-- http://benalman.com/projects/jquery-urlinternal-plugin/ --> | |
<script src='<?php bloginfo('template_directory'); ?>/js/jquery.ba-urlinternal.min.js'></script> | |
<!-- http://www.asual.com/jquery/address/ --> | |
<script src='<?php bloginfo('template_directory'); ?>/js/jquery.address-1.3.min.js'></script> | |
<script> | |
// Original JavaScript by Chris Coyier | |
// Updated October 2010 by Stewart Heckenberg & Chris Coyier |
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="banner"> | |
<div class="line"> | |
<span>Fancy Banners</span> | |
</div> | |
<div class="line"> | |
<span>Make It Look</span> | |
</div> | |
<div class="line"> | |
<span>Nice & Classy</span> | |
</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
<div id="container"> |
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 id="container"> |
NewerOlder