Skip to content

Instantly share code, notes, and snippets.

View ckahle33's full-sized avatar
🏠
Working from home

Craig Kahle ckahle33

🏠
Working from home
  • Meow Wolf
  • Taos, NM
View GitHub Profile
<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>
.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;
(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);
}
var accordiontext = $(".accordion-text")
var accordiontitle = $(".accordion-title")
for ( i=0; i < 3; i++) {
accordiontitle.addClass(i);
}
accordiontitle.on('click', function() {
accordiontext.slideToggle();
})
<?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">
.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;
$(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")');
}
});
$(function(){
$('#img').on({ mouseenter: function(){
$(this).find('.text-overlay').css("display", "block"); },
mouseleave: function() {
$(this).find('.text-overlay').css("display", "none");
}
})
});
$(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();
})
});
});
// 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>';