1jQuery(function($){ 2 "use strict"; 3 4var VESTIGE = window.VESTIGE || {}; 5 6/* ================================================== 7 Contact Form Validations 8================================================== */ 9 VESTIGE.ContactForm = function(){ 10 $('.contact-form').each(function(){ 11 var formInstance = $(this); 12 formInstance.submit(function(){ 13 14 var action = $(this).attr('action'); 15 16 $("#message").slideUp(750,function() { 17 $('#message').hide(); 18 19 $('#submit') 20 .after('<img src="images/assets/ajax-loader.gif" class="loader" />') 21 .attr('disabled','disabled'); 22 23 $.post(action, { 24 fname: $('#fname').val(), 25 lname: $('#lname').val(), 26 email: $('#email').val(), 27 phone: $('#phone').val(), 28 comments: $('#comments').val() 29 }, 30 function(data){ 31 document.getElementById('message').innerHTML = data; 32 $('#message').slideDown('slow'); 33 $('.contact-form img.loader').fadeOut('slow',function(){$(this).remove()}); 34 $('#submit').removeAttr('disabled'); 35 if(data.match('success') != null) $('.contact-form').slideUp('slow'); 36 37 } 38 ); 39 }); 40 return false; 41 }); 42 }); 43 } 44/* ================================================== 45 Scroll to Top 46================================================== */ 47 VESTIGE.scrollToTop = function(){ 48 var windowWidth = $(window).width(), 49 didScroll = false; 50 51 var $arrow = $('#back-to-top'); 52 53 $arrow.on("click", function(e) { 54 $('body,html').animate({ scrollTop: "0" }, 750, 'easeOutExpo' ); 55 e.preventDefault(); 56 }) 57 58 $(window).scroll(function() { 59 didScroll = true; 60 }); 61 62 setInterval(function() { 63 if( didScroll ) { 64 didScroll = false; 65 66 if( $(window).scrollTop() > 200 ) { 67 $arrow.fadeIn(); 68 } else { 69 $arrow.fadeOut(); 70 } 71 } 72 }, 250); 73 } 74/* ================================================== 75 Accordion 76================================================== */ 77 VESTIGE.accordion = function(){ 78 var accordion_trigger = $('.accordion-heading.accordionize'); 79 80 accordion_trigger.delegate('.accordion-toggle','click', function(event){ 81 if($(this).hasClass('active')){ 82 $(this).removeClass('active'); 83 $(this).addClass('inactive'); 84 } 85 else{ 86 accordion_trigger.find('.active').addClass('inactive'); 87 accordion_trigger.find('.active').removeClass('active'); 88 $(this).removeClass('inactive'); 89 $(this).addClass('active'); 90 } 91 event.preventDefault(); 92 }); 93 } 94/* ================================================== 95 Toggle 96================================================== */ 97 VESTIGE.toggle = function(){ 98 var accordion_trigger_toggle = $('.accordion-heading.togglize'); 99 100 accordion_trigger_toggle.delegate('.accordion-toggle','click', function(event){ 101 if($(this).hasClass('active')){ 102 $(this).removeClass('active'); 103 $(this).addClass('inactive'); 104 } 105 else{ 106 $(this).removeClass('inactive'); 107 $(this).addClass('active'); 108 } 109 event.preventDefault(); 110 }); 111 } 112/* ================================================== 113 Tooltip 114================================================== */ 115 VESTIGE.toolTip = function(){ 116 $('a[data-toggle=tooltip]').tooltip(); 117 $('a[data-toggle=tooltip]').tooltip(); 118 $('a[data-toggle=popover]').popover({html:true}).on("click", function(e) { 119 e.preventDefault(); 120 $(this).focus(); 121 }); 122 } 123/* ================================================== 124 Twitter Widget 125================================================== */ 126 VESTIGE.TwitterWidget = function() { 127 $('.twitter-widget').each(function(){ 128 var twitterInstance = $(this); 129 var twitterTweets = twitterInstance.attr("data-tweets-count") ? twitterInstance.attr("data-tweets-count") : "1" 130 twitterInstance.twittie({ 131 dateFormat: '%b. %d, %Y', 132 template: '<li><i class="fa fa-twitter"></i> {{tweet}} <span class="tweet-date">{{date}}</span></li>', 133 count: twitterTweets, 134 hideReplies: true 135 }); 136 }); 137 } 138/* ================================================== 139 Hero Flex Slider 140================================================== */ 141 VESTIGE.heroflex = function() { 142 $('.heroflex').each(function(){ 143 var carouselInstance = $(this); 144 var carouselAutoplay = carouselInstance.attr("data-autoplay") == 'yes' ? true : false 145 var carouselPagination = carouselInstance.attr("data-pagination") == 'yes' ? true : false 146 var carouselArrows = carouselInstance.attr("data-arrows") == 'yes' ? true : false 147 var carouselDirection = carouselInstance.attr("data-direction") ? carouselInstance.attr("data-direction") : "horizontal" 148 var carouselStyle = carouselInstance.attr("data-style") ? carouselInstance.attr("data-style") : "fade" 149 var carouselSpeed = carouselInstance.attr("data-speed") ? carouselInstance.attr("data-speed") : "5000" 150 var carouselPause = carouselInstance.attr("data-pause") == 'yes' ? true : false 151 152 carouselInstance.flexslider({ 153 animation: carouselStyle, 154 easing: "swing", 155 direction: carouselDirection, 156 slideshow: carouselAutoplay, 157 slideshowSpeed: carouselSpeed, 158 animationSpeed: 600, 159 initDelay: 0, 160 randomize: false, 161 pauseOnHover: carouselPause, 162 controlNav: carouselPagination, 163 directionNav: carouselArrows, 164 prevText: "", 165 nextText: "" 166 }); 167 }); 168 } 169/* ================================================== 170 Flex Slider 171================================================== */ 172 VESTIGE.galleryflex = function() { 173 $('.galleryflex').each(function(){ 174 var carouselInstance = $(this); 175 var carouselAutoplay = carouselInstance.attr("data-autoplay") == 'yes' ? true : false 176 var carouselPagination = carouselInstance.attr("data-pagination") == 'yes' ? true : false 177 var carouselArrows = carouselInstance.attr("data-arrows") == 'yes' ? true : false 178 var carouselDirection = carouselInstance.attr("data-direction") ? carouselInstance.attr("data-direction") : "horizontal" 179 var carouselStyle = carouselInstance.attr("data-style") ? carouselInstance.attr("data-style") : "fade" 180 var carouselSpeed = carouselInstance.attr("data-speed") ? carouselInstance.attr("data-speed") : "5000" 181 var carouselPause = carouselInstance.attr("data-pause") == 'yes' ? true : false 182 183 carouselInstance.flexslider({ 184 animation: carouselStyle, 185 easing: "swing", 186 direction: carouselDirection, 187 slideshow: carouselAutoplay, 188 slideshowSpeed: carouselSpeed, 189 animationSpeed: 600, 190 initDelay: 0, 191 randomize: false, 192 pauseOnHover: carouselPause, 193 controlNav: carouselPagination, 194 directionNav: carouselArrows, 195 prevText: "", 196 nextText: "" 197 }); 198 }); 199 } 200/* ==================================================
201 Owl Carousel 202================================================== */ 203 VESTIGE.OwlCarousel = function() { 204 $('.owl-carousel').each(function(){ 205 var carouselInstance = $(this); 206 var carouselColumns = carouselInstance.attr("data-columns") ? carouselInstance.attr("data-columns") : "1" 207 var carouselitemsDesktop = carouselInstance.attr("data-items-desktop") ? carouselInstance.attr("data-items-desktop") : "4" 208 var carouselitemsDesktopSmall = carouselInstance.attr("data-items-desktop-small") ? carouselInstance.attr("data-items-desktop-small") : "3" 209 var carouselitemsTablet = carouselInstance.attr("data-items-tablet") ? carouselInstance.attr("data-items-tablet") : "2" 210 var carouselitemsMobile = carouselInstance.attr("data-items-mobile") ? carouselInstance.attr("data-items-mobile") : "1" 211 var carouselAutoplay = carouselInstance.attr("data-autoplay") ? carouselInstance.attr("data-autoplay") : false 212 var carouselPagination = carouselInstance.attr("data-pagination") == 'yes' ? true : false 213 var carouselArrows = carouselInstance.attr("data-arrows") == 'yes' ? true : false 214 var carouselSingle = carouselInstance.attr("data-single-item") == 'yes' ? true : false 215 var carouselStyle = carouselInstance.attr("data-style") ? carouselInstance.attr("data-style") : "fade" 216 217 carouselInstance.owlCarousel({ 218 items: carouselColumns, 219 autoPlay : carouselAutoplay, 220 navigation : carouselArrows, 221 pagination : carouselPagination, 222 itemsDesktop:[1199,carouselitemsDesktop], 223 itemsDesktopSmall:[979,carouselitemsDesktopSmall], 224 itemsTablet:[768,carouselitemsTablet], 225 itemsMobile:[479,carouselitemsMobile], 226 singleItem:carouselSingle, 227 navigationText: ["<i class='fa fa-chevron-left'></i>","<i class='fa fa-chevron-right'></i>"], 228 stopOnHover: true, 229 lazyLoad: true, 230 transitionStyle: 'carouselStyle' 231 }); 232 }); 233 } 234/* ================================================== 235 Nivo Slider 236================================================== */ 237 VESTIGE.NivoSlider = function() { 238 $('.nivoSlider').each(function(){ 239 var nivoInstance = $(this); 240 var nivoAutoplay = nivoInstance.attr("data-autoplay") == 'no' ? true : false 241 var nivoPagination = nivoInstance.attr("data-pagination") == 'yes' ? true : false 242 var nivoArrows = nivoInstance.attr("data-arrows") == 'yes' ? true : false 243 var nivoThumbs = nivoInstance.attr("data-thumbs") == 'yes' ? true : false 244 var nivoEffect = nivoInstance.attr("data-effect") ? nivoInstance.attr("data-effect") : "random" 245 var nivoSlices = nivoInstance.attr("data-slices") ? nivoInstance.attr("data-slices") : "15" 246 var nivoanimSpeed = nivoInstance.attr("data-animSpeed") ? nivoInstance.attr("data-animSpeed") : "500" 247 var nivopauseTime = nivoInstance.attr("data-pauseTime") ? nivoInstance.attr("data-pauseTime") : "3000" 248 var nivoPause = nivoInstance.attr("data-pauseonhover") == 'yes' ? true : false 249 250 nivoInstance.nivoSlider({ 251 effect: nivoEffect, 252 slices: nivoSlices, 253 animSpeed: nivoanimSpeed, 254 pauseTime: nivopauseTime, 255 directionNav: nivoArrows, 256 controlNav: nivoPagination, 257 controlNavThumbs: nivoThumbs, 258 pauseOnHover: nivoPause, 259 manualAdvance: nivoAutoplay 260 }); 261 }); 262 } 263/* ================================================== 264 PrettyPhoto 265================================================== */ 266 VESTIGE.PrettyPhoto = function() { 267 $("a[data-rel^='prettyPhoto']").prettyPhoto({ 268 opacity: 0.5, 269 social_tools: "", 270 deeplinking: false 271 }); 272 } 273/* ================================================== 274 Animated Counters 275================================================== */ 276 VESTIGE.Counters = function() { 277 $('.counters').each(function () { 278 $(".timer .count").appear(function() { 279 var counter = $(this).html(); 280 $(this).countTo({ 281 from: 0, 282 to: counter, 283 speed: 2000, 284 refreshInterval: 60 285 }); 286 }); 287 }); 288 } 289/* ================================================== 290 SuperFish menu 291================================================== */ 292 VESTIGE.SuperFish = function() { 293 $('.sf-menu').superfish({ 294 delay: 200, 295 animation: {opacity:'show', height:'show'}, 296 speed: 'fast',
297 cssArrows: false, 298 disableHI: true 299 }); 300 $(".dd-menu > ul > li:has(ul)").find("a:first").append(" <i class='fa fa-angle-down'></i>"); 301 $(".dd-menu > ul > li > ul > li:has(ul)").find("a:first").append(" <i class='fa fa-angle-right'></i>"); 302 $(".dd-menu > ul > li > ul > li > ul > li:has(ul)").find("a:first").append(" <i class='fa fa-angle-right'></i>"); 303 } 304/* ================================================== 305 Header Functions 306================================================== */ 307 VESTIGE.StickyHeader = function() { 308 $('.header-style1 .site-header, .header-style2 .site-header').sticky(); 309 $('.header-style3 .main-navbar').sticky(); 310 if($(window).width() < 992){$('.header-style3 .site-header').sticky();} 311 } 312/* ================================================== 313 Responsive Nav Menu 314================================================== */ 315 VESTIGE.MobileMenu = function() { 316 // Responsive Menu Events 317 $('#menu-toggle').on("click", function(){ 318 $(this).toggleClass("opened"); 319 $(".toggle-menu").slideToggle(); 320 return false; 321 }); 322 $(window).resize(function(){ 323 if($("#menu-toggle").hasClass("opened")){ 324 $(".toggle-menu").css("display","block"); 325 } else { 326 $("#menu-toggle").css("display","none"); 327 } 328 }); 329 } 330/* ================================================== 331 IsoTope Portfolio 332================================================== */ 333 VESTIGE.IsoTope = function() { 334 $("ul.sort-source").each(function() { 335 var source = $(this); 336 var destination = $("ul.sort-destination[data-sort-id=" + $(this).attr("data-sort-id") + "]"); 337 if(destination.get(0)) { 338 $(window).load(function() { 339 destination.isotope({ 340 itemSelector: ".grid-item", 341 layoutMode: 'sloppyMasonry' 342 }); 343 source.find("a").on("click", function(e) { 344 e.preventDefault(); 345 var $this = $(this), 346 filter = $this.parent().attr("data-option-value"); 347 source.find("li.active").removeClass("active"); 348 $this.parent().addClass("active"); 349 destination.isotope({ 350 filter: filter 351 }); 352 if(window.location.hash != "" || filter.replace(".","") != "*") { 353 self.location = "#" + filter.replace(".",""); 354 } 355 return false; 356 }); 357 $(window).on("hashchange", function(e) { 358 var hashFilter = "." + location.hash.replace("#",""), 359 hash = (hashFilter == "." || hashFilter == ".*" ? "*" : hashFilter); 360 source.find("li.active").removeClass("active"); 361 source.find("li[data-option-value='" + hash + "']").addClass("active"); 362 destination.isotope({ 363 filter: hash 364 }); 365 }); 366 var hashFilter = "." + (location.hash.replace("#","") || "*"); 367 var initFilterEl = source.find("li[data-option-value='" + hashFilter + "'] a"); 368 if(initFilterEl.get(0)) { 369 source.find("li[data-option-value='" + hashFilter + "'] a").click(); 370 } else { 371 source.find("li:first-child a").click(); 372 } 373 }); 374 } 375 }); 376 $(window).load(function() { 377 var IsoTopeCont = $(".isotope-grid"); 378 IsoTopeCont.isotope({ 379 itemSelector: ".grid-item", 380 layoutMode: 'sloppyMasonry' 381 }); 382 if ($(".grid-holder").length > 0){ 383 var $container_blog = $('.grid-holder'); 384 $container_blog.isotope({ 385 itemSelector : '.grid-item' 386 }); 387 $(window).resize(function() { 388 var $container_blog = $('.grid-holder'); 389 $container_blog.isotope({ 390 itemSelector : '.grid-item' 391 }); 392 }); 393 } 394 }); 395 } 396/* ================================================== 397 Pricing Tables 398================================================== */ 399 var $tallestCol; 400 VESTIGE.pricingTable = function(){ 401 $('.pricing-table').each(function(){ 402 $tallestCol = 0; 403 $(this).find('> div .features').each(function(){ 404 ($(this).height() > $tallestCol) ? $tallestCol = $(this).height() : $tallestCol = $tallestCol; 405 }); 406 if($tallestCol == 0) $tallestCol = 'auto'; 407 $(this).find('> div .features').css('height',$tallestCol); 408 }); 409 } 410/* ================================================== 411 Init Functions 412================================================== */ 413$(document).ready(function(){ 414 VESTIGE.ContactForm(); 415 VESTIGE.scrollToTop(); 416 VESTIGE.accordion(); 417 VESTIGE.toggle(); 418 VESTIGE.toolTip(); 419 VESTIGE.TwitterWidget(); 420 VESTIGE.OwlCarousel(); 421 VESTIGE.PrettyPhoto(); 422 VESTIGE.SuperFish(); 423 VESTIGE.Counters(); 424 VESTIGE.IsoTope(); 425 VESTIGE.StickyHeader(); 426 VESTIGE.heroflex(); 427 VESTIGE.galleryflex(); 428 VESTIGE.NivoSlider(); 429 VESTIGE.pricingTable(); 430 VESTIGE.MobileMenu(); 431 $('.selectpicker').selectpicker({container:'body'}); 432 $('.datepicker').datepicker(); 433 ExFunc(); 434 LOGOH(); 435 WWHGetter(); 436}); 437 438// DESIGN ELEMENTS // 439 440 441/* Artwork details slider */ 442$('#artwork-thumbs').flexslider({ 443 animation: "slide", 444 controlNav: false, 445 animationLoop: false, 446 slideshow: false, 447 directionNav: true, 448 itemWidth: 100, 449 asNavFor: '#artwork-images', 450 prevText: "", 451 nextText: "" 452}); 453 454$('#artwork-images').flexslider({ 455 animation: "slide", 456 controlNav: false, 457 animationLoop: false, 458 smoothHeight: true, 459 slideshow: false, 460 sync: "#artwork-thumbs", 461 prevText: "", 462 nextText: "" 463}); 464 465// Events Grid Time Stamp Positioning 466$(".events-grid .grid-item").has(".grid-featured-img").find(".event-time").css("position","absolute"); 467 468// Homepage Exhibitions Timeline Equal Height 469function ExFunc(){ 470 $('.exhibitions-timeline').each(function(){ 471 var timeline_slot = $(this).find('.timeline-slot').height(); 472 var timeline_stamp = $(this).find('.timeline-stamp-table').height(); 473 if (timeline_slot < timeline_stamp){ 474 $(this).find('.timeline-slot').css("height",timeline_stamp); 475 } 476 $(this).find('.timeline-stamp-table').css("height",timeline_slot); 477 }); 478} 479 480// Featured Blocks Text Line Height 481function FBLH(){ 482 var FIMH = $('.featured-block figure img').height(); 483 $('.featured-block figure .caption').css('line-height',FIMH+'px'); 484} 485//Donation Modal 486$(".donate-paypal").on("click", function(e) { 487 var CauseName = $(this).parents(".list-item").find("h3").html(); 488 $(".payment-to-cause").html(CauseName); 489}); 490$('select[name="donation amount"]').change(function(){ 491 if ($(this).val() === "Custom") 492 { 493 $('.custom-donate-amount').show(); 494 $('input[name="Custom Donation Amount"]').focus(); 495 } 496 else 497 { 498 $('.custom-donate-amount').hide(); 499 } 500}); 501// apply matchHeight to each item container's items 502$('.content').each(function() { 503 $(this).find('.owl-carousel .grid-item').find('.grid-item-content').matchHeight({ 504 //property: 'min-height' 505 }); 506 $(this).find('.spaces-item').find('.grid-item-content').matchHeight({ 507 //property: 'min-height' 508 }); 509}); 510// Header and Navigation Height as per the Logo height 511function LOGOH(){ 512 var LHM = $('.site-logo img').height(); 513 var LHMM = LHM + 34; 514 if($(window).width() < 992){ 515 $('.header-style2 .dd-menu').css('top',LHMM+'px'); 516 $('.header-style2 #menu-toggle').css('line-height',LHMM+'px'); 517 $('.header-style3 #menu-toggle').css('line-height',LHMM+'px'); 518 } 519} 520 521// WINDOW RESIZE FUNCTIONS // 522$(window).resize(function(){ 523 ExFunc(); 524 FBLH(); 525 LOGOH(); 526 WWHGetter(); 527}); 528 529// Centering the dropdown menus 530$(".main-navigation ul li").mouseover(function() { 531 var the_width = $(this).find("a").width(); 532 var child_width = $(this).find("ul").width(); 533 var width = ((child_width - the_width)/2); 534 $(this).find("ul").css('left', -width); 535}); 536 537// Main Nav Line Height 538var SiteLogoH = $('.site-logo').height(); 539$('.header-style2 .main-navigation > ul > li > a').css('line-height',SiteLogoH+'px'); 540 541// Any Button Scroll to section 542$('.scrollto').on("click", function(){ 543 $.scrollTo( this.hash, 800, { easing:'easeOutQuint' }); 544 return false;
545}); 546 547// FITVIDS 548$(".fw-video, .post-media").fitVids(); 549 550 551$(window).load(function(){ 552 $(".format-image").each(function(){ 553 $(this).find(".media-box").append("<span class='zoom'><span class='icon'><i class='icon-expand'></i></span></span>"); 554 }); 555 $(".format-standard").each(function(){ 556 $(this).find(".media-box").append("<span class='zoom'><span class='icon'><i class='fa fa-arrow-right'></i></span></span>"); 557 }); 558 $(".format-video").each(function(){ 559 $(this).find(".media-box").append("<span class='zoom'><span class='icon'><i class='icon-music-play'></i></span></span>"); 560 }); 561 $(".format-link").each(function(){ 562 $(this).find(".media-box").append("<span class='zoom'><span class='icon'><i class='fa fa-link'></i></span></span>"); 563 }); 564 $(".additional-images .owl-carousel .item-video").each(function(){ 565 $(this).append("<span class='icon'><i class='fa fa-play'></i></span>"); 566 }); 567 VESTIGE.StickyHeader(); 568 FBLH(); 569 $('.carousel-wrapper').css('background','none'); 570 571}); 572 573// Icon Append 574$('.basic-link').append(' <i class="fa fa-angle-right"></i>'); 575$('.basic-link.backward').prepend(' <i class="fa fa-angle-left"></i> '); 576$('ul.checks li, .add-features-list li').prepend('<i class="fa fa-check"></i> '); 577$('ul.angles li, .widget_categories ul li a, .widget_archive ul li a, .widget_recent_entries ul li a, .widget_recent_comments ul li a, .widget_links ul li a, .widget_meta ul li a').prepend('<i class="fa fa-angle-right"></i> '); 578$('ul.chevrons li').prepend('<i class="fa fa-chevron-right"></i> '); 579$('ul.carets li, ul.inline li, .filter-options-list li').prepend('<i class="fa fa-caret-right"></i> '); 580$('a.external').prepend('<i class="fa fa-external-link"></i> '); 581 582// Animation Appear 583var AppDel; 584function AppDelFunction($appd) { 585 $appd.addClass("appear-animation"); 586 if(!$("html").hasClass("no-csstransitions") && $(window).width() > 767) { 587 $appd.appear(function() { 588 var delay = ($appd.attr("data-appear-animation-delay") ? $appd.attr("data-appear-animation-delay") : 1); 589 if(delay > 1) $appd.css("animation-delay", delay + "ms"); 590 $appd.addClass($appd.attr("data-appear-animation")); 591 setTimeout(function() { 592 $appd.addClass("appear-animation-visible"); 593 }, delay); 594 clearTimeout(); 595 }, {accX: 0, accY: -150}); 596 } else { 597 $appd.addClass("appear-animation-visible"); 598 } 599} 600function AppDelStopFunction() { 601 clearTimeout(AppDel); 602} 603$("[data-appear-animation]").each(function() { 604 var $this = $(this); 605 AppDelFunction($this); 606 AppDelStopFunction(); 607}); 608// Animation Progress Bars 609 610var AppAni; 611function AppAniFunction($anim) { 612 $anim.appear(function() { 613 var delay = ($anim.attr("data-appear-animation-delay") ? $anim.attr("data-appear-animation-delay") : 1); 614 if(delay > 1) $anim.css("animation-delay", delay + "ms"); 615 $anim.addClass($anim.attr("data-appear-animation")); 616 setTimeout(function() { 617 $anim.animate({ 618 width: $anim.attr("data-appear-progress-animation") 619 }, 1500, "easeOutQuad", function() { 620 $anim.find(".progress-bar-tooltip").animate({ 621 opacity: 1 622 }, 500, "easeOutQuad"); 623 }); 624 }, delay); 625 clearTimeout(); 626 }, {accX: 0, accY: -50}); 627} 628function AppAniStopFunction() { 629 clearTimeout(AppAni); 630} 631$("[data-appear-progress-animation]").each(function() { 632 var $this = $(this); 633 AppAniFunction($this); 634 AppAniStopFunction(); 635}); 636 637// Parallax Jquery Callings 638if(!Modernizr.touch) { 639 $(window).on('load', function () {
640 parallaxInit(); 641 }); 642} 643function parallaxInit() { 644 $('.parallax1').parallax("50%", 0.1); 645 $('.parallax2').parallax("50%", 0.1); 646 $('.parallax3').parallax("50%", 0.1); 647 $('.parallax4').parallax("50%", 0.1); 648 $('.parallax5').parallax("50%", 0.1); 649 $('.parallax6').parallax("50%", 0.1); 650 $('.parallax7').parallax("50%", 0.1); 651 $('.parallax8').parallax("50%", 0.1); 652 /*add as necessary*/ 653} 654 655// Window height/Width Getter Classes 656function WWHGetter(){ 657 var wheighter = $(window).height(); 658 var wwidth = $(window).width(); 659 $(".wheighter").css("height",wheighter); 660 $(".wwidth").css("width",wwidth); 661} 662});
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.