A Pen by Keegan Brown on CodePen.

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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
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
<meta name="viewport" id="vp" content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" /> | |
<meta name="viewport" id="vp" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)" /> | |
<link href="assets/splashs/splash_1096.png" rel="apple-touch-startup-image" media="(device-height: 568px)"> | |
<link href="assets/splashs/splash_iphone_2x.png" rel="apple-touch-startup-image" sizes="640x960" media="(device-height: 480px)"> |
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
// GET QUERY STRING VALUE FROM OBJ BY KEY | |
function getQueryParam (key, obj) { | |
if ( !obj || !obj.search ) var obj = location; | |
var a = obj.search.slice(1).split("&"), GET = []; | |
for (var i in a) { GET[a[i].split("=")[0]] = a[i].split("=")[1]; } | |
return GET[key] || null; | |
} |
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
// PREVENT 'CONSOLE' ERRORS IN BROWSERS THAT LACK A CONSOLE. | |
function nerfConsole () { | |
if ( !(window.console && window.console.log) ) { | |
var noop = function() {}; | |
var methods = ['assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 'markTimeline', 'profile', 'profileEnd', 'markTimeline', 'table', 'time', 'timeEnd', 'timeStamp', 'trace', 'warn']; | |
var length = methods.length; | |
var console = window.console = {}; | |
while (length--) { | |
console[methods[length]] = noop; | |
} |
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
#scrollingWrapper{ | |
position:absolute; | |
top:0; | |
left:0; | |
width: 100%; | |
} | |
#scrollingWrapper li { | |
height: 50px; | |
display:block; | |
line-height:50px; |
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
private function processPlaylistFeeds($playlistListFeed) { | |
$playListArray = array(); | |
foreach ($playlistListFeed as $playlistListEntry) { | |
$plid = $playlistListEntry->playlistId->text; | |
$playListArray[$plid] = array(); | |
$playListArray[$plid]['title'] = htmlspecialchars( $playlistListEntry->title->text ); | |
$playListArray[$plid]['id'] = $playlistListEntry->playlistId->text; | |
$playListArray[$plid]['description'] = htmlspecialchars( $playlistListEntry->getDescription() ); | |
$playListArray[$plid]['url'] = $playlistListEntry->getPlaylistVideoFeedUrl(); |
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
.offerPricePoint .terms { | |
display: block; | |
padding: 0 0 5px 0; | |
clear: both; | |
position: relative; | |
top: 0; | |
left: 0; | |
z-index: 1000; | |
} | |
.offerPricePoint .terms a { |
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 s = document.createElement('script'); | |
s.src = "http://code.jquery.com/jquery-latest.min.js"; | |
document.body.appendChild(s); |