text: $(document).ready(function() {
      $('#fullpage').fullpage({
          //Navigation
          menu: false,
          anchors:['home', 'about', 'contact'],
          navigation: true,
          navigationPosition: 'right',
  //        navigationTooltips: ['firstSlide', 'secondSlide'],
          slidesNavigation: true,
          slidesNavPosition: 'top',
  
          //Scrolling
          css3: true,
          scrollingSpeed: 700,
          autoScrolling: true,
          scrollBar: false,
          easing: 'easeInQuart',
          easingcss3: 'ease',
  //        loopBottom: true,
  //        loopTop: true,
          loopHorizontal: true,
  //        continuousVertical: true,
  //        normalScrollElements: '#element1, .element2',
          scrollOverflow: false,
          touchSensitivity: 15,
          normalScrollElementTouchThreshold: 5,
  
          //Accessibility
          keyboardScrolling: true,
          animateAnchor: true,
  //        recordHistory: true,
  
          //Design
          controlArrows: true,
          verticalCentered: true,
          resize : true,
  //        sectionsColor : ['#ccc', '#fff'],
          paddingTop: '3em',
          paddingBottom: '10px',
          fixedElements: '#header, .footer',
          responsive: 0,
  
          //Custom selectors
          sectionSelector: '.section',
          slideSelector: '.slide',
  
          //events
          onLeave: function(index, nextIndex, direction){
          
          },
          afterLoad: function(anchorLink, index){},
          afterRender: function(){},
          afterResize: function(){},
          afterSlideLoad: function(anchorLink, index, slideAnchor, slideIndex){},
          onSlideLeave: function(anchorLink, index, slideIndex, direction){}
      });
  });