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
/******************************************************************************* | |
1. DEPENDENCIES | |
*******************************************************************************/ | |
var gulp = require('gulp'); // gulp core | |
sass = require('gulp-sass'), // sass compiler | |
uglify = require('gulp-uglify'), // uglifies the js | |
jshint = require('gulp-jshint'), // check if js is ok | |
rename = require("gulp-rename"); // rename files | |
concat = require('gulp-concat'), // concatinate js |
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
<label for="country">Country <span class="brightRedText">*</span> | |
<select name="countries" id="country" required> | |
<!-- START: countries list --> | |
<option value="Thailand" selected>Thailand</option> | |
<option value="Singapore">Singapore</option> | |
<option value="Hong Kong">Hong Kong</option> | |
<option value="Malaysia">Malaysia</option> | |
<option value="China">China</option> | |
<option value="Taiwan">Taiwan</option> | |
<option value="India">India</option> |
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
.speechBubble:after { | |
content: ""; | |
position: absolute; | |
top: 100%; | |
left: 40px; | |
border-top: 20px solid $midGrey; | |
// border-top-color: inherit; | |
border-left: 20px solid transparent; | |
border-right: 20px solid transparent; | |
} |
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 $j = jQuery.noConflict(); | |
$j(document).ready(function () { | |
$j("li:has(ul)").hover(function () { | |
$j(this).children("a").click(function () { | |
return false; | |
}); | |
}); |
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
.whereEverYouWantIcon{ | |
display:inline-block; | |
line-height: 50px; | |
background-color:black; | |
color:white; | |
width: 50px; | |
height: 50px; | |
text-align: center; | |
vertical-align: bottom; | |
} |
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
<!-- START form part --> | |
<?php | |
start_session(); | |
//init variables | |
$cf = array(); | |
$sr = FALSE; | |
if (isset($_SESSION['cf_returndata'])) { |
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="home-slide flexslider"> | |
<?php if(get_field('home_slide_repeater')): ?> | |
<ul> | |
<?php while(has_sub_field('home_slide_repeater')): ?> | |
<li> | |
<?php $image = wp_get_attachment_image_src(get_sub_field('home_slide_image'), 'home-slide'); ?> |
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
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-########-#', 'auto'); | |
ga('require', 'displayfeatures'); | |
ga('send', 'pageview'); |
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
<script> | |
jQuery.noConflict(); | |
jQuery(document).foundation(); | |
</script> |
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
//Load plugins | |
var gulp = require('gulp'), | |
gutil= require('gulp-util') , | |
sass = require('gulp-ruby-sass'), | |
prefixer = require('gulp-autoprefixer'), | |
notify = require('gulp-notify'); | |
// Where do you store your Sass files? | |
var sassDir = 'scss'; |
OlderNewer