From: Anthony Talarico Date: Fri, 27 Apr 2018 19:49:15 +0000 (-0400) Subject: adding test brewery map X-Git-Tag: v1.0.0^2~19 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c32d9b7af207b472c489f509710ae4e6ae62993e;p=WP-Themes%2Fdiscoverkalamazoo2018.git adding test brewery map adding brewery map test and fixing 269 animations --- diff --git a/assets/markers/arcadia.png b/assets/markers/arcadia.png new file mode 100644 index 0000000..3e9e4fc Binary files /dev/null and b/assets/markers/arcadia.png differ diff --git a/assets/markers/bells.png b/assets/markers/bells.png new file mode 100644 index 0000000..caceb1b Binary files /dev/null and b/assets/markers/bells.png differ diff --git a/assets/markers/bilbos.png b/assets/markers/bilbos.png new file mode 100644 index 0000000..7b7b77b Binary files /dev/null and b/assets/markers/bilbos.png differ diff --git a/assets/markers/blank.png b/assets/markers/blank.png new file mode 100644 index 0000000..04e5d24 Binary files /dev/null and b/assets/markers/blank.png differ diff --git a/assets/markers/boatyard.png b/assets/markers/boatyard.png new file mode 100644 index 0000000..4e64817 Binary files /dev/null and b/assets/markers/boatyard.png differ diff --git a/assets/markers/bravo.png b/assets/markers/bravo.png new file mode 100644 index 0000000..d3a90fe Binary files /dev/null and b/assets/markers/bravo.png differ diff --git a/assets/markers/brite.png b/assets/markers/brite.png new file mode 100644 index 0000000..c1abd8f Binary files /dev/null and b/assets/markers/brite.png differ diff --git a/assets/markers/distant.png b/assets/markers/distant.png new file mode 100644 index 0000000..464dacb Binary files /dev/null and b/assets/markers/distant.png differ diff --git a/assets/markers/gonzo.png b/assets/markers/gonzo.png new file mode 100644 index 0000000..7774fd2 Binary files /dev/null and b/assets/markers/gonzo.png differ diff --git a/assets/markers/latitude.png b/assets/markers/latitude.png new file mode 100644 index 0000000..0b6c3d5 Binary files /dev/null and b/assets/markers/latitude.png differ diff --git a/assets/markers/olde.png b/assets/markers/olde.png new file mode 100644 index 0000000..d122445 Binary files /dev/null and b/assets/markers/olde.png differ diff --git a/assets/markers/one.png b/assets/markers/one.png new file mode 100644 index 0000000..ba84eb7 Binary files /dev/null and b/assets/markers/one.png differ diff --git a/assets/markers/rupert.png b/assets/markers/rupert.png new file mode 100644 index 0000000..9d09884 Binary files /dev/null and b/assets/markers/rupert.png differ diff --git a/assets/markers/texas.png b/assets/markers/texas.png new file mode 100644 index 0000000..7fa2e62 Binary files /dev/null and b/assets/markers/texas.png differ diff --git a/assets/markers/tibbs.png b/assets/markers/tibbs.png new file mode 100644 index 0000000..2cca583 Binary files /dev/null and b/assets/markers/tibbs.png differ diff --git a/brewery-map.php b/brewery-map.php new file mode 100644 index 0000000..d496460 --- /dev/null +++ b/brewery-map.php @@ -0,0 +1,5 @@ + 0 ){ - if( $(".blur-action").isInViewport(100)[0] && our_impact_seen == false ){ - $('.blur-container').children('span:first-child').addClass("sight"); + if( $(".blur-action").isInViewport(300)[0] && our_impact_seen == false ){ + // $('.blur-container').children('span:first-child').addClass("sight"); window.setTimeout(function(){ $('.first-blur').animate({opacity: 1}, 200); var our_impact_counter = new CountUp('first-blur', 0, parseInt(the_number), 0, 2.5, countup_options); if (!our_impact_counter.error) { - our_impact_counter.start(); + our_impact_counter.start(); } else { - console.error(our_impact_counter.error); + console.error(our_impact_counter.error); } - }, 1000); + }, 500); - window.setTimeout(function(){$('.blur-container').children("span:nth-child(3)").addClass("sight");}, 600); + // window.setTimeout(function(){$('.blur-container').children("span:nth-child(3)").addClass("sight");}, 600); our_impact_seen = true; } diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 75dd61f..42402c7 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -171,20 +171,20 @@ $(document).ready(function () { } if( $('.blur-action').length > 0 ){ - if( $(".blur-action").isInViewport(100)[0] && our_impact_seen == false ){ - $('.blur-container').children('span:first-child').addClass("sight"); + if( $(".blur-action").isInViewport(300)[0] && our_impact_seen == false ){ + // $('.blur-container').children('span:first-child').addClass("sight"); window.setTimeout(function(){ $('.first-blur').animate({opacity: 1}, 200); var our_impact_counter = new CountUp('first-blur', 0, parseInt(the_number), 0, 2.5, countup_options); if (!our_impact_counter.error) { - our_impact_counter.start(); + our_impact_counter.start(); } else { - console.error(our_impact_counter.error); + console.error(our_impact_counter.error); } - }, 1000); + }, 500); - window.setTimeout(function(){$('.blur-container').children("span:nth-child(3)").addClass("sight");}, 600); + // window.setTimeout(function(){$('.blur-container').children("span:nth-child(3)").addClass("sight");}, 600); our_impact_seen = true; } diff --git a/sections/brewery-map.php b/sections/brewery-map.php new file mode 100644 index 0000000..49bd78e --- /dev/null +++ b/sections/brewery-map.php @@ -0,0 +1,306 @@ + +
+
+
+ + + \ No newline at end of file diff --git a/sections/interior-page.php b/sections/interior-page.php index 3a37eea..f88602c 100644 --- a/sections/interior-page.php +++ b/sections/interior-page.php @@ -71,7 +71,14 @@ +
+
+ +
+
+