sketch.js 588 B

1234567891011121314151617181920212223242526
  1. ( function($) {
  2. $( '.flex-viewport-wrapper' ).flexslider( {
  3. animation: "slide",
  4. slideshow: false,
  5. animationLoop: true,
  6. controlNav: false,
  7. directionNav: true,
  8. carousel: false,
  9. itemMargin: 0,
  10. itemWidth: 1092
  11. } );
  12. $(window).on( 'resize', $( '.flex-viewport-wrapper' ).flexslider() );
  13. /**
  14. * Disable default click behavior in
  15. * More Projects list on
  16. * portfolio current project item
  17. */
  18. $( '.project-navigation-wrapper li.current' ).on( 'click', function( e ) {
  19. e.preventDefault();
  20. $( this ).css( 'cursor', 'default' );
  21. });
  22. } )(jQuery);