Patrick Marabeas patrickmarabeas

View master-ghpages
1
git push -f origin master:gh-pages
View 2col.css
1 2 3 4 5 6 7 8 9 10
div {
display: inline-block;
vertical-align: top;
}
 
#container {
width: 100%;
overflow: hidden;
background-color: black;
position: relative;
View webkit-fail.js
1 2 3 4 5 6 7
/* http://jsfiddle.net/patrickmarabeas/vrcaA/ */
 
$('.zero').click(function(e) {
$(this).toggleClass('removeFloat');
$(this).css('float');
$(this).toggleClass('widthChange');
});
View footer.js
1 2 3 4 5 6 7 8 9 10
View transitionend.js
1 2 3 4 5 6 7 8
$("#banner_area").click(function(){
$("#title_area").data('stickyNav').destroy();
$("#top").addClass('animatedBanner');
$("#top").one('transitionend webkitTransitionEnd oTransitionEnd otransitionend', function(){
$("#title_area").data('stickyNav').init();
});
});
View functions.php
1 2 3 4 5 6 7 8 9 10
<?php
function is_post_type($type){
global $wp_query;
if($type == get_post_type($wp_query->post->ID)) return true;
return false;
}
 
add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);
function special_nav_class($classes, $item){
View functions.php
1 2 3 4 5 6 7 8 9 10
function custom_get_avatar($avatar, $id_or_email, $size, $default, $alt) {
 
if ( is_admin() ) {
 
$email = '';
if ( is_numeric($id_or_email) ) {
$id = (int) $id_or_email;
$user = get_userdata($id);
if ( $user )
$email = $user->user_email;
View cherry-picking twitter bootstrap scrollspy.htm
1 2 3 4 5 6 7 8 9 10
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<!-- grab the bootstrap-scrollspy.js file -->
<script type="text/javascript" src="scripts/bootstrap-scrollspy.js"></script>
</head>
 
<!-- it works by specifying data attributes, rather than the user calling a method on an object -->
<!-- data-target is a container to the navigation element -->
<body data-target="#navigation_area"
View .htaccess
1 2 3 4 5 6
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# point LESS files to the compiler script
RewriteRule ^([^.]*\.less)$ compilers/lessphp.php?file=$1 [R,QSA,L]
</ifModule>
View Responsive iFrame.htm
1 2 3 4 5 6
<div class="video">
<img id="video_ratio" alt="Aspect Ratio" src="images/3x4.png"/>
<div id="player">
<iframe></iframe>
</div>
</div>
Something went wrong with that request. Please try again.