1$(document).ready(function(){ 2 // display content once loaded 3 $('body').css('display', 'block'); 4 $('#fullpage').css('display', 'block'); 5 6 //setup the options from the website 7 //https://github.com/alvarotrigo/fullPage.js 8 $('#fullpage').fullpage({ 9 //Navigation 10 menu: '#menu', 11 anchors: ['EM', 'AA', 'MB', 'LdB', 'AAVL'], 12 13 //Scrolling 14 css: true, 15 loopHorizontal: false, 16 // resetSliders: true, 17 18 //Accessibility 19 keyboardScrolling: true, 20 21 //Design 22 controlArrows: true, 23 sectionsColor: ['#fff', '#fff', '#fff', '#fff', '#fff'], 24 25 // fixedElements: '#header, .footer', 26 scrollingSpeed: 1000, 27 slidesNavigation: true, 28 slidesNavPosition:'bottom', 29 //events 30 onLeave: function(index, nextIndex, direction){ 31 setTimeout(function () { 32 var section = $('.section').eq((index - 1)); 33 //if the section we are leaving has slides... 34 if (section.find('.slide').length) { 35 //moving to slide 0 36 $.fn.fullpage.scrollSlider(section, 0); 37 } 38 }, 800); 39 40 }, 41 afterLoad: function(anchorLink, index){ 42 $('#myNav').height('0%'); 43 $('#burger').show(); 44 }, 45 afterRender: function(){}, 46 afterResize: function(){}, 47 afterResponsive: function(isResponsive){}, 48 afterSlideLoad: function(anchorLink, index, slideAnchor, slideIndex){}, 49 onSlideLeave: function(anchorLink, index, slideIndex, direction, nextSlideIndex){} 50 51 }); 52 53 // change the favicon when mouse click 54 var swap = true; 55 $(document).click(function(event) { 56 if(swap){ 57 $('link[rel="shortcut icon"]').attr('href','./assets/icons/favicon1.ico'); 58 }else{ 59 $('link[rel="shortcut icon"]').attr('href','./assets/icons/favicon2.ico'); 60 } 61 swap=!swap;
62 }); 63 64 //menu interactions for mobile 65 $('#burger').click(function(event) { 66 $('#myNav').height('100%'); 67 $(this).hide(); 68 }); 69 70 $('#closebtn').click(function(event) { 71 $('#myNav').height('0%'); 72 $('#burger').show(); 73 }); 74 75 // fancybox video setup 76 setupFancyBox(); 77 78 function setupFancyBox(){ 79 80 $('.fancybox-media').fancybox({ 81 openEffect : 'none', 82 closeEffect : 'none', 83 helpers : { 84 media : {} 85 }, 86 padding: 0, 87 scrollOutside: 'false' 88 89 }); 90 } 91 92});
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.