Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61e4bc9
commit 6076da5
Showing
34 changed files
with
132 additions
and
3,959 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | ||
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | ||
<script>window.jQuery || document.write('<script src="{{ \'js/jquery-1.11.2.min.js\' | prepend: site.baseurl }}"><\/script>')</script> | ||
<script defer src="/js/vendor.min.js"></script> | ||
<script defer src="/js/scripts.min.js"></script> | ||
<script defer src="/js/scripts.min.js"></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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1 @@ | ||
$(document).ready(function() { | ||
|
||
// Nav Animation | ||
$('.navicon-button, nav ul a').click(function() { | ||
$('.navicon-button').toggleClass('open'); | ||
$('nav').toggleClass('active'); | ||
}); | ||
|
||
// Smart Underlines | ||
SmartUnderline.init({ | ||
location: '' | ||
}); | ||
|
||
// Fast Click | ||
if ('addEventListener' in document) { | ||
document.addEventListener('DOMContentLoaded', function() { | ||
FastClick.attach(document.body); | ||
}, false); | ||
}; | ||
|
||
// Animsition | ||
$(".animsition").animsition({ | ||
inClass: 'fade-in', | ||
outClass: 'fade-out', | ||
inDuration: 1500, | ||
outDuration: 800, | ||
linkElement: '.animsition-link', | ||
// e.g. linkElement: 'a:not([target="_blank"]):not([href^=#])' | ||
loading: true, | ||
loadingParentElement: 'body', //animsition wrapper element | ||
loadingClass: 'animsition-loading', | ||
loadingInner: '', // e.g '<img src="loading.svg" />' | ||
timeout: false, | ||
timeoutCountdown: 5000, | ||
onLoadEvent: true, | ||
browser: [ 'animation-duration', '-webkit-animation-duration'], | ||
// "browser" option allows you to disable the "animsition" in case the css property in the array is not supported by your browser. | ||
// The default setting is to disable the "animsition" in a browser that does not support "animation-duration". | ||
overlay : false, | ||
overlayClass : 'animsition-overlay-slide', | ||
overlayParentElement : 'body', | ||
transition: function(url){ window.location.href = url; } | ||
}); | ||
|
||
// Social Sharing | ||
$(".js-social-share").on("click", function(e) { | ||
e.preventDefault(); | ||
windowPopup($(this).attr("href"), 500, 300); | ||
}); | ||
|
||
}); | ||
|
||
|
||
// Social Share Popup | ||
function windowPopup(url, width, height) { | ||
// Calculate the position of the popup so | ||
// it’s centered on the screen. | ||
var left = (screen.width / 2) - (width / 2), | ||
top = (screen.height / 2) - (height / 2); | ||
|
||
window.open( | ||
url, | ||
"", | ||
"menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left | ||
); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
function windowPopup(a,b,c){var d=screen.width/2-b/2,e=screen.height/2-c/2;window.open(a,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width="+b+",height="+c+",top="+e+",left="+d)}$(document).ready(function(){$(".navicon-button, nav ul a").click(function(){$(".navicon-button").toggleClass("open"),$("nav").toggleClass("active")}),SmartUnderline.init({location:""}),"addEventListener"in document&&document.addEventListener("DOMContentLoaded",function(){FastClick.attach(document.body)},!1),$(".animsition").animsition({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(a){window.location.href=a}}),$(".js-social-share").on("click",function(a){a.preventDefault(),windowPopup($(this).attr("href"),500,300)})}); | ||
function showCincy(){var a=document.querySelector(".cincy");a.classList.toggle("active")} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.