Drag and drop sortable list with click sound
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 if (ICL_LANGUAGE_CODE == 'es') { echo 'Español content'; } elseif (ICL_LANGUAGE_CODE == 'pt-br') { echo 'PT brazil content'; } else { echo 'Deafult language - english';}?> |
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
input::-webkit-input-placeholder { | |
color: #000; | |
} | |
input:-moz-placeholder { /* Firefox 18- */ | |
color: #000; | |
opacity: 1; | |
} | |
input::-moz-placeholder { /* Firefox 19+ */ |
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
<a href"<?php echo get_category_link(icl_object_id(7,'category',false,ICL_LANGUAGE_CODE));?>">Link</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
jQuery(function(){ | |
jQuery('select[name="catUrl"]').change(function() { | |
window.location.replace($(this).val()); | |
}); | |
}); |
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
@mixin responsive-table($thead-title...) { | |
table { | |
width: 100%; | |
border-collapse: collapse; | |
} | |
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { | |
/* Force table to not be like tables anymore */ |
Work in progress - learning from http://codepen.io/rachsmith/post/beginning-with-3d-webgl-pt-1-the-scene
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
<section class="tab-slide"> | |
<div id="tab-slide-pager" class="tab-slide__anchor-wrapper"></div> | |
<div class="cycle-slideshow" | |
data-cycle-fx="fade" | |
data-cycle-pager="#tab-slide-pager" | |
data-cycle-timeout="0" | |
data-cycle-slides="> div" | |
> | |
<?php if( have_rows('repater_field') ): ?> | |
<?php while ( have_rows('repater_field') ) : the_row() ; ?> |
OlderNewer