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
$(function(){ | |
//initialize valiadation | |
$(".private").validationEngine(); | |
$(".private input").focus(function(){ | |
$(this).validationEngine('hide'); | |
}) |
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
$(document).ready(function(){ | |
//initialize valiadation | |
$(".private").validationEngine(); | |
$(".private input").focus(function(){ | |
$(this).validationEngine('hide'); | |
}) |
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
/* Author:Craig Kahle 2014 | |
*/ | |
// initialize bxslider | |
$(document).ready(function(){ | |
$(".bxslider").bxSlider({ | |
speed: 500, | |
controls: false, | |
auto: true, |
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
// craig kahle 1/26/14 | |
// simple paralax implementation | |
$(document).ready(function(){ | |
$('.fullwidth').animate({'margin-top': '0px'}, 1000); | |
}); |
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
// Get the data if there is any. | |
$downloadtype = get_post_meta($post->ID, '_downloadtype', true); | |
// Echo out the field | |
echo '<h2 style="margin-bottom: 0;">Download Type</h2>'; | |
echo '<select name="_downloadtype" class="wide"> | |
<option value="public <?php selected( $downloadtype, "public" ); ?>Public Download</option> | |
<option value="registered <?php selected( $downloadtype, "registered" ); ?>Registered Download</option> | |
</select>'; |
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
$(document).ready(function() { | |
$('input[type=file]').each(function(){ | |
$(this).parent().append($('<div class="fakefile" />').append($('<img src="/assets/img/file-button.png" alt="File input button" />'))); | |
$(this).on('click', function(){ | |
$('input#input_1_12').click(); | |
}) | |
}); | |
}); |
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
$(function(){ | |
$('#img').on({ mouseenter: function(){ | |
$(this).find('.text-overlay').css("display", "block"); }, | |
mouseleave: function() { | |
$(this).find('.text-overlay').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
$(function() { | |
if (window.location.href.indexOf('/industry-solutions') > -1 ) { | |
$('ul#menu-primary-navigation li.dropdown:hover > ul.dropdown-menu').css('background', 'url("../img/wind-bg.png")'); | |
} | |
}); |
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
.product-box { | |
width: 320px; | |
background: $lightgrey; | |
clear: both; | |
border: 1px 1px 3px 1px solid $grey; | |
position: absolute; | |
left: 13%; | |
z-index: 1; | |
.title { | |
background: $green; |
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 | |
$content = get_template_part('templates/content', 'page'); | |
$len = count($content); | |
$first = array_slice($content, 0, $len/2); | |
$second = array_slice($content, $len/2); | |
?> | |
<div class="large-6 columns"> |