Fast boats and Beluga whales Captain JimOctober 15, 2018Marine News [ad_1] Fast boats and Beluga whales >> Scuttlebutt Sailing News ‘,image : ‘‘,iframe : ”,error : ‘ The requested content cannot be loaded.Please try again later. ‘,closeBtn : ”,next : ‘‘,prev : ‘‘},helpers: {title: {type: ‘fixed’,alwaysShow: ‘1’,},thumbs: {width: 75,height: 50,mobile_thumbs: 1,mobile_width: 75,mobile_height: 50,source: function(current) {if ( typeof current.element == ‘undefined’ ) {return current.thumbnail;} else {return $(current.element).data(‘thumbnail’);}},mobileSource: function(current) {if ( typeof current.element == ‘undefined’ ) {return current.mobile_thumbnail;} else {return $(current.element).data(‘mobile-thumbnail’);}},dynamicMargin: true,dynamicMarginAmount: 0,position: ‘bottom’,},slideshow: {skipSingle: true},navDivsRoot: false,actionDivRoot: false,},beforeLoad: function(){this.title = $(”).append( $(this.element).attr(‘title’) ).text(); },afterLoad: function(){$(‘.envirabox-overlay-fixed’).on({‘touchmove’ : function(e){e.preventDefault();}});$.extend(this, {scrolling: ‘no’});},beforeShow: function(){$(window).on({‘resize.envirabox’ : function(){$.envirabox.update();}});if ( typeof this.element === ‘undefined’ ) {var gallery_id = this.group[ this.index ].gallery_id,gallery_item_id = this.group[ this.index ].id,alt = this.group[ this.index ].alt,title = this.group[ this.index ].title,caption = this.group[ this.index ].caption,index = this.index,full_sized_image = this.group[ this.index ].href;} else { var parent_element = this.element.find(‘img’).parent().parent(); var gallery_id = this.element.find(‘img’).data(‘envira-gallery-id’);var gallery_item_id = this.element.find(‘img’).data(‘envira-item-id’);var alt = this.element.find(‘img’).attr(‘alt’);var title = parent_element.attr(‘title’);var caption = parent_element.data(‘envira-caption’);var retina_image = parent_element.data(‘envira-retina’);var index = this.element.find(‘img’).data(‘envira-index’);var src = this.element.find(‘img’).attr(‘src’);var full_sized_image = this.element.find(‘img’).attr(‘data-envira-fullsize-src’);}this.inner.find(‘img’).attr(‘alt’, alt).attr(‘data-envira-gallery-id’, gallery_id).attr(‘data-envira-fullsize-src’, full_sized_image).attr(‘data-envira-item-id’, gallery_item_id).attr(‘data-envira-title’, title).attr(‘data-envira-caption’, caption).attr(‘data-envira-index’, index);$(‘.envirabox-wrap’).attr(‘alt’, alt).attr(‘data-envira-gallery-id’, gallery_id).attr(‘data-envira-fullsize-src’, full_sized_image).attr(‘data-envira-item-id’, gallery_item_id).attr(‘data-envira-title’, title).attr(‘data-envira-caption’, caption).attr(‘data-envira-index’, index).attr(‘data-envira-src’, src);if ( typeof retina_image !== ‘undefined’ && retina_image !== ” ) {this.inner.find(‘img’).attr(‘srcset’, retina_image + ‘ 2x’);}$(‘.envirabox-overlay’).addClass( ‘overlay-base_dark’ );$(‘.envirabox-overlay’).addClass( ‘overlay-video’ );$(‘.envirabox-overlay’).addClass(‘envirabox-thumbs’);var overlay_supersize = true;if(overlay_supersize) {$(‘.envirabox-overlay’).addClass( ‘overlay-supersize’ );$(‘#envirabox-thumbs’).addClass( ‘thumbs-supersize’ );}$(‘.envira-close’).click(function(event) {event.preventDefault();$.envirabox.close();});},afterShow: function(){if ( $(‘#envirabox-thumbs ul li’).length > 0 ) {$(‘#envirabox-thumbs’).swipe( {excludedElements:”.noSwipe”,swipe: function(event, direction, distance, duration, fingerCount, fingerData) {if (direction === ‘left’ && fingerCount 1 ) {$.envirabox.jumpto( 0 );} else if (direction === ‘right’ && fingerCount 1 ) {$.envirabox.jumpto( sizeof( $(‘#envirabox-thumbs ul li’).length ) );}}} );}$(‘.envirabox-wrap, .envirabox-wrap a.envirabox-nav’).swipe( {excludedElements:”label, button, input, select, textarea, .noSwipe”,swipe: function(event, direction, distance, duration, fingerCount, fingerData) {if (direction === ‘left’) {$.envirabox.next(direction);} else if (direction === ‘right’) {$.envirabox.prev(direction);} else if (direction === ‘up’) {}}} );var overlay_supersize = true;if(overlay_supersize) {$(‘#envirabox-thumbs’).addClass( ‘thumbs-supersize’ );}},beforeClose: function(){},afterClose: function(){$(window).off(‘resize.envirabox’);},onUpdate: function(){},onCancel: function(){},onPlayStart: function(){},onPlayEnd: function(){}};envira_galleries[‘82161’] = $(‘.envira-gallery-82161’).envirabox( envira_gallery_options[‘82161’] );},};if ( envira_gallery[‘82161’] !== undefined ) {envira_gallery[‘82161’].init();}}); [ad_2] click here to visit original article Share this post About the Author: Captain Jim