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="main large-12 small-12 columns" role="main"> | |
<div class="row"> | |
<div class="center-headline"> | |
<h4>LandWorks</h4> | |
<h1> | |
<div class="page-header"> | |
<h1> | |
Career Opportunities | |
</h1> |
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
.careerbox { | |
overflow: hidden; | |
line-height: 1.4em; | |
margin: 40px 0; | |
border-top: 1px solid $lightgrey; | |
border-right: 1px solid $lightgrey; | |
border-bottom: 1px solid $lightgrey; | |
border-left: 15px solid $darkblue; | |
padding: 10px 10px 10px 40px; |
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
(function($){ | |
$('.js-careerToggle').on('click', function() { | |
$(".careerbox").toggleClass("active"); | |
if ($(".careerbox").hasClass("active")) { | |
$($(this).parent()).animate({height: '100%'}, 500); | |
} else { | |
$($(this).parent()).animate({height: '100px'}, 500); | |
} |
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 accordiontext = $(".accordion-text") | |
var accordiontitle = $(".accordion-title") | |
for ( i=0; i < 3; i++) { | |
accordiontitle.addClass(i); | |
} | |
accordiontitle.on('click', function() { | |
accordiontext.slideToggle(); | |
}) |
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
<?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"> |
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
.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 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 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 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 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>'; |
OlderNewer