1var document_height = $(window).height(); 2$('.homebox').css('height', document_height- 110 + 'px'); 3$('.homeboxwrapper').css('height', document_height + 'px'); 4 5$(window).bind('resize', function(e) { 6 var document_height = $(window).height(); 7 $('.homebox').css('height', document_height-110 + 'px'); 8 $('.homeboxwrapper').css('height', document_height + 'px'); 9}); 10 11var feed = new Instafeed({ 12 get: 'user', 13 userId: 2027623320, 14 accessToken: '2027623320.1677ed0.6ed0be4049504dae835c4053bb4dcb51', 15 target: 'instagram', 16 limit:8, 17 resolution: 'standard_resolution', 18 template: '<a href="{{link}}" target="_blank"><img src="{{image}}" /></a>', 19 after: function() { 20 var el = document.getElementById('instagram'); 21 if (el.classList) 22 el.classList.add('show'); 23 else 24 el.className += ' ' + 'show'; 25 } 26}); 27 28window.onload = function() { 29 feed.run(); 30}; 31 32 33var $container = $('.gallery-wrapper'); 34$container.imagesLoaded(function(){ 35 $container.masonry({ 36 itemSelector :'.gallery-box', 37 isAnimated: true, 38 columnWidth: function( containerWidth ) { 39 return containerWidth / 5000; 40 } 41 }); 42}); 43 44var $container2 = $('.gallery2-wrapper'); 45$container2.imagesLoaded(function(){ 46 $container2.masonry({ 47 itemSelector :'.gallery2-box', 48 isAnimated: true, 49 columnWidth: function( containerWidth2 ) { 50 return containerWidth2 / 5000; 51 } 52 }); 53}); 54 55 56$(document).ready(function() { 57 $('.fadeContent').fadeIn(800); 58 //$('.startclaim').delay(8000).fadeOut(1000); 59 60 $("a.imageBox").fancybox({ 61 titlePosition: 'over', 62 hideOnContentClick: true, 63 padding:0, 64 overlayOpacity : 0.8, 65 overlayColor : '#000' 66 }); 67}); 68 69$('.slider1').flexslider({ 70 animation: "fade", 71 controlNav: false, 72 animationLoop: true, 73 slideshow: true, 74 directionNav: false, 75 pauseOnAction: false, 76 keyboard: false, 77 slideshowSpeed: 5000, 78 animationSpeed: 1500 79 }); 80 81$('.slider2').flexslider({ 82 animation: "slide", 83 controlNav: false, 84 animationLoop: true, 85 slideshow: false, 86 directionNav: true, 87 pauseOnAction: false, 88 keyboard: false, 89 slideshowSpeed: 7000, 90 animationSpeed: 1000 91 }); 92 93$('.slider3').flexslider({ 94 animation: "fade", 95 controlNav: false, 96 animationLoop: true, 97 slideshow: true, 98 directionNav: false, 99 pauseOnAction: false, 100 keyboard: false, 101 slideshowSpeed: 7000, 102 animationSpeed: 1500 103 }); 104 105$('.slider4').flexslider({ 106 animation: "fade", 107 controlNav: false, 108 animationLoop: true, 109 slideshow: true, 110 directionNav: false, 111 slideshowSpeed: 6000, 112 animationSpeed: 3000, 113 start: function(slider) { 114 $('.zoomimg2').addClass('zoomtransition2'); 115 } 116 }); 117 118 119$("a.drop").click(function () { 120 $('html,body').animate({scrollTop: $("#sitewrapper").offset().top},'slow'); 121}); 122 123$("a.buttonnavi").click(function () { 124 $('#navigationwrapper').fadeIn(200); 125}); 126 127$("a.buttonnaviclose").click(function () { 128 $('#navigationwrapper').fadeOut(200); 129}); 130 131 132function goToByScroll(id){ 133 $('html,body').animate({scrollTop: $("#"+id).offset().top - 50},'slow'); 134} 135 136function goToByScroll2(id){ 137 $('html,body').animate({scrollTop: $("#"+id).offset().top - 50},'slow'); 138 $('#navigation').slideToggle(300); 139} 140 141$(function() { 142 $('.tintimg').each(function() { 143 $(this).wrap('<div class="tint"></div>'); 144 }); 145}); 146 147 148 149 150
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.