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
<!-- Video Hover Play Scripts --> | |
<script> | |
$( document ).ready(function() { | |
var figure = $(".video").hover( hoverVideo, hideVideo ); | |
function hoverVideo(e) { | |
$('video', this).get(0).play(); | |
} | |
function hideVideo(e) { |
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
jQuery(window).load(function(){ | |
/* List table sort columns */ | |
$('.button-collapse').on('click', function (e) { | |
e.preventDefault(); | |
$(this).toggle2classes("menuOpen", "menuClose"); | |
}); | |
$.fn.toggle2classes = function(class1, class2){ | |
if( !class1 || !class2 ) |
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
<form action="#"> | |
<p><label><input type="checkbox" id="checkAll"/> Check all</label></p> | |
<fieldset> | |
<legend>Loads of checkboxes</legend> | |
<p><label><input type="checkbox" /> Option 1</label></p> | |
<p><label><input type="checkbox" /> Option 2</label></p> | |
<p><label><input type="checkbox" /> Option 3</label></p> | |
<p><label><input type="checkbox" /> Option 4</label></p> | |
</fieldset> |
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
# Install NPM: npm install | |
# Install node: npm install node | |
# Install gulp: npm install gulp -g | |
npm install gulp --save-dev | |
# Install gulp extension together: | |
npm install gulp browser-sync gulp-sass gulp-clean-css gulp-notify gulp-file-include gulp-rename gulp-sass-bulk-import g | |
ulp-sourcemaps gulp-autoprefixer --save-dev |
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
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
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
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
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
flex-container { | |
display: flex; /* primary flex container */ | |
flex-direction: row; /* horizontal alignment of flex items | |
(default value; can be omitted) */ | |
align-items: stretch; /* will apply equal heights to flex items | |
(default value; can be omitted) */ | |
height: 100%; | |
} | |
flex-item { |
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
ini_set('max_execution_time', 300); //300 seconds = 5 minutes |
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
a { | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
} |
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 | |
function stock_styled_map_shortcode($atts, $content = null) { | |
extract( shortcode_atts( array( | |
'lat' => '40.7433379', | |
'lng' => '-74.0103219', | |
'title' => 'Head Office', | |
'desc' => 'House 21, Grand St.<br/> New York, USA', |