We recently sent a member of our technical team, Jack Bishop, to Rotterdam to receive technical training from DJI. Keeping our technicians up to date with the latest DJI products and peripherals is a priority for us here at Heliguy as it benefits our customers, our staff and gains us access to the proprietary components that are required to fully service DJI’s drones.
After an intense weeklong course which covered the repair of three highly popular aircraft: the Inspire 2, the Phantom 4 Pro and the Mavic Pro – he has put together a brief day-to-day run through of his experience.
Read on to find out what he got up to, why our in-house repair centre is the go-to UK DJI experts and also to see some impressive imagery of synchronised drone flights.
DJI Training: Jack Bishop, Heliguy Technician
My name is Jack Bishop, I work as a repair technician as part of Heliguy’s technical team. Recently I was invited to attend a 7-day course at DJI’s European repair centre located just outside of the city of Rotterdam.
Before I get into the specifics I would like to say a big thank you to Jeremy and Cihan for putting together an engaging course and big thank to the other five attendees of the course for making my time in the Netherlands an absolute pleasure.
The 7-day course was broken down into three sections for the three different aircraft we would receive training on, the DJI Inspire 2, the Phantom 4 Pro and the Mavic Pro.
Days 1 and 2
We were tasked with the most challenging aircraft to disassemble, the DJI Inspire 2.
Fortunately, DJI has designed the Inspire 2 to be a completely serviceable aircraft, making every component available to authorised repair centres. The Inspire 2 training took up the majority of the first week, three days in total were spent completely stripping down the aircraft to component form, rebuilding and assessing customer aircraft that had been sent it. We were marked on the quality of our Inspire 2 rebuild and the accuracy of the assessment portion of the exam.
Day 3
We were tasked with assessing three Inspire 2 aircraft that had been sent to DJI for repair.
var data_gallery_16 = [];
var event_stack_gallery_16 = [];
data_gallery_16[“0”]=[];data_gallery_16[“0”][“id”]=”0″;data_gallery_16[“0”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-29-03-2017-13-13-16.jpg”;data_gallery_16[“0”][“description”]=””;data_gallery_16[“0”][“alt”]=””;data_gallery_16[“1”]=[];data_gallery_16[“1”][“id”]=”1″;data_gallery_16[“1”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-29-03-2017-13-46-26.jpg”;data_gallery_16[“1”][“description”]=””;data_gallery_16[“1”][“alt”]=””;data_gallery_16[“2”]=[];data_gallery_16[“2”][“id”]=”2″;data_gallery_16[“2”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-29-03-2017-13-47-55.jpg”;data_gallery_16[“2”][“description”]=””;data_gallery_16[“2”][“alt”]=””;data_gallery_16[“3”]=[];data_gallery_16[“3”][“id”]=”3″;data_gallery_16[“3”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-29-03-2017-14-31-39.jpg”;data_gallery_16[“3”][“description”]=””;data_gallery_16[“3”][“alt”]=””; var huge_it_trans_in_progress_gallery_16 = false;
var huge_it_transition_duration_gallery_16 = 1000;
var huge_it_playInterval_gallery_16;
// Stop autoplay.
window.clearInterval(huge_it_playInterval_gallery_16);
// alert(‘huge_it_current_key_gallery_16’);
var huge_it_current_key_gallery_16 = ”;
function huge_it_move_dots_gallery_16() {
var image_left = jQuery(“.huge_it_slideshow_dots_active_gallery_16”).position().left;
var image_right = jQuery(“.huge_it_slideshow_dots_active_gallery_16”).position().left + jQuery(“.huge_it_slideshow_dots_active_gallery_16″).outerWidth(true);
}
function huge_it_testBrowser_cssTransitions_gallery_16() {
return huge_it_testDom_gallery_16(‘Transition’);
}
function huge_it_testBrowser_cssTransforms3d_gallery_16() {
return huge_it_testDom_gallery_16(‘Perspective’);
}
function huge_it_testDom_gallery_16(prop) {
// Browser vendor CSS prefixes.
var browserVendors = [”, ‘-webkit-‘, ‘-moz-‘, ‘-ms-‘, ‘-o-‘, ‘-khtml-‘];
// Browser vendor DOM prefixes.
var domPrefixes = [”, ‘Webkit’, ‘Moz’, ‘ms’, ‘O’, ‘Khtml’];
var i = domPrefixes.length;
while (i–) {
if (typeof document.body.style[domPrefixes[i] + prop] !== ‘undefined’) {
return true;
}
}
return false;
}
function huge_it_cube_gallery_16(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) {
/* If browser does not support 3d transforms/CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_16()) {
jQuery(“.huge_it_slideshow_dots_gallery_16”).removeClass(“huge_it_slideshow_dots_active_gallery_16”).addClass(“huge_it_slideshow_dots_deactive_gallery_16”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_16 + “_gallery_16”).removeClass(“huge_it_slideshow_dots_deactive_gallery_16”).addClass(“huge_it_slideshow_dots_active_gallery_16”);
return huge_it_fallback_gallery_16(current_image_class, next_image_class, direction);
}
if (!huge_it_testBrowser_cssTransforms3d_gallery_16()) {
return huge_it_fallback3d_gallery_16(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_16 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_16”).removeClass(“huge_it_slideshow_dots_active_gallery_16”).addClass(“huge_it_slideshow_dots_deactive_gallery_16”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_16 + “_gallery_16”).removeClass(“huge_it_slideshow_dots_deactive_gallery_16”).addClass(“huge_it_slideshow_dots_active_gallery_16”);
jQuery(“.huge_it_slide_bg_gallery_16”).css(‘perspective’, 1000);
jQuery(current_image_class).css({
transform : ‘translateZ(‘ + tz + ‘px)’,
backfaceVisibility : ‘hidden’
});
jQuery(“.huge_it_slideshow_image_wrap_gallery_16,.huge_it_slide_bg_gallery_16,.huge_it_slideshow_image_item_gallery_16,.huge_it_slideshow_image_second_item_gallery_16 “).css(‘overflow’, ‘visible’);
jQuery(next_image_class).css({
opacity : 1,
filter: ‘Alpha(opacity=100)’,
backfaceVisibility : ‘hidden’,
transform : ‘translateY(‘ + nty + ‘px) translateX(‘ + ntx + ‘px) rotateY(‘+ nry +’deg) rotateX(‘+ nrx +’deg)’
});
jQuery(“.huge_it_slider_gallery_16”).css({
transform: ‘translateZ(-‘ + tz + ‘px)’,
transformStyle: ‘preserve-3d’
});
/* Execution steps.*/
setTimeout(function () {
jQuery(“.huge_it_slider_gallery_16”).css({
transition: ‘all ‘ + huge_it_transition_duration_gallery_16 + ‘ms ease-in-out’,
transform: ‘translateZ(-‘ + tz + ‘px) rotateX(‘+ wrx +’deg) rotateY(‘+ wry +’deg)’
});
}, 20);
/* After transition.*/
jQuery(“.huge_it_slider_gallery_16”).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(“.huge_it_slide_bg_gallery_16,.huge_it_slideshow_image_item_gallery_16,.huge_it_slideshow_image_second_item_gallery_16 “).css(‘overflow’, ‘hidden’);
jQuery(“.huge_it_slide_bg_gallery_16”).removeAttr(‘style’);
jQuery(current_image_class).removeAttr(‘style’);
jQuery(next_image_class).removeAttr(‘style’);
jQuery(“.huge_it_slider_gallery_16”).removeAttr(‘style’);
jQuery(current_image_class).css({‘opacity’ : 0, filter: ‘Alpha(opacity=0)’, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, filter: ‘Alpha(opacity=100)’, ‘z-index’ : 2});
// huge_it_change_watermark_container_gallery_16();
huge_it_trans_in_progress_gallery_16 = false;
if (typeof event_stack_gallery_16 !== ‘undefined’ && event_stack_gallery_16.length > 0) {
key = event_stack_gallery_16[0].split(“-“);
event_stack_gallery_16.shift();
huge_it_change_image_gallery_16(key[0], key[1], data_gallery_16, true,false);
}
}
}
function huge_it_cubeH_gallery_16(current_image_class, next_image_class, direction) {
/* Set to half of image width.*/
var dimension = jQuery(current_image_class).width() / 2;
if (direction == ‘right’) {
huge_it_cube_gallery_16(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_16(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);
}
}
function huge_it_cubeV_gallery_16(current_image_class, next_image_class, direction) {
/* Set to half of image height.*/
var dimension = jQuery(current_image_class).height() / 2;
/* If next slide.*/
if (direction == ‘right’) {
huge_it_cube_gallery_16(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_16(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);
}
}
/* For browsers that does not support transitions.*/
function huge_it_fallback_gallery_16(current_image_class, next_image_class, direction) {
huge_it_fade_gallery_16(current_image_class, next_image_class, direction);
}
/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
function huge_it_fallback3d_gallery_16(current_image_class, next_image_class, direction) {
huge_it_sliceV_gallery_16(current_image_class, next_image_class, direction);
}
function huge_it_none_gallery_16(current_image_class, next_image_class, direction) {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_16”).removeClass(“huge_it_slideshow_dots_active_gallery_16”).addClass(“huge_it_slideshow_dots_deactive_gallery_16”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_16 + “_gallery_16”).removeClass(“huge_it_slideshow_dots_deactive_gallery_16”).addClass(“huge_it_slideshow_dots_active_gallery_16”);
}
function huge_it_fade_gallery_16(current_image_class, next_image_class, direction) {
if (huge_it_testBrowser_cssTransitions_gallery_16()) {
jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_16 + ‘ms linear’);
jQuery(current_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_16 + ‘ms linear’);
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
}
else {
jQuery(current_image_class).animate({‘opacity’ : 0, ‘z-index’ : 1}, huge_it_transition_duration_gallery_16);
jQuery(next_image_class).animate({
‘opacity’ : 1,
‘z-index’: 2
}, {
duration: huge_it_transition_duration_gallery_16,
complete: function () {return false;}
});
// For IE.
jQuery(current_image_class).fadeTo(huge_it_transition_duration_gallery_16, 0);
jQuery(next_image_class).fadeTo(huge_it_transition_duration_gallery_16, 1);
}
jQuery(“.huge_it_slideshow_dots_gallery_16”).removeClass(“huge_it_slideshow_dots_active_gallery_16”).addClass(“huge_it_slideshow_dots_deactive_gallery_16”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_16 + “_gallery_16”).removeClass(“huge_it_slideshow_dots_deactive_gallery_16”).addClass(“huge_it_slideshow_dots_active_gallery_16”);
}
function huge_it_grid_gallery_16(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {
/* If browser does not support CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_16()) {
jQuery(“.huge_it_slideshow_dots_gallery_16”).removeClass(“huge_it_slideshow_dots_active_gallery_16”).addClass(“huge_it_slideshow_dots_deactive_gallery_16”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_16 + “_gallery_16”).removeClass(“huge_it_slideshow_dots_deactive_gallery_16”).addClass(“huge_it_slideshow_dots_active_gallery_16”);
return huge_it_fallback_gallery_16(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_16 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_16”).removeClass(“huge_it_slideshow_dots_active_gallery_16”).addClass(“huge_it_slideshow_dots_deactive_gallery_16”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_16 + “_gallery_16”).removeClass(“huge_it_slideshow_dots_deactive_gallery_16”).addClass(“huge_it_slideshow_dots_active_gallery_16”);
/* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
var count = (huge_it_transition_duration_gallery_16) / (cols + rows);
/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
function huge_it_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
var delay = (c + r) * count;
/* Return a gridlet elem with styles for specific transition.*/
return jQuery(‘
‘).css({
width : width,
height : height,
top : top,
left : left,
backgroundImage : ‘url(“‘ + src + ‘”)’,
backgroundColor: jQuery(“.huge_it_slideshow_image_wrap_gallery_16”).css(“background-color”),
/*backgroundColor: rgba(0, 0, 0, 0),*/
backgroundRepeat: ‘no-repeat’,
backgroundPosition : img_left + ‘px ‘ + img_top + ‘px’,
backgroundSize : imgWidth + ‘px ‘ + imgHeight + ‘px’,
transition : ‘all ‘ + huge_it_transition_duration_gallery_16 + ‘ms ease-in-out ‘ + delay + ‘ms’,
transform : ‘none’
});
}
/* Get the current slide’s image.*/
var cur_img = jQuery(current_image_class).find(‘img’);
/* Create a grid to hold the gridlets.*/
var grid = jQuery(‘
‘).addClass(‘huge_it_grid_gallery_16’);
/* Prepend the grid to the next slide (i.e. so it’s above the slide image).*/
jQuery(current_image_class).prepend(grid);
/* vars to calculate positioning/size of gridlets*/
var cont = jQuery(“.huge_it_slide_bg_gallery_16″);
var imgWidth = cur_img.width();
var imgHeight = cur_img.height();
var contWidth = cont.width(),
contHeight = cont.height(),
imgSrc = cur_img.attr(‘src’),/*.replace(‘/thumb’, ”),*/
colWidth = Math.floor(contWidth / cols),
rowHeight = Math.floor(contHeight / rows),
colRemainder = contWidth – (cols * colWidth),
colAdd = Math.ceil(colRemainder / cols),
rowRemainder = contHeight – (rows * rowHeight),
rowAdd = Math.ceil(rowRemainder / rows),
leftDist = 0,
img_leftDist = (jQuery(“.huge_it_slide_bg_gallery_16”).width() – cur_img.width()) / 2;
/* tx/ty args can be passed as ‘auto’/’min-auto’ (meaning use slide width/height or negative slide width/height).*/
tx = tx === ‘auto’ ? contWidth : tx;
tx = tx === ‘min-auto’ ? – contWidth : tx;
ty = ty === ‘auto’ ? contHeight : ty;
ty = ty === ‘min-auto’ ? – contHeight : ty;
/* Loop through cols*/
for (var i = 0; i 0) {
var add = colRemainder >= colAdd ? colAdd : colRemainder;
newColWidth += add;
colRemainder -= add;
}
/* Nested loop to create row gridlets for each col.*/
for (var j = 0; j 0) {
add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
newRowHeight += add;
newRowRemainder -= add;
}
/* Create & append gridlet to grid.*/
grid.append(huge_it_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
topDist += newRowHeight;
img_topDst -= newRowHeight;
}
img_leftDist -= newColWidth;
leftDist += newColWidth;
}
/* Set event listener on last gridlet to finish transitioning.*/
var last_gridlet = grid.children().last();
/* Show grid & hide the image it replaces.*/
grid.show();
cur_img.css(‘opacity’, 0);
/* Add identifying classes to corner gridlets (useful if applying border radius).*/
grid.children().first().addClass(‘rs-top-left’);
grid.children().last().addClass(‘rs-bottom-right’);
grid.children().eq(rows – 1).addClass(‘rs-bottom-left’);
grid.children().eq(- rows).addClass(‘rs-top-right’);
/* Execution steps.*/
setTimeout(function () {
grid.children().css({
opacity: op,
transform: ‘rotate(‘+ ro +’deg) translateX(‘+ tx +’px) translateY(‘+ ty +’px) scale(‘+ sc +’)’
});
}, 1);
jQuery(next_image_class).css(‘opacity’, 1);
/* After transition.*/
jQuery(last_gridlet).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
cur_img.css(‘opacity’, 1);
grid.remove();
huge_it_trans_in_progress_gallery_16 = false;
if (typeof event_stack_gallery_16 !== ‘undefined’ && event_stack_gallery_16.length > 0) {
key = event_stack_gallery_16[0].split(“-“);
event_stack_gallery_16.shift();
huge_it_change_image_gallery_16(key[0], key[1], data_gallery_16, true,false);
}
}
}
function huge_it_sliceH_gallery_16(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_16(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_sliceV_gallery_16(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateY = ‘auto’;
}
huge_it_grid_gallery_16(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_slideV_gallery_16(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘auto’;
}
else if (direction == ‘left’) {
var translateY = ‘min-auto’;
}
huge_it_grid_gallery_16(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_slideH_gallery_16(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_16(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_scaleOut_gallery_16(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_16(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_scaleIn_gallery_16(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_16(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_blockScale_gallery_16(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_16(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction);
}
function huge_it_kaleidoscope_gallery_16(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_16(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_fan_gallery_16(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var rotate = 45;
var translateX = 100;
}
else if (direction == ‘left’) {
var rotate = -45;
var translateX = -100;
}
huge_it_grid_gallery_16(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_blindV_gallery_16(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_16(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_blindH_gallery_16(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_16(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_random_gallery_16(current_image_class, next_image_class, direction) {
var anims = [‘sliceH’, ‘sliceV’, ‘slideH’, ‘slideV’, ‘scaleOut’, ‘scaleIn’, ‘blockScale’, ‘kaleidoscope’, ‘fan’, ‘blindH’, ‘blindV’];
/* Pick a random transition from the anims array.*/
this[“huge_it_” + anims[Math.floor(Math.random() * anims.length)] + “_gallery_16”](current_image_class, next_image_class, direction);
}
function iterator_gallery_16() {
var iterator = 1;
return iterator;
}
function huge_it_change_image_gallery_16(current_key, key, data_gallery_16, from_effect,clicked) {
if (data_gallery_16[key]) {
if(typeof video_is_playing_gallery_16 != ‘undefined’ && video_is_playing_gallery_16 && !clicked){
return false;
}
if (!from_effect) {
// Change image key.
jQuery(“#huge_it_current_image_key_gallery_16”).val(key);
// if (current_key == ‘-2’) { /* Dots.*/
current_key = jQuery(“.huge_it_slideshow_dots_active_gallery_16”).attr(“data-image_key”);
// }
}
if (huge_it_trans_in_progress_gallery_16) {
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_16″).after(” –IN TRANSACTION–
“);
event_stack_gallery_16.push(current_key + ‘-‘ + key);
return;
}
var direction = ‘right’;
if (huge_it_current_key_gallery_16 > key) {
var direction = ‘left’;
}
else if (huge_it_current_key_gallery_16 == key) {
return false;
}
// Set active thumbnail position.
huge_it_current_key_gallery_16 = key;
//Change image id, title, description.
jQuery(“.huge_it_slideshow_image_gallery_16”).attr(‘data-image_id’, data_gallery_16[key][“id”]);
jQuery(“.huge_it_slideshow_title_text_gallery_16”).html(data_gallery_16[key][“alt”]);
jQuery(“.huge_it_slideshow_description_text_gallery_16”).html(data_gallery_16[key][“description”]);
var current_image_class = “#image_id_gallery_16_” + data_gallery_16[current_key][“id”];
var next_image_class = “#image_id_gallery_16_” + data_gallery_16[key][“id”];
if(jQuery(current_image_class).find(‘.huge_it_video_frame_gallery_16′).length>0) {
var streffect=’fade’;
if(streffect==”cubeV” || streffect==”cubeH” || streffect==”none” || streffect==”fade”){
huge_it_fade_gallery_16(current_image_class, next_image_class, direction);
}else{
huge_it_fade_gallery_16(current_image_class, next_image_class, direction);
}
}else{
huge_it_fade_gallery_16(current_image_class, next_image_class, direction);
}
jQuery(‘.huge_it_slideshow_title_text_gallery_16’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_title_text_gallery_16’).html()==””){jQuery(‘.huge_it_slideshow_title_text_gallery_16’).addClass(‘none’);}
jQuery(‘.huge_it_slideshow_description_text_gallery_16’).removeClass(‘none’);
jQuery(‘.huge_it_gallery_like_cont_169542’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_description_text_gallery_16’).html()==””){
jQuery(‘.huge_it_slideshow_description_text_gallery_16’).addClass(‘none’);
}
jQuery(current_image_class).find(‘.huge_it_slideshow_title_text_gallery_16’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_slideshow_description_text_gallery_16’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_gallery_like_cont_169542’).addClass(‘none’);
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_16”).after(“–cur-key=”+current_key+” –cur-img-class=”+current_image_class+” nxt-img-class=”+next_image_class+”–“);
huge_it_move_dots_gallery_16();
window.clearInterval(huge_it_playInterval_gallery_16);
play_gallery_16();
}
}
function huge_it_popup_resize_gallery_16() {
var staticsliderwidth=600;
var sliderwidth=600;
var bodyWidth=jQuery(window).width();
var parentWidth = jQuery(“.huge_it_slideshow_image_wrap_gallery_16″).parent().width();
if(sliderwidth>parentWidth){sliderwidth=parentWidth;}
if(sliderwidth>bodyWidth){sliderwidth=bodyWidth;}
var str=(400/staticsliderwidth);
jQuery(‘.huge_it_slideshow_image_wrap_gallery_16’).css({‘max-height’:parentWidth*str-2*0});
}
jQuery(window).load(function () {
jQuery(window).resize(function() {
huge_it_popup_resize_gallery_16();
});
huge_it_popup_resize_gallery_16();
/* Disable right click.*/
jQuery(‘div[id^=”huge_it_container”]’).bind(“contextmenu”, function () {
return false;
});
/*HOVER SLIDESHOW*/
jQuery(“#huge_it_slideshow_image_container_gallery_16, .huge_it_slideshow_image_container_gallery_16, .huge_it_slideshow_dots_container_gallery_16,#huge_it_slideshow_right_gallery_16,#huge_it_slideshow_left_gallery_16”).hover(function(){
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_16″).after(” — hover —
“);
jQuery(“#huge_it_slideshow_right_gallery_16”).css({‘display’:’inline’});
jQuery(“#huge_it_slideshow_left_gallery_16”).css({‘display’:’inline’});
},function(){
jQuery(“#huge_it_slideshow_right_gallery_16”).css({‘display’:’none’});
jQuery(“#huge_it_slideshow_left_gallery_16″).css({‘display’:’none’});
});
var pausehover=”on”;
if(pausehover==”on”){
jQuery(“#huge_it_slideshow_image_container_gallery_16, .huge_it_slideshow_image_container_gallery_16, .huge_it_slideshow_dots_container_gallery_16,#huge_it_slideshow_right_gallery_16,#huge_it_slideshow_left_gallery_16”).hover(function(){
window.clearInterval(huge_it_playInterval_gallery_16);
},function(){
window.clearInterval(huge_it_playInterval_gallery_16);
play_gallery_16();
});
}
play_gallery_16();
});
function play_gallery_16() {
/* Play.*/
huge_it_playInterval_gallery_16 = setInterval(function () {
var iterator = 1;
huge_it_change_image_gallery_16(parseInt(jQuery(‘#huge_it_current_image_key_gallery_16’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_gallery_16’).val()) + iterator) % data_gallery_16.length, data_gallery_16,false,false);
}, ‘5000’);
}
jQuery(window).focus(function() {
var i_gallery_16 = 0;
jQuery(“.huge_it_slider_gallery_16”).children(“div”).each(function () {
if (jQuery(this).css(‘opacity’) == 1) {
jQuery(“#huge_it_current_image_key_gallery_16”).val(i_gallery_16);
}
i_gallery_16++;
});
play_gallery_16();
});
jQuery(window).blur(function() {
event_stack_gallery_16 = [];
window.clearInterval(huge_it_playInterval_gallery_16);
});
jQuery(document).ready(function ($) {
$(‘.thumb_wrapper’).on(‘click’, function (ev) {
var hugeid = $(this).data(‘rowid’);
var myid = hugeid;
myid = parseInt(myid);
eval(‘player_’ + myid + ‘.playVideo()’)
ev.preventDefault();
});
});
.huge_it_slideshow_image_wrap_gallery_16 {
height:400px;
width:600px;
max-width: calc(100% – 2*0px);
position:relative;
display: block;
text-align: center;
border:0px #ffffff solid;
box-sizing: content-box;
clear:both;
float:none; margin: 0 auto;}
.huge_it_slideshow_image_wrap_gallery_16 * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.huge_it_slideshow_image_gallery_16 {
width: 100%;
height: 100%;
left: 0;
top: 0;
/* height: auto;
top: 50%;
left: 50%;
transform: translate( -50%, -50% ); */
max-width: 100%;
max-height: 100%;
position: absolute;
}
.huge_it_slider_gallery_16 li iframe{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_16 li #thevideo{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_16 li .thumb_wrapper{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_16 li .thumb_wrapper img{
position: relative;
/*top: 50%;
transform: translateY(-50%);*/
}
#huge_it_slideshow_left_gallery_16,
#huge_it_slideshow_right_gallery_16 {
cursor: pointer;
display:none;
display: block;
height: 100%;
outline: medium none;
position: absolute;
/*z-index: 10130;*/
z-index: 13;
bottom:25px;
top:50%;
}
#huge_it_slideshow_left-ico_gallery_16,
#huge_it_slideshow_right-ico_gallery_16 {
z-index: 13;
-moz-box-sizing: content-box;
box-sizing: content-box;
cursor: pointer;
display: table;
left: -9999px;
line-height: 0;
margin-top: -15px;
position: absolute;
top: 50%;
}
#huge_it_slideshow_left-ico_gallery_16:hover,
#huge_it_slideshow_right-ico_gallery_16:hover {
cursor: pointer;
}
.huge_it_slideshow_image_container_gallery_16 {
display: table;
position: relative;
top: 0;
left: 0;
text-align: center;
vertical-align: middle;
width:100%;
height: 100%;
}
.huge_it_slideshow_title_text_gallery_16 {
text-decoration: none;
position: absolute;
z-index: 12;
display: inline-block;
width:30%;
/*height:50%;*/
right:0%;top:0%; padding:2%;
text-align:right;
font-weight:bold;
color:#000000;
background:rgba(255,255,255,0.7) !important;
border-style:solid;
font-size:13px;
border-width:0px;
border-color:#ffffff;
border-radius:4px;
}
.huge_it_slideshow_description_text_gallery_16 {
text-decoration: none;
position: absolute;
z-index: 11;
border-style:solid;
display: inline-block;
width:70%;
/*height:%;*/
right:0%;bottom:0%; padding:3%;
text-align:justify;
color:#ffffff;
background:rgba(0,0,0,0.7) !important;
border-style:solid;
font-size:12px;
border-width:0px;
border-color:#ffffff;
border-radius:0px;
}
.huge_it_slideshow_title_text_gallery_16.none, .huge_it_slideshow_description_text_gallery_16.none,
.huge_it_slideshow_title_text_gallery_16.hidden, .huge_it_slideshow_description_text_gallery_16.hidden {display:none;}
.huge_it_gallery_like_cont_169542.none{display:none !important;}
.huge_it_slideshow_title_text_gallery_16 h1, .huge_it_slideshow_description_text_gallery_16 h1,
.huge_it_slideshow_title_text_gallery_16 h2, .huge_it_slideshow_title_text_gallery_16 h2,
.huge_it_slideshow_title_text_gallery_16 h3, .huge_it_slideshow_title_text_gallery_16 h3,
.huge_it_slideshow_title_text_gallery_16 h4, .huge_it_slideshow_title_text_gallery_16 h4,
.huge_it_slideshow_title_text_gallery_16 p, .huge_it_slideshow_title_text_gallery_16 p,
.huge_it_slideshow_title_text_gallery_16 strong, .huge_it_slideshow_title_text_gallery_16 strong,
.huge_it_slideshow_title_text_gallery_16 span, .huge_it_slideshow_title_text_gallery_16 span,
.huge_it_slideshow_title_text_gallery_16 ul, .huge_it_slideshow_title_text_gallery_16 ul,
.huge_it_slideshow_title_text_gallery_16 li, .huge_it_slideshow_title_text_gallery_16 li {
padding:2px;
margin: 0;
}
.huge_it_slide_container_gallery_16 {
display: table-cell;
margin: 0 auto;
position: relative;
vertical-align: middle;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slide_bg_gallery_16 {
margin: 0 auto;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slider_gallery_16 {
width:100%;
height:100%;
display:table;
padding: 0;
margin: 0;
}
.huge_it_slideshow_image_item_gallery_16 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=100);
opacity: 1;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 2;
margin: 0 !important;
padding: 0;
overflow:hidden;
border-radius: 0px !important;
}
.huge_it_slideshow_image_second_item_gallery_16 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=0);
opacity: 0;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 1;
overflow:hidden;
margin: 0 !important;
padding: 0;
border-radius: 0px !important;
}
.huge_it_grid_gallery_16 {
display: none;
height: 100%;
overflow: hidden;
position: absolute;
width: 100%;
}
.huge_it_gridlet_gallery_16 {
opacity: 1;
filter: Alpha(opacity=100);
position: absolute;
}
.huge_it_slideshow_dots_container_gallery_16 {
display: table;
position: absolute;
width:100% !important;
height:100% !important;
}
.huge_it_slideshow_dots_thumbnails_gallery_16 {
margin: 0 auto;
overflow: hidden;
position: absolute;
width:100%;
height:60px;
}
.huge_it_slideshow_dots_gallery_16 {
display: inline-block;
position: relative;
cursor: pointer;
box-shadow: 1px 1px 1px rgba(0,0,0,0.1) inset, 1px 1px 1px rgba(255,255,255,0.1);
width:10px;
height: 10px;
border-radius: 10px;
background: #00f;
margin: 10px;
overflow: hidden;
z-index: 17;
}
.huge_it_slideshow_dots_active_gallery_16 {
opacity: 1;
background:#0f0;
filter: Alpha(opacity=100);
}
.huge_it_slideshow_dots_deactive_gallery_16 {
}
.huge_it_slideshow_image_item1_gallery_16 {
display: table;
width: inherit;
height: inherit;
}
.huge_it_slideshow_image_item2_gallery_16 {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.huge_it_slideshow_image_item2_gallery_16 a {
display:block;
vertical-align:middle;
width:100%;
height:100%;
}
.huge_it_slideshow_image_wrap_gallery_16 {
background:#ffffff;
}
.huge_it_slideshow_dots_thumbnails_gallery_16 {
top: 0; }
.huge_it_slideshow_dots_gallery_16 {
background:#000000;
}
.huge_it_slideshow_dots_active_gallery_16 {
background:#ffffff;
}
#huge_it_slideshow_left_gallery_16 {
left: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) left top no-repeat;
}
#huge_it_slideshow_right_gallery_16 {
right: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) right top no-repeat;
}
.thumb_image{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left:0;
}
.entry-content a{
border-bottom: none !important;
}
The afternoon of day 3 was time to relax, test flight time, assessing whether our rebuilt aircraft had survived their ordeal. The relief of finally taking off was a weight off my shoulders; also there’s nothing more awe inspiring than flying alongside six other Inspire 2 aircraft in close formation.
Day 4
Then it was time to turn our attention to the Mavic Pro, my favourite aircraft in DJI’s line up. I’ve built and flown some of the largest most expensive equipment money can buy and yet, for me, nothing is more exciting than the Mavic.
var data_gallery_17 = [];
var event_stack_gallery_17 = [];
data_gallery_17[“0”]=[];data_gallery_17[“0”][“id”]=”0″;data_gallery_17[“0”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-30-03-2017-09-31-35.jpg”;data_gallery_17[“0”][“description”]=””;data_gallery_17[“0”][“alt”]=””;data_gallery_17[“1”]=[];data_gallery_17[“1”][“id”]=”1″;data_gallery_17[“1”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-30-03-2017-09-58-41.jpg”;data_gallery_17[“1”][“description”]=””;data_gallery_17[“1”][“alt”]=””;data_gallery_17[“2”]=[];data_gallery_17[“2”][“id”]=”2″;data_gallery_17[“2”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-30-03-2017-10-38-10.jpg”;data_gallery_17[“2”][“description”]=””;data_gallery_17[“2”][“alt”]=””;data_gallery_17[“3”]=[];data_gallery_17[“3”][“id”]=”3″;data_gallery_17[“3”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-30-03-2017-09-58-44.jpg”;data_gallery_17[“3”][“description”]=””;data_gallery_17[“3”][“alt”]=””; var huge_it_trans_in_progress_gallery_17 = false;
var huge_it_transition_duration_gallery_17 = 1000;
var huge_it_playInterval_gallery_17;
// Stop autoplay.
window.clearInterval(huge_it_playInterval_gallery_17);
// alert(‘huge_it_current_key_gallery_17’);
var huge_it_current_key_gallery_17 = ”;
function huge_it_move_dots_gallery_17() {
var image_left = jQuery(“.huge_it_slideshow_dots_active_gallery_17”).position().left;
var image_right = jQuery(“.huge_it_slideshow_dots_active_gallery_17”).position().left + jQuery(“.huge_it_slideshow_dots_active_gallery_17″).outerWidth(true);
}
function huge_it_testBrowser_cssTransitions_gallery_17() {
return huge_it_testDom_gallery_17(‘Transition’);
}
function huge_it_testBrowser_cssTransforms3d_gallery_17() {
return huge_it_testDom_gallery_17(‘Perspective’);
}
function huge_it_testDom_gallery_17(prop) {
// Browser vendor CSS prefixes.
var browserVendors = [”, ‘-webkit-‘, ‘-moz-‘, ‘-ms-‘, ‘-o-‘, ‘-khtml-‘];
// Browser vendor DOM prefixes.
var domPrefixes = [”, ‘Webkit’, ‘Moz’, ‘ms’, ‘O’, ‘Khtml’];
var i = domPrefixes.length;
while (i–) {
if (typeof document.body.style[domPrefixes[i] + prop] !== ‘undefined’) {
return true;
}
}
return false;
}
function huge_it_cube_gallery_17(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) {
/* If browser does not support 3d transforms/CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_17()) {
jQuery(“.huge_it_slideshow_dots_gallery_17”).removeClass(“huge_it_slideshow_dots_active_gallery_17”).addClass(“huge_it_slideshow_dots_deactive_gallery_17”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_17 + “_gallery_17”).removeClass(“huge_it_slideshow_dots_deactive_gallery_17”).addClass(“huge_it_slideshow_dots_active_gallery_17”);
return huge_it_fallback_gallery_17(current_image_class, next_image_class, direction);
}
if (!huge_it_testBrowser_cssTransforms3d_gallery_17()) {
return huge_it_fallback3d_gallery_17(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_17 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_17”).removeClass(“huge_it_slideshow_dots_active_gallery_17”).addClass(“huge_it_slideshow_dots_deactive_gallery_17”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_17 + “_gallery_17”).removeClass(“huge_it_slideshow_dots_deactive_gallery_17”).addClass(“huge_it_slideshow_dots_active_gallery_17”);
jQuery(“.huge_it_slide_bg_gallery_17”).css(‘perspective’, 1000);
jQuery(current_image_class).css({
transform : ‘translateZ(‘ + tz + ‘px)’,
backfaceVisibility : ‘hidden’
});
jQuery(“.huge_it_slideshow_image_wrap_gallery_17,.huge_it_slide_bg_gallery_17,.huge_it_slideshow_image_item_gallery_17,.huge_it_slideshow_image_second_item_gallery_17 “).css(‘overflow’, ‘visible’);
jQuery(next_image_class).css({
opacity : 1,
filter: ‘Alpha(opacity=100)’,
backfaceVisibility : ‘hidden’,
transform : ‘translateY(‘ + nty + ‘px) translateX(‘ + ntx + ‘px) rotateY(‘+ nry +’deg) rotateX(‘+ nrx +’deg)’
});
jQuery(“.huge_it_slider_gallery_17”).css({
transform: ‘translateZ(-‘ + tz + ‘px)’,
transformStyle: ‘preserve-3d’
});
/* Execution steps.*/
setTimeout(function () {
jQuery(“.huge_it_slider_gallery_17”).css({
transition: ‘all ‘ + huge_it_transition_duration_gallery_17 + ‘ms ease-in-out’,
transform: ‘translateZ(-‘ + tz + ‘px) rotateX(‘+ wrx +’deg) rotateY(‘+ wry +’deg)’
});
}, 20);
/* After transition.*/
jQuery(“.huge_it_slider_gallery_17”).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(“.huge_it_slide_bg_gallery_17,.huge_it_slideshow_image_item_gallery_17,.huge_it_slideshow_image_second_item_gallery_17 “).css(‘overflow’, ‘hidden’);
jQuery(“.huge_it_slide_bg_gallery_17”).removeAttr(‘style’);
jQuery(current_image_class).removeAttr(‘style’);
jQuery(next_image_class).removeAttr(‘style’);
jQuery(“.huge_it_slider_gallery_17”).removeAttr(‘style’);
jQuery(current_image_class).css({‘opacity’ : 0, filter: ‘Alpha(opacity=0)’, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, filter: ‘Alpha(opacity=100)’, ‘z-index’ : 2});
// huge_it_change_watermark_container_gallery_17();
huge_it_trans_in_progress_gallery_17 = false;
if (typeof event_stack_gallery_17 !== ‘undefined’ && event_stack_gallery_17.length > 0) {
key = event_stack_gallery_17[0].split(“-“);
event_stack_gallery_17.shift();
huge_it_change_image_gallery_17(key[0], key[1], data_gallery_17, true,false);
}
}
}
function huge_it_cubeH_gallery_17(current_image_class, next_image_class, direction) {
/* Set to half of image width.*/
var dimension = jQuery(current_image_class).width() / 2;
if (direction == ‘right’) {
huge_it_cube_gallery_17(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_17(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);
}
}
function huge_it_cubeV_gallery_17(current_image_class, next_image_class, direction) {
/* Set to half of image height.*/
var dimension = jQuery(current_image_class).height() / 2;
/* If next slide.*/
if (direction == ‘right’) {
huge_it_cube_gallery_17(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_17(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);
}
}
/* For browsers that does not support transitions.*/
function huge_it_fallback_gallery_17(current_image_class, next_image_class, direction) {
huge_it_fade_gallery_17(current_image_class, next_image_class, direction);
}
/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
function huge_it_fallback3d_gallery_17(current_image_class, next_image_class, direction) {
huge_it_sliceV_gallery_17(current_image_class, next_image_class, direction);
}
function huge_it_none_gallery_17(current_image_class, next_image_class, direction) {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_17”).removeClass(“huge_it_slideshow_dots_active_gallery_17”).addClass(“huge_it_slideshow_dots_deactive_gallery_17”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_17 + “_gallery_17”).removeClass(“huge_it_slideshow_dots_deactive_gallery_17”).addClass(“huge_it_slideshow_dots_active_gallery_17”);
}
function huge_it_fade_gallery_17(current_image_class, next_image_class, direction) {
if (huge_it_testBrowser_cssTransitions_gallery_17()) {
jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_17 + ‘ms linear’);
jQuery(current_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_17 + ‘ms linear’);
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
}
else {
jQuery(current_image_class).animate({‘opacity’ : 0, ‘z-index’ : 1}, huge_it_transition_duration_gallery_17);
jQuery(next_image_class).animate({
‘opacity’ : 1,
‘z-index’: 2
}, {
duration: huge_it_transition_duration_gallery_17,
complete: function () {return false;}
});
// For IE.
jQuery(current_image_class).fadeTo(huge_it_transition_duration_gallery_17, 0);
jQuery(next_image_class).fadeTo(huge_it_transition_duration_gallery_17, 1);
}
jQuery(“.huge_it_slideshow_dots_gallery_17”).removeClass(“huge_it_slideshow_dots_active_gallery_17”).addClass(“huge_it_slideshow_dots_deactive_gallery_17”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_17 + “_gallery_17”).removeClass(“huge_it_slideshow_dots_deactive_gallery_17”).addClass(“huge_it_slideshow_dots_active_gallery_17”);
}
function huge_it_grid_gallery_17(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {
/* If browser does not support CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_17()) {
jQuery(“.huge_it_slideshow_dots_gallery_17”).removeClass(“huge_it_slideshow_dots_active_gallery_17”).addClass(“huge_it_slideshow_dots_deactive_gallery_17”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_17 + “_gallery_17”).removeClass(“huge_it_slideshow_dots_deactive_gallery_17”).addClass(“huge_it_slideshow_dots_active_gallery_17”);
return huge_it_fallback_gallery_17(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_17 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_17”).removeClass(“huge_it_slideshow_dots_active_gallery_17”).addClass(“huge_it_slideshow_dots_deactive_gallery_17”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_17 + “_gallery_17”).removeClass(“huge_it_slideshow_dots_deactive_gallery_17”).addClass(“huge_it_slideshow_dots_active_gallery_17”);
/* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
var count = (huge_it_transition_duration_gallery_17) / (cols + rows);
/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
function huge_it_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
var delay = (c + r) * count;
/* Return a gridlet elem with styles for specific transition.*/
return jQuery(‘
‘).css({
width : width,
height : height,
top : top,
left : left,
backgroundImage : ‘url(“‘ + src + ‘”)’,
backgroundColor: jQuery(“.huge_it_slideshow_image_wrap_gallery_17”).css(“background-color”),
/*backgroundColor: rgba(0, 0, 0, 0),*/
backgroundRepeat: ‘no-repeat’,
backgroundPosition : img_left + ‘px ‘ + img_top + ‘px’,
backgroundSize : imgWidth + ‘px ‘ + imgHeight + ‘px’,
transition : ‘all ‘ + huge_it_transition_duration_gallery_17 + ‘ms ease-in-out ‘ + delay + ‘ms’,
transform : ‘none’
});
}
/* Get the current slide’s image.*/
var cur_img = jQuery(current_image_class).find(‘img’);
/* Create a grid to hold the gridlets.*/
var grid = jQuery(‘
‘).addClass(‘huge_it_grid_gallery_17’);
/* Prepend the grid to the next slide (i.e. so it’s above the slide image).*/
jQuery(current_image_class).prepend(grid);
/* vars to calculate positioning/size of gridlets*/
var cont = jQuery(“.huge_it_slide_bg_gallery_17″);
var imgWidth = cur_img.width();
var imgHeight = cur_img.height();
var contWidth = cont.width(),
contHeight = cont.height(),
imgSrc = cur_img.attr(‘src’),/*.replace(‘/thumb’, ”),*/
colWidth = Math.floor(contWidth / cols),
rowHeight = Math.floor(contHeight / rows),
colRemainder = contWidth – (cols * colWidth),
colAdd = Math.ceil(colRemainder / cols),
rowRemainder = contHeight – (rows * rowHeight),
rowAdd = Math.ceil(rowRemainder / rows),
leftDist = 0,
img_leftDist = (jQuery(“.huge_it_slide_bg_gallery_17”).width() – cur_img.width()) / 2;
/* tx/ty args can be passed as ‘auto’/’min-auto’ (meaning use slide width/height or negative slide width/height).*/
tx = tx === ‘auto’ ? contWidth : tx;
tx = tx === ‘min-auto’ ? – contWidth : tx;
ty = ty === ‘auto’ ? contHeight : ty;
ty = ty === ‘min-auto’ ? – contHeight : ty;
/* Loop through cols*/
for (var i = 0; i 0) {
var add = colRemainder >= colAdd ? colAdd : colRemainder;
newColWidth += add;
colRemainder -= add;
}
/* Nested loop to create row gridlets for each col.*/
for (var j = 0; j 0) {
add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
newRowHeight += add;
newRowRemainder -= add;
}
/* Create & append gridlet to grid.*/
grid.append(huge_it_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
topDist += newRowHeight;
img_topDst -= newRowHeight;
}
img_leftDist -= newColWidth;
leftDist += newColWidth;
}
/* Set event listener on last gridlet to finish transitioning.*/
var last_gridlet = grid.children().last();
/* Show grid & hide the image it replaces.*/
grid.show();
cur_img.css(‘opacity’, 0);
/* Add identifying classes to corner gridlets (useful if applying border radius).*/
grid.children().first().addClass(‘rs-top-left’);
grid.children().last().addClass(‘rs-bottom-right’);
grid.children().eq(rows – 1).addClass(‘rs-bottom-left’);
grid.children().eq(- rows).addClass(‘rs-top-right’);
/* Execution steps.*/
setTimeout(function () {
grid.children().css({
opacity: op,
transform: ‘rotate(‘+ ro +’deg) translateX(‘+ tx +’px) translateY(‘+ ty +’px) scale(‘+ sc +’)’
});
}, 1);
jQuery(next_image_class).css(‘opacity’, 1);
/* After transition.*/
jQuery(last_gridlet).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
cur_img.css(‘opacity’, 1);
grid.remove();
huge_it_trans_in_progress_gallery_17 = false;
if (typeof event_stack_gallery_17 !== ‘undefined’ && event_stack_gallery_17.length > 0) {
key = event_stack_gallery_17[0].split(“-“);
event_stack_gallery_17.shift();
huge_it_change_image_gallery_17(key[0], key[1], data_gallery_17, true,false);
}
}
}
function huge_it_sliceH_gallery_17(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_17(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_sliceV_gallery_17(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateY = ‘auto’;
}
huge_it_grid_gallery_17(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_slideV_gallery_17(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘auto’;
}
else if (direction == ‘left’) {
var translateY = ‘min-auto’;
}
huge_it_grid_gallery_17(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_slideH_gallery_17(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_17(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_scaleOut_gallery_17(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_17(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_scaleIn_gallery_17(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_17(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_blockScale_gallery_17(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_17(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction);
}
function huge_it_kaleidoscope_gallery_17(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_17(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_fan_gallery_17(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var rotate = 45;
var translateX = 100;
}
else if (direction == ‘left’) {
var rotate = -45;
var translateX = -100;
}
huge_it_grid_gallery_17(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_blindV_gallery_17(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_17(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_blindH_gallery_17(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_17(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_random_gallery_17(current_image_class, next_image_class, direction) {
var anims = [‘sliceH’, ‘sliceV’, ‘slideH’, ‘slideV’, ‘scaleOut’, ‘scaleIn’, ‘blockScale’, ‘kaleidoscope’, ‘fan’, ‘blindH’, ‘blindV’];
/* Pick a random transition from the anims array.*/
this[“huge_it_” + anims[Math.floor(Math.random() * anims.length)] + “_gallery_17”](current_image_class, next_image_class, direction);
}
function iterator_gallery_17() {
var iterator = 1;
return iterator;
}
function huge_it_change_image_gallery_17(current_key, key, data_gallery_17, from_effect,clicked) {
if (data_gallery_17[key]) {
if(typeof video_is_playing_gallery_17 != ‘undefined’ && video_is_playing_gallery_17 && !clicked){
return false;
}
if (!from_effect) {
// Change image key.
jQuery(“#huge_it_current_image_key_gallery_17”).val(key);
// if (current_key == ‘-2’) { /* Dots.*/
current_key = jQuery(“.huge_it_slideshow_dots_active_gallery_17”).attr(“data-image_key”);
// }
}
if (huge_it_trans_in_progress_gallery_17) {
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_17″).after(” –IN TRANSACTION–
“);
event_stack_gallery_17.push(current_key + ‘-‘ + key);
return;
}
var direction = ‘right’;
if (huge_it_current_key_gallery_17 > key) {
var direction = ‘left’;
}
else if (huge_it_current_key_gallery_17 == key) {
return false;
}
// Set active thumbnail position.
huge_it_current_key_gallery_17 = key;
//Change image id, title, description.
jQuery(“.huge_it_slideshow_image_gallery_17”).attr(‘data-image_id’, data_gallery_17[key][“id”]);
jQuery(“.huge_it_slideshow_title_text_gallery_17”).html(data_gallery_17[key][“alt”]);
jQuery(“.huge_it_slideshow_description_text_gallery_17”).html(data_gallery_17[key][“description”]);
var current_image_class = “#image_id_gallery_17_” + data_gallery_17[current_key][“id”];
var next_image_class = “#image_id_gallery_17_” + data_gallery_17[key][“id”];
if(jQuery(current_image_class).find(‘.huge_it_video_frame_gallery_17′).length>0) {
var streffect=’fade’;
if(streffect==”cubeV” || streffect==”cubeH” || streffect==”none” || streffect==”fade”){
huge_it_fade_gallery_17(current_image_class, next_image_class, direction);
}else{
huge_it_fade_gallery_17(current_image_class, next_image_class, direction);
}
}else{
huge_it_fade_gallery_17(current_image_class, next_image_class, direction);
}
jQuery(‘.huge_it_slideshow_title_text_gallery_17’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_title_text_gallery_17’).html()==””){jQuery(‘.huge_it_slideshow_title_text_gallery_17’).addClass(‘none’);}
jQuery(‘.huge_it_slideshow_description_text_gallery_17’).removeClass(‘none’);
jQuery(‘.huge_it_gallery_like_cont_179542’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_description_text_gallery_17’).html()==””){
jQuery(‘.huge_it_slideshow_description_text_gallery_17’).addClass(‘none’);
}
jQuery(current_image_class).find(‘.huge_it_slideshow_title_text_gallery_17’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_slideshow_description_text_gallery_17’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_gallery_like_cont_179542’).addClass(‘none’);
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_17”).after(“–cur-key=”+current_key+” –cur-img-class=”+current_image_class+” nxt-img-class=”+next_image_class+”–“);
huge_it_move_dots_gallery_17();
window.clearInterval(huge_it_playInterval_gallery_17);
play_gallery_17();
}
}
function huge_it_popup_resize_gallery_17() {
var staticsliderwidth=600;
var sliderwidth=600;
var bodyWidth=jQuery(window).width();
var parentWidth = jQuery(“.huge_it_slideshow_image_wrap_gallery_17″).parent().width();
if(sliderwidth>parentWidth){sliderwidth=parentWidth;}
if(sliderwidth>bodyWidth){sliderwidth=bodyWidth;}
var str=(400/staticsliderwidth);
jQuery(‘.huge_it_slideshow_image_wrap_gallery_17’).css({‘max-height’:parentWidth*str-2*0});
}
jQuery(window).load(function () {
jQuery(window).resize(function() {
huge_it_popup_resize_gallery_17();
});
huge_it_popup_resize_gallery_17();
/* Disable right click.*/
jQuery(‘div[id^=”huge_it_container”]’).bind(“contextmenu”, function () {
return false;
});
/*HOVER SLIDESHOW*/
jQuery(“#huge_it_slideshow_image_container_gallery_17, .huge_it_slideshow_image_container_gallery_17, .huge_it_slideshow_dots_container_gallery_17,#huge_it_slideshow_right_gallery_17,#huge_it_slideshow_left_gallery_17”).hover(function(){
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_17″).after(” — hover —
“);
jQuery(“#huge_it_slideshow_right_gallery_17”).css({‘display’:’inline’});
jQuery(“#huge_it_slideshow_left_gallery_17”).css({‘display’:’inline’});
},function(){
jQuery(“#huge_it_slideshow_right_gallery_17”).css({‘display’:’none’});
jQuery(“#huge_it_slideshow_left_gallery_17″).css({‘display’:’none’});
});
var pausehover=”on”;
if(pausehover==”on”){
jQuery(“#huge_it_slideshow_image_container_gallery_17, .huge_it_slideshow_image_container_gallery_17, .huge_it_slideshow_dots_container_gallery_17,#huge_it_slideshow_right_gallery_17,#huge_it_slideshow_left_gallery_17”).hover(function(){
window.clearInterval(huge_it_playInterval_gallery_17);
},function(){
window.clearInterval(huge_it_playInterval_gallery_17);
play_gallery_17();
});
}
play_gallery_17();
});
function play_gallery_17() {
/* Play.*/
huge_it_playInterval_gallery_17 = setInterval(function () {
var iterator = 1;
huge_it_change_image_gallery_17(parseInt(jQuery(‘#huge_it_current_image_key_gallery_17’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_gallery_17’).val()) + iterator) % data_gallery_17.length, data_gallery_17,false,false);
}, ‘5000’);
}
jQuery(window).focus(function() {
var i_gallery_17 = 0;
jQuery(“.huge_it_slider_gallery_17”).children(“div”).each(function () {
if (jQuery(this).css(‘opacity’) == 1) {
jQuery(“#huge_it_current_image_key_gallery_17”).val(i_gallery_17);
}
i_gallery_17++;
});
play_gallery_17();
});
jQuery(window).blur(function() {
event_stack_gallery_17 = [];
window.clearInterval(huge_it_playInterval_gallery_17);
});
jQuery(document).ready(function ($) {
$(‘.thumb_wrapper’).on(‘click’, function (ev) {
var hugeid = $(this).data(‘rowid’);
var myid = hugeid;
myid = parseInt(myid);
eval(‘player_’ + myid + ‘.playVideo()’)
ev.preventDefault();
});
});
.huge_it_slideshow_image_wrap_gallery_17 {
height:400px;
width:600px;
max-width: calc(100% – 2*0px);
position:relative;
display: block;
text-align: center;
border:0px #ffffff solid;
box-sizing: content-box;
clear:both;
float:none; margin: 0 auto;}
.huge_it_slideshow_image_wrap_gallery_17 * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.huge_it_slideshow_image_gallery_17 {
width: 100%;
height: 100%;
left: 0;
top: 0;
/* height: auto;
top: 50%;
left: 50%;
transform: translate( -50%, -50% ); */
max-width: 100%;
max-height: 100%;
position: absolute;
}
.huge_it_slider_gallery_17 li iframe{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_17 li #thevideo{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_17 li .thumb_wrapper{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_17 li .thumb_wrapper img{
position: relative;
/*top: 50%;
transform: translateY(-50%);*/
}
#huge_it_slideshow_left_gallery_17,
#huge_it_slideshow_right_gallery_17 {
cursor: pointer;
display:none;
display: block;
height: 100%;
outline: medium none;
position: absolute;
/*z-index: 10130;*/
z-index: 13;
bottom:25px;
top:50%;
}
#huge_it_slideshow_left-ico_gallery_17,
#huge_it_slideshow_right-ico_gallery_17 {
z-index: 13;
-moz-box-sizing: content-box;
box-sizing: content-box;
cursor: pointer;
display: table;
left: -9999px;
line-height: 0;
margin-top: -15px;
position: absolute;
top: 50%;
}
#huge_it_slideshow_left-ico_gallery_17:hover,
#huge_it_slideshow_right-ico_gallery_17:hover {
cursor: pointer;
}
.huge_it_slideshow_image_container_gallery_17 {
display: table;
position: relative;
top: 0;
left: 0;
text-align: center;
vertical-align: middle;
width:100%;
height: 100%;
}
.huge_it_slideshow_title_text_gallery_17 {
text-decoration: none;
position: absolute;
z-index: 12;
display: inline-block;
width:30%;
/*height:50%;*/
right:0%;top:0%; padding:2%;
text-align:right;
font-weight:bold;
color:#000000;
background:rgba(255,255,255,0.7) !important;
border-style:solid;
font-size:13px;
border-width:0px;
border-color:#ffffff;
border-radius:4px;
}
.huge_it_slideshow_description_text_gallery_17 {
text-decoration: none;
position: absolute;
z-index: 11;
border-style:solid;
display: inline-block;
width:70%;
/*height:%;*/
right:0%;bottom:0%; padding:3%;
text-align:justify;
color:#ffffff;
background:rgba(0,0,0,0.7) !important;
border-style:solid;
font-size:12px;
border-width:0px;
border-color:#ffffff;
border-radius:0px;
}
.huge_it_slideshow_title_text_gallery_17.none, .huge_it_slideshow_description_text_gallery_17.none,
.huge_it_slideshow_title_text_gallery_17.hidden, .huge_it_slideshow_description_text_gallery_17.hidden {display:none;}
.huge_it_gallery_like_cont_179542.none{display:none !important;}
.huge_it_slideshow_title_text_gallery_17 h1, .huge_it_slideshow_description_text_gallery_17 h1,
.huge_it_slideshow_title_text_gallery_17 h2, .huge_it_slideshow_title_text_gallery_17 h2,
.huge_it_slideshow_title_text_gallery_17 h3, .huge_it_slideshow_title_text_gallery_17 h3,
.huge_it_slideshow_title_text_gallery_17 h4, .huge_it_slideshow_title_text_gallery_17 h4,
.huge_it_slideshow_title_text_gallery_17 p, .huge_it_slideshow_title_text_gallery_17 p,
.huge_it_slideshow_title_text_gallery_17 strong, .huge_it_slideshow_title_text_gallery_17 strong,
.huge_it_slideshow_title_text_gallery_17 span, .huge_it_slideshow_title_text_gallery_17 span,
.huge_it_slideshow_title_text_gallery_17 ul, .huge_it_slideshow_title_text_gallery_17 ul,
.huge_it_slideshow_title_text_gallery_17 li, .huge_it_slideshow_title_text_gallery_17 li {
padding:2px;
margin: 0;
}
.huge_it_slide_container_gallery_17 {
display: table-cell;
margin: 0 auto;
position: relative;
vertical-align: middle;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slide_bg_gallery_17 {
margin: 0 auto;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slider_gallery_17 {
width:100%;
height:100%;
display:table;
padding: 0;
margin: 0;
}
.huge_it_slideshow_image_item_gallery_17 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=100);
opacity: 1;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 2;
margin: 0 !important;
padding: 0;
overflow:hidden;
border-radius: 0px !important;
}
.huge_it_slideshow_image_second_item_gallery_17 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=0);
opacity: 0;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 1;
overflow:hidden;
margin: 0 !important;
padding: 0;
border-radius: 0px !important;
}
.huge_it_grid_gallery_17 {
display: none;
height: 100%;
overflow: hidden;
position: absolute;
width: 100%;
}
.huge_it_gridlet_gallery_17 {
opacity: 1;
filter: Alpha(opacity=100);
position: absolute;
}
.huge_it_slideshow_dots_container_gallery_17 {
display: table;
position: absolute;
width:100% !important;
height:100% !important;
}
.huge_it_slideshow_dots_thumbnails_gallery_17 {
margin: 0 auto;
overflow: hidden;
position: absolute;
width:100%;
height:60px;
}
.huge_it_slideshow_dots_gallery_17 {
display: inline-block;
position: relative;
cursor: pointer;
box-shadow: 1px 1px 1px rgba(0,0,0,0.1) inset, 1px 1px 1px rgba(255,255,255,0.1);
width:10px;
height: 10px;
border-radius: 10px;
background: #00f;
margin: 10px;
overflow: hidden;
z-index: 17;
}
.huge_it_slideshow_dots_active_gallery_17 {
opacity: 1;
background:#0f0;
filter: Alpha(opacity=100);
}
.huge_it_slideshow_dots_deactive_gallery_17 {
}
.huge_it_slideshow_image_item1_gallery_17 {
display: table;
width: inherit;
height: inherit;
}
.huge_it_slideshow_image_item2_gallery_17 {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.huge_it_slideshow_image_item2_gallery_17 a {
display:block;
vertical-align:middle;
width:100%;
height:100%;
}
.huge_it_slideshow_image_wrap_gallery_17 {
background:#ffffff;
}
.huge_it_slideshow_dots_thumbnails_gallery_17 {
top: 0; }
.huge_it_slideshow_dots_gallery_17 {
background:#000000;
}
.huge_it_slideshow_dots_active_gallery_17 {
background:#ffffff;
}
#huge_it_slideshow_left_gallery_17 {
left: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) left top no-repeat;
}
#huge_it_slideshow_right_gallery_17 {
right: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) right top no-repeat;
}
.thumb_image{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left:0;
}
.entry-content a{
border-bottom: none !important;
}
The Mavic Pro, fortunately, is a more straightforward aircraft to repair despite its much smaller size. Although there is plenty of awkward tweezer work and frustrating connectors to contend with it was a total breeze compared to the Inspire 2.
Day 5
We then had a day to test our Mavic Pro aircraft, making sure that we’d performed the repairs correctly and applied everything that we learned the previous day.
var data_gallery_18 = [];
var event_stack_gallery_18 = [];
data_gallery_18[“0”]=[];data_gallery_18[“0”][“id”]=”0″;data_gallery_18[“0”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020783.jpg”;data_gallery_18[“0”][“description”]=””;data_gallery_18[“0”][“alt”]=””;data_gallery_18[“1”]=[];data_gallery_18[“1”][“id”]=”1″;data_gallery_18[“1”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020786.jpg”;data_gallery_18[“1”][“description”]=””;data_gallery_18[“1”][“alt”]=””;data_gallery_18[“2”]=[];data_gallery_18[“2”][“id”]=”2″;data_gallery_18[“2”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020788.jpg”;data_gallery_18[“2”][“description”]=””;data_gallery_18[“2”][“alt”]=””;data_gallery_18[“3”]=[];data_gallery_18[“3”][“id”]=”3″;data_gallery_18[“3”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020793.jpg”;data_gallery_18[“3”][“description”]=””;data_gallery_18[“3”][“alt”]=””; var huge_it_trans_in_progress_gallery_18 = false;
var huge_it_transition_duration_gallery_18 = 1000;
var huge_it_playInterval_gallery_18;
// Stop autoplay.
window.clearInterval(huge_it_playInterval_gallery_18);
// alert(‘huge_it_current_key_gallery_18’);
var huge_it_current_key_gallery_18 = ”;
function huge_it_move_dots_gallery_18() {
var image_left = jQuery(“.huge_it_slideshow_dots_active_gallery_18”).position().left;
var image_right = jQuery(“.huge_it_slideshow_dots_active_gallery_18”).position().left + jQuery(“.huge_it_slideshow_dots_active_gallery_18″).outerWidth(true);
}
function huge_it_testBrowser_cssTransitions_gallery_18() {
return huge_it_testDom_gallery_18(‘Transition’);
}
function huge_it_testBrowser_cssTransforms3d_gallery_18() {
return huge_it_testDom_gallery_18(‘Perspective’);
}
function huge_it_testDom_gallery_18(prop) {
// Browser vendor CSS prefixes.
var browserVendors = [”, ‘-webkit-‘, ‘-moz-‘, ‘-ms-‘, ‘-o-‘, ‘-khtml-‘];
// Browser vendor DOM prefixes.
var domPrefixes = [”, ‘Webkit’, ‘Moz’, ‘ms’, ‘O’, ‘Khtml’];
var i = domPrefixes.length;
while (i–) {
if (typeof document.body.style[domPrefixes[i] + prop] !== ‘undefined’) {
return true;
}
}
return false;
}
function huge_it_cube_gallery_18(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) {
/* If browser does not support 3d transforms/CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_18()) {
jQuery(“.huge_it_slideshow_dots_gallery_18”).removeClass(“huge_it_slideshow_dots_active_gallery_18”).addClass(“huge_it_slideshow_dots_deactive_gallery_18”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_18 + “_gallery_18”).removeClass(“huge_it_slideshow_dots_deactive_gallery_18”).addClass(“huge_it_slideshow_dots_active_gallery_18”);
return huge_it_fallback_gallery_18(current_image_class, next_image_class, direction);
}
if (!huge_it_testBrowser_cssTransforms3d_gallery_18()) {
return huge_it_fallback3d_gallery_18(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_18 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_18”).removeClass(“huge_it_slideshow_dots_active_gallery_18”).addClass(“huge_it_slideshow_dots_deactive_gallery_18”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_18 + “_gallery_18”).removeClass(“huge_it_slideshow_dots_deactive_gallery_18”).addClass(“huge_it_slideshow_dots_active_gallery_18”);
jQuery(“.huge_it_slide_bg_gallery_18”).css(‘perspective’, 1000);
jQuery(current_image_class).css({
transform : ‘translateZ(‘ + tz + ‘px)’,
backfaceVisibility : ‘hidden’
});
jQuery(“.huge_it_slideshow_image_wrap_gallery_18,.huge_it_slide_bg_gallery_18,.huge_it_slideshow_image_item_gallery_18,.huge_it_slideshow_image_second_item_gallery_18 “).css(‘overflow’, ‘visible’);
jQuery(next_image_class).css({
opacity : 1,
filter: ‘Alpha(opacity=100)’,
backfaceVisibility : ‘hidden’,
transform : ‘translateY(‘ + nty + ‘px) translateX(‘ + ntx + ‘px) rotateY(‘+ nry +’deg) rotateX(‘+ nrx +’deg)’
});
jQuery(“.huge_it_slider_gallery_18”).css({
transform: ‘translateZ(-‘ + tz + ‘px)’,
transformStyle: ‘preserve-3d’
});
/* Execution steps.*/
setTimeout(function () {
jQuery(“.huge_it_slider_gallery_18”).css({
transition: ‘all ‘ + huge_it_transition_duration_gallery_18 + ‘ms ease-in-out’,
transform: ‘translateZ(-‘ + tz + ‘px) rotateX(‘+ wrx +’deg) rotateY(‘+ wry +’deg)’
});
}, 20);
/* After transition.*/
jQuery(“.huge_it_slider_gallery_18”).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(“.huge_it_slide_bg_gallery_18,.huge_it_slideshow_image_item_gallery_18,.huge_it_slideshow_image_second_item_gallery_18 “).css(‘overflow’, ‘hidden’);
jQuery(“.huge_it_slide_bg_gallery_18”).removeAttr(‘style’);
jQuery(current_image_class).removeAttr(‘style’);
jQuery(next_image_class).removeAttr(‘style’);
jQuery(“.huge_it_slider_gallery_18”).removeAttr(‘style’);
jQuery(current_image_class).css({‘opacity’ : 0, filter: ‘Alpha(opacity=0)’, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, filter: ‘Alpha(opacity=100)’, ‘z-index’ : 2});
// huge_it_change_watermark_container_gallery_18();
huge_it_trans_in_progress_gallery_18 = false;
if (typeof event_stack_gallery_18 !== ‘undefined’ && event_stack_gallery_18.length > 0) {
key = event_stack_gallery_18[0].split(“-“);
event_stack_gallery_18.shift();
huge_it_change_image_gallery_18(key[0], key[1], data_gallery_18, true,false);
}
}
}
function huge_it_cubeH_gallery_18(current_image_class, next_image_class, direction) {
/* Set to half of image width.*/
var dimension = jQuery(current_image_class).width() / 2;
if (direction == ‘right’) {
huge_it_cube_gallery_18(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_18(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);
}
}
function huge_it_cubeV_gallery_18(current_image_class, next_image_class, direction) {
/* Set to half of image height.*/
var dimension = jQuery(current_image_class).height() / 2;
/* If next slide.*/
if (direction == ‘right’) {
huge_it_cube_gallery_18(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_18(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);
}
}
/* For browsers that does not support transitions.*/
function huge_it_fallback_gallery_18(current_image_class, next_image_class, direction) {
huge_it_fade_gallery_18(current_image_class, next_image_class, direction);
}
/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
function huge_it_fallback3d_gallery_18(current_image_class, next_image_class, direction) {
huge_it_sliceV_gallery_18(current_image_class, next_image_class, direction);
}
function huge_it_none_gallery_18(current_image_class, next_image_class, direction) {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_18”).removeClass(“huge_it_slideshow_dots_active_gallery_18”).addClass(“huge_it_slideshow_dots_deactive_gallery_18”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_18 + “_gallery_18”).removeClass(“huge_it_slideshow_dots_deactive_gallery_18”).addClass(“huge_it_slideshow_dots_active_gallery_18”);
}
function huge_it_fade_gallery_18(current_image_class, next_image_class, direction) {
if (huge_it_testBrowser_cssTransitions_gallery_18()) {
jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_18 + ‘ms linear’);
jQuery(current_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_18 + ‘ms linear’);
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
}
else {
jQuery(current_image_class).animate({‘opacity’ : 0, ‘z-index’ : 1}, huge_it_transition_duration_gallery_18);
jQuery(next_image_class).animate({
‘opacity’ : 1,
‘z-index’: 2
}, {
duration: huge_it_transition_duration_gallery_18,
complete: function () {return false;}
});
// For IE.
jQuery(current_image_class).fadeTo(huge_it_transition_duration_gallery_18, 0);
jQuery(next_image_class).fadeTo(huge_it_transition_duration_gallery_18, 1);
}
jQuery(“.huge_it_slideshow_dots_gallery_18”).removeClass(“huge_it_slideshow_dots_active_gallery_18”).addClass(“huge_it_slideshow_dots_deactive_gallery_18”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_18 + “_gallery_18”).removeClass(“huge_it_slideshow_dots_deactive_gallery_18”).addClass(“huge_it_slideshow_dots_active_gallery_18”);
}
function huge_it_grid_gallery_18(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {
/* If browser does not support CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_18()) {
jQuery(“.huge_it_slideshow_dots_gallery_18”).removeClass(“huge_it_slideshow_dots_active_gallery_18”).addClass(“huge_it_slideshow_dots_deactive_gallery_18”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_18 + “_gallery_18”).removeClass(“huge_it_slideshow_dots_deactive_gallery_18”).addClass(“huge_it_slideshow_dots_active_gallery_18”);
return huge_it_fallback_gallery_18(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_18 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_18”).removeClass(“huge_it_slideshow_dots_active_gallery_18”).addClass(“huge_it_slideshow_dots_deactive_gallery_18”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_18 + “_gallery_18”).removeClass(“huge_it_slideshow_dots_deactive_gallery_18”).addClass(“huge_it_slideshow_dots_active_gallery_18”);
/* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
var count = (huge_it_transition_duration_gallery_18) / (cols + rows);
/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
function huge_it_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
var delay = (c + r) * count;
/* Return a gridlet elem with styles for specific transition.*/
return jQuery(‘
‘).css({
width : width,
height : height,
top : top,
left : left,
backgroundImage : ‘url(“‘ + src + ‘”)’,
backgroundColor: jQuery(“.huge_it_slideshow_image_wrap_gallery_18”).css(“background-color”),
/*backgroundColor: rgba(0, 0, 0, 0),*/
backgroundRepeat: ‘no-repeat’,
backgroundPosition : img_left + ‘px ‘ + img_top + ‘px’,
backgroundSize : imgWidth + ‘px ‘ + imgHeight + ‘px’,
transition : ‘all ‘ + huge_it_transition_duration_gallery_18 + ‘ms ease-in-out ‘ + delay + ‘ms’,
transform : ‘none’
});
}
/* Get the current slide’s image.*/
var cur_img = jQuery(current_image_class).find(‘img’);
/* Create a grid to hold the gridlets.*/
var grid = jQuery(‘
‘).addClass(‘huge_it_grid_gallery_18’);
/* Prepend the grid to the next slide (i.e. so it’s above the slide image).*/
jQuery(current_image_class).prepend(grid);
/* vars to calculate positioning/size of gridlets*/
var cont = jQuery(“.huge_it_slide_bg_gallery_18″);
var imgWidth = cur_img.width();
var imgHeight = cur_img.height();
var contWidth = cont.width(),
contHeight = cont.height(),
imgSrc = cur_img.attr(‘src’),/*.replace(‘/thumb’, ”),*/
colWidth = Math.floor(contWidth / cols),
rowHeight = Math.floor(contHeight / rows),
colRemainder = contWidth – (cols * colWidth),
colAdd = Math.ceil(colRemainder / cols),
rowRemainder = contHeight – (rows * rowHeight),
rowAdd = Math.ceil(rowRemainder / rows),
leftDist = 0,
img_leftDist = (jQuery(“.huge_it_slide_bg_gallery_18”).width() – cur_img.width()) / 2;
/* tx/ty args can be passed as ‘auto’/’min-auto’ (meaning use slide width/height or negative slide width/height).*/
tx = tx === ‘auto’ ? contWidth : tx;
tx = tx === ‘min-auto’ ? – contWidth : tx;
ty = ty === ‘auto’ ? contHeight : ty;
ty = ty === ‘min-auto’ ? – contHeight : ty;
/* Loop through cols*/
for (var i = 0; i 0) {
var add = colRemainder >= colAdd ? colAdd : colRemainder;
newColWidth += add;
colRemainder -= add;
}
/* Nested loop to create row gridlets for each col.*/
for (var j = 0; j 0) {
add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
newRowHeight += add;
newRowRemainder -= add;
}
/* Create & append gridlet to grid.*/
grid.append(huge_it_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
topDist += newRowHeight;
img_topDst -= newRowHeight;
}
img_leftDist -= newColWidth;
leftDist += newColWidth;
}
/* Set event listener on last gridlet to finish transitioning.*/
var last_gridlet = grid.children().last();
/* Show grid & hide the image it replaces.*/
grid.show();
cur_img.css(‘opacity’, 0);
/* Add identifying classes to corner gridlets (useful if applying border radius).*/
grid.children().first().addClass(‘rs-top-left’);
grid.children().last().addClass(‘rs-bottom-right’);
grid.children().eq(rows – 1).addClass(‘rs-bottom-left’);
grid.children().eq(- rows).addClass(‘rs-top-right’);
/* Execution steps.*/
setTimeout(function () {
grid.children().css({
opacity: op,
transform: ‘rotate(‘+ ro +’deg) translateX(‘+ tx +’px) translateY(‘+ ty +’px) scale(‘+ sc +’)’
});
}, 1);
jQuery(next_image_class).css(‘opacity’, 1);
/* After transition.*/
jQuery(last_gridlet).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
cur_img.css(‘opacity’, 1);
grid.remove();
huge_it_trans_in_progress_gallery_18 = false;
if (typeof event_stack_gallery_18 !== ‘undefined’ && event_stack_gallery_18.length > 0) {
key = event_stack_gallery_18[0].split(“-“);
event_stack_gallery_18.shift();
huge_it_change_image_gallery_18(key[0], key[1], data_gallery_18, true,false);
}
}
}
function huge_it_sliceH_gallery_18(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_18(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_sliceV_gallery_18(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateY = ‘auto’;
}
huge_it_grid_gallery_18(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_slideV_gallery_18(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘auto’;
}
else if (direction == ‘left’) {
var translateY = ‘min-auto’;
}
huge_it_grid_gallery_18(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_slideH_gallery_18(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_18(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_scaleOut_gallery_18(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_18(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_scaleIn_gallery_18(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_18(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_blockScale_gallery_18(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_18(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction);
}
function huge_it_kaleidoscope_gallery_18(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_18(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_fan_gallery_18(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var rotate = 45;
var translateX = 100;
}
else if (direction == ‘left’) {
var rotate = -45;
var translateX = -100;
}
huge_it_grid_gallery_18(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_blindV_gallery_18(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_18(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_blindH_gallery_18(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_18(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_random_gallery_18(current_image_class, next_image_class, direction) {
var anims = [‘sliceH’, ‘sliceV’, ‘slideH’, ‘slideV’, ‘scaleOut’, ‘scaleIn’, ‘blockScale’, ‘kaleidoscope’, ‘fan’, ‘blindH’, ‘blindV’];
/* Pick a random transition from the anims array.*/
this[“huge_it_” + anims[Math.floor(Math.random() * anims.length)] + “_gallery_18”](current_image_class, next_image_class, direction);
}
function iterator_gallery_18() {
var iterator = 1;
return iterator;
}
function huge_it_change_image_gallery_18(current_key, key, data_gallery_18, from_effect,clicked) {
if (data_gallery_18[key]) {
if(typeof video_is_playing_gallery_18 != ‘undefined’ && video_is_playing_gallery_18 && !clicked){
return false;
}
if (!from_effect) {
// Change image key.
jQuery(“#huge_it_current_image_key_gallery_18”).val(key);
// if (current_key == ‘-2’) { /* Dots.*/
current_key = jQuery(“.huge_it_slideshow_dots_active_gallery_18”).attr(“data-image_key”);
// }
}
if (huge_it_trans_in_progress_gallery_18) {
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_18″).after(” –IN TRANSACTION–
“);
event_stack_gallery_18.push(current_key + ‘-‘ + key);
return;
}
var direction = ‘right’;
if (huge_it_current_key_gallery_18 > key) {
var direction = ‘left’;
}
else if (huge_it_current_key_gallery_18 == key) {
return false;
}
// Set active thumbnail position.
huge_it_current_key_gallery_18 = key;
//Change image id, title, description.
jQuery(“.huge_it_slideshow_image_gallery_18”).attr(‘data-image_id’, data_gallery_18[key][“id”]);
jQuery(“.huge_it_slideshow_title_text_gallery_18”).html(data_gallery_18[key][“alt”]);
jQuery(“.huge_it_slideshow_description_text_gallery_18”).html(data_gallery_18[key][“description”]);
var current_image_class = “#image_id_gallery_18_” + data_gallery_18[current_key][“id”];
var next_image_class = “#image_id_gallery_18_” + data_gallery_18[key][“id”];
if(jQuery(current_image_class).find(‘.huge_it_video_frame_gallery_18′).length>0) {
var streffect=’fade’;
if(streffect==”cubeV” || streffect==”cubeH” || streffect==”none” || streffect==”fade”){
huge_it_fade_gallery_18(current_image_class, next_image_class, direction);
}else{
huge_it_fade_gallery_18(current_image_class, next_image_class, direction);
}
}else{
huge_it_fade_gallery_18(current_image_class, next_image_class, direction);
}
jQuery(‘.huge_it_slideshow_title_text_gallery_18’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_title_text_gallery_18’).html()==””){jQuery(‘.huge_it_slideshow_title_text_gallery_18’).addClass(‘none’);}
jQuery(‘.huge_it_slideshow_description_text_gallery_18’).removeClass(‘none’);
jQuery(‘.huge_it_gallery_like_cont_189542’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_description_text_gallery_18’).html()==””){
jQuery(‘.huge_it_slideshow_description_text_gallery_18’).addClass(‘none’);
}
jQuery(current_image_class).find(‘.huge_it_slideshow_title_text_gallery_18’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_slideshow_description_text_gallery_18’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_gallery_like_cont_189542’).addClass(‘none’);
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_18”).after(“–cur-key=”+current_key+” –cur-img-class=”+current_image_class+” nxt-img-class=”+next_image_class+”–“);
huge_it_move_dots_gallery_18();
window.clearInterval(huge_it_playInterval_gallery_18);
play_gallery_18();
}
}
function huge_it_popup_resize_gallery_18() {
var staticsliderwidth=600;
var sliderwidth=600;
var bodyWidth=jQuery(window).width();
var parentWidth = jQuery(“.huge_it_slideshow_image_wrap_gallery_18″).parent().width();
if(sliderwidth>parentWidth){sliderwidth=parentWidth;}
if(sliderwidth>bodyWidth){sliderwidth=bodyWidth;}
var str=(400/staticsliderwidth);
jQuery(‘.huge_it_slideshow_image_wrap_gallery_18’).css({‘max-height’:parentWidth*str-2*0});
}
jQuery(window).load(function () {
jQuery(window).resize(function() {
huge_it_popup_resize_gallery_18();
});
huge_it_popup_resize_gallery_18();
/* Disable right click.*/
jQuery(‘div[id^=”huge_it_container”]’).bind(“contextmenu”, function () {
return false;
});
/*HOVER SLIDESHOW*/
jQuery(“#huge_it_slideshow_image_container_gallery_18, .huge_it_slideshow_image_container_gallery_18, .huge_it_slideshow_dots_container_gallery_18,#huge_it_slideshow_right_gallery_18,#huge_it_slideshow_left_gallery_18”).hover(function(){
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_18″).after(” — hover —
“);
jQuery(“#huge_it_slideshow_right_gallery_18”).css({‘display’:’inline’});
jQuery(“#huge_it_slideshow_left_gallery_18”).css({‘display’:’inline’});
},function(){
jQuery(“#huge_it_slideshow_right_gallery_18”).css({‘display’:’none’});
jQuery(“#huge_it_slideshow_left_gallery_18″).css({‘display’:’none’});
});
var pausehover=”on”;
if(pausehover==”on”){
jQuery(“#huge_it_slideshow_image_container_gallery_18, .huge_it_slideshow_image_container_gallery_18, .huge_it_slideshow_dots_container_gallery_18,#huge_it_slideshow_right_gallery_18,#huge_it_slideshow_left_gallery_18”).hover(function(){
window.clearInterval(huge_it_playInterval_gallery_18);
},function(){
window.clearInterval(huge_it_playInterval_gallery_18);
play_gallery_18();
});
}
play_gallery_18();
});
function play_gallery_18() {
/* Play.*/
huge_it_playInterval_gallery_18 = setInterval(function () {
var iterator = 1;
huge_it_change_image_gallery_18(parseInt(jQuery(‘#huge_it_current_image_key_gallery_18’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_gallery_18’).val()) + iterator) % data_gallery_18.length, data_gallery_18,false,false);
}, ‘5000’);
}
jQuery(window).focus(function() {
var i_gallery_18 = 0;
jQuery(“.huge_it_slider_gallery_18”).children(“div”).each(function () {
if (jQuery(this).css(‘opacity’) == 1) {
jQuery(“#huge_it_current_image_key_gallery_18”).val(i_gallery_18);
}
i_gallery_18++;
});
play_gallery_18();
});
jQuery(window).blur(function() {
event_stack_gallery_18 = [];
window.clearInterval(huge_it_playInterval_gallery_18);
});
jQuery(document).ready(function ($) {
$(‘.thumb_wrapper’).on(‘click’, function (ev) {
var hugeid = $(this).data(‘rowid’);
var myid = hugeid;
myid = parseInt(myid);
eval(‘player_’ + myid + ‘.playVideo()’)
ev.preventDefault();
});
});
.huge_it_slideshow_image_wrap_gallery_18 {
height:400px;
width:600px;
max-width: calc(100% – 2*0px);
position:relative;
display: block;
text-align: center;
border:0px #ffffff solid;
box-sizing: content-box;
clear:both;
float:none; margin: 0 auto;}
.huge_it_slideshow_image_wrap_gallery_18 * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.huge_it_slideshow_image_gallery_18 {
width: 100%;
height: 100%;
left: 0;
top: 0;
/* height: auto;
top: 50%;
left: 50%;
transform: translate( -50%, -50% ); */
max-width: 100%;
max-height: 100%;
position: absolute;
}
.huge_it_slider_gallery_18 li iframe{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_18 li #thevideo{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_18 li .thumb_wrapper{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_18 li .thumb_wrapper img{
position: relative;
/*top: 50%;
transform: translateY(-50%);*/
}
#huge_it_slideshow_left_gallery_18,
#huge_it_slideshow_right_gallery_18 {
cursor: pointer;
display:none;
display: block;
height: 100%;
outline: medium none;
position: absolute;
/*z-index: 10130;*/
z-index: 13;
bottom:25px;
top:50%;
}
#huge_it_slideshow_left-ico_gallery_18,
#huge_it_slideshow_right-ico_gallery_18 {
z-index: 13;
-moz-box-sizing: content-box;
box-sizing: content-box;
cursor: pointer;
display: table;
left: -9999px;
line-height: 0;
margin-top: -15px;
position: absolute;
top: 50%;
}
#huge_it_slideshow_left-ico_gallery_18:hover,
#huge_it_slideshow_right-ico_gallery_18:hover {
cursor: pointer;
}
.huge_it_slideshow_image_container_gallery_18 {
display: table;
position: relative;
top: 0;
left: 0;
text-align: center;
vertical-align: middle;
width:100%;
height: 100%;
}
.huge_it_slideshow_title_text_gallery_18 {
text-decoration: none;
position: absolute;
z-index: 12;
display: inline-block;
width:30%;
/*height:50%;*/
right:0%;top:0%; padding:2%;
text-align:right;
font-weight:bold;
color:#000000;
background:rgba(255,255,255,0.7) !important;
border-style:solid;
font-size:13px;
border-width:0px;
border-color:#ffffff;
border-radius:4px;
}
.huge_it_slideshow_description_text_gallery_18 {
text-decoration: none;
position: absolute;
z-index: 11;
border-style:solid;
display: inline-block;
width:70%;
/*height:%;*/
right:0%;bottom:0%; padding:3%;
text-align:justify;
color:#ffffff;
background:rgba(0,0,0,0.7) !important;
border-style:solid;
font-size:12px;
border-width:0px;
border-color:#ffffff;
border-radius:0px;
}
.huge_it_slideshow_title_text_gallery_18.none, .huge_it_slideshow_description_text_gallery_18.none,
.huge_it_slideshow_title_text_gallery_18.hidden, .huge_it_slideshow_description_text_gallery_18.hidden {display:none;}
.huge_it_gallery_like_cont_189542.none{display:none !important;}
.huge_it_slideshow_title_text_gallery_18 h1, .huge_it_slideshow_description_text_gallery_18 h1,
.huge_it_slideshow_title_text_gallery_18 h2, .huge_it_slideshow_title_text_gallery_18 h2,
.huge_it_slideshow_title_text_gallery_18 h3, .huge_it_slideshow_title_text_gallery_18 h3,
.huge_it_slideshow_title_text_gallery_18 h4, .huge_it_slideshow_title_text_gallery_18 h4,
.huge_it_slideshow_title_text_gallery_18 p, .huge_it_slideshow_title_text_gallery_18 p,
.huge_it_slideshow_title_text_gallery_18 strong, .huge_it_slideshow_title_text_gallery_18 strong,
.huge_it_slideshow_title_text_gallery_18 span, .huge_it_slideshow_title_text_gallery_18 span,
.huge_it_slideshow_title_text_gallery_18 ul, .huge_it_slideshow_title_text_gallery_18 ul,
.huge_it_slideshow_title_text_gallery_18 li, .huge_it_slideshow_title_text_gallery_18 li {
padding:2px;
margin: 0;
}
.huge_it_slide_container_gallery_18 {
display: table-cell;
margin: 0 auto;
position: relative;
vertical-align: middle;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slide_bg_gallery_18 {
margin: 0 auto;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slider_gallery_18 {
width:100%;
height:100%;
display:table;
padding: 0;
margin: 0;
}
.huge_it_slideshow_image_item_gallery_18 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=100);
opacity: 1;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 2;
margin: 0 !important;
padding: 0;
overflow:hidden;
border-radius: 0px !important;
}
.huge_it_slideshow_image_second_item_gallery_18 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=0);
opacity: 0;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 1;
overflow:hidden;
margin: 0 !important;
padding: 0;
border-radius: 0px !important;
}
.huge_it_grid_gallery_18 {
display: none;
height: 100%;
overflow: hidden;
position: absolute;
width: 100%;
}
.huge_it_gridlet_gallery_18 {
opacity: 1;
filter: Alpha(opacity=100);
position: absolute;
}
.huge_it_slideshow_dots_container_gallery_18 {
display: table;
position: absolute;
width:100% !important;
height:100% !important;
}
.huge_it_slideshow_dots_thumbnails_gallery_18 {
margin: 0 auto;
overflow: hidden;
position: absolute;
width:100%;
height:60px;
}
.huge_it_slideshow_dots_gallery_18 {
display: inline-block;
position: relative;
cursor: pointer;
box-shadow: 1px 1px 1px rgba(0,0,0,0.1) inset, 1px 1px 1px rgba(255,255,255,0.1);
width:10px;
height: 10px;
border-radius: 10px;
background: #00f;
margin: 10px;
overflow: hidden;
z-index: 17;
}
.huge_it_slideshow_dots_active_gallery_18 {
opacity: 1;
background:#0f0;
filter: Alpha(opacity=100);
}
.huge_it_slideshow_dots_deactive_gallery_18 {
}
.huge_it_slideshow_image_item1_gallery_18 {
display: table;
width: inherit;
height: inherit;
}
.huge_it_slideshow_image_item2_gallery_18 {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.huge_it_slideshow_image_item2_gallery_18 a {
display:block;
vertical-align:middle;
width:100%;
height:100%;
}
.huge_it_slideshow_image_wrap_gallery_18 {
background:#ffffff;
}
.huge_it_slideshow_dots_thumbnails_gallery_18 {
top: 0; }
.huge_it_slideshow_dots_gallery_18 {
background:#000000;
}
.huge_it_slideshow_dots_active_gallery_18 {
background:#ffffff;
}
#huge_it_slideshow_left_gallery_18 {
left: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) left top no-repeat;
}
#huge_it_slideshow_right_gallery_18 {
right: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) right top no-repeat;
}
.thumb_image{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left:0;
}
.entry-content a{
border-bottom: none !important;
}
It’s also worth adding that there are few things cooler than a fleet of synchronised Mavics heading your way, they’re great looking aircraft and perform beautifully as well.
Days 6 and 7
The final two days were taken up learning about the process of repairing the DJI Phantom 4 Pro. Due to its similarity to its predecessor, the Phantom 4, this was the easiest process yet and before we knew it we were back out to conduct test flights on these impressive quadcopters.
var data_gallery_19 = [];
var event_stack_gallery_19 = [];
data_gallery_19[“0”]=[];data_gallery_19[“0”][“id”]=”0″;data_gallery_19[“0”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020800.jpg”;data_gallery_19[“0”][“description”]=””;data_gallery_19[“0”][“alt”]=””;data_gallery_19[“1”]=[];data_gallery_19[“1”][“id”]=”1″;data_gallery_19[“1”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-03-04-2017-09-04-49.jpg”;data_gallery_19[“1”][“description”]=””;data_gallery_19[“1”][“alt”]=””;data_gallery_19[“2”]=[];data_gallery_19[“2”][“id”]=”2″;data_gallery_19[“2”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-03-04-2017-09-04-51.jpg”;data_gallery_19[“2”][“description”]=””;data_gallery_19[“2”][“alt”]=””;data_gallery_19[“3”]=[];data_gallery_19[“3”][“id”]=”3″;data_gallery_19[“3”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-03-04-2017-09-23-28.jpg”;data_gallery_19[“3”][“description”]=””;data_gallery_19[“3”][“alt”]=””;data_gallery_19[“4”]=[];data_gallery_19[“4”][“id”]=”4″;data_gallery_19[“4”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-03-04-2017-09-31-45.jpg”;data_gallery_19[“4”][“description”]=””;data_gallery_19[“4”][“alt”]=””;data_gallery_19[“5”]=[];data_gallery_19[“5”][“id”]=”5″;data_gallery_19[“5”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-03-04-2017-09-37-17.jpg”;data_gallery_19[“5”][“description”]=””;data_gallery_19[“5”][“alt”]=””;data_gallery_19[“6”]=[];data_gallery_19[“6”][“id”]=”6″;data_gallery_19[“6”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020806.jpg”;data_gallery_19[“6”][“description”]=””;data_gallery_19[“6”][“alt”]=””;data_gallery_19[“7”]=[];data_gallery_19[“7”][“id”]=”7″;data_gallery_19[“7”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020810.jpg”;data_gallery_19[“7”][“description”]=””;data_gallery_19[“7”][“alt”]=””;data_gallery_19[“8”]=[];data_gallery_19[“8”][“id”]=”8″;data_gallery_19[“8”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020814.jpg”;data_gallery_19[“8”][“description”]=””;data_gallery_19[“8”][“alt”]=””;data_gallery_19[“9”]=[];data_gallery_19[“9”][“id”]=”9″;data_gallery_19[“9”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/P1020823.jpg”;data_gallery_19[“9”][“description”]=””;data_gallery_19[“9”][“alt”]=””; var huge_it_trans_in_progress_gallery_19 = false;
var huge_it_transition_duration_gallery_19 = 1000;
var huge_it_playInterval_gallery_19;
// Stop autoplay.
window.clearInterval(huge_it_playInterval_gallery_19);
// alert(‘huge_it_current_key_gallery_19’);
var huge_it_current_key_gallery_19 = ”;
function huge_it_move_dots_gallery_19() {
var image_left = jQuery(“.huge_it_slideshow_dots_active_gallery_19”).position().left;
var image_right = jQuery(“.huge_it_slideshow_dots_active_gallery_19”).position().left + jQuery(“.huge_it_slideshow_dots_active_gallery_19″).outerWidth(true);
}
function huge_it_testBrowser_cssTransitions_gallery_19() {
return huge_it_testDom_gallery_19(‘Transition’);
}
function huge_it_testBrowser_cssTransforms3d_gallery_19() {
return huge_it_testDom_gallery_19(‘Perspective’);
}
function huge_it_testDom_gallery_19(prop) {
// Browser vendor CSS prefixes.
var browserVendors = [”, ‘-webkit-‘, ‘-moz-‘, ‘-ms-‘, ‘-o-‘, ‘-khtml-‘];
// Browser vendor DOM prefixes.
var domPrefixes = [”, ‘Webkit’, ‘Moz’, ‘ms’, ‘O’, ‘Khtml’];
var i = domPrefixes.length;
while (i–) {
if (typeof document.body.style[domPrefixes[i] + prop] !== ‘undefined’) {
return true;
}
}
return false;
}
function huge_it_cube_gallery_19(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) {
/* If browser does not support 3d transforms/CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_19()) {
jQuery(“.huge_it_slideshow_dots_gallery_19”).removeClass(“huge_it_slideshow_dots_active_gallery_19”).addClass(“huge_it_slideshow_dots_deactive_gallery_19”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_19 + “_gallery_19”).removeClass(“huge_it_slideshow_dots_deactive_gallery_19”).addClass(“huge_it_slideshow_dots_active_gallery_19”);
return huge_it_fallback_gallery_19(current_image_class, next_image_class, direction);
}
if (!huge_it_testBrowser_cssTransforms3d_gallery_19()) {
return huge_it_fallback3d_gallery_19(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_19 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_19”).removeClass(“huge_it_slideshow_dots_active_gallery_19”).addClass(“huge_it_slideshow_dots_deactive_gallery_19”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_19 + “_gallery_19”).removeClass(“huge_it_slideshow_dots_deactive_gallery_19”).addClass(“huge_it_slideshow_dots_active_gallery_19”);
jQuery(“.huge_it_slide_bg_gallery_19”).css(‘perspective’, 1000);
jQuery(current_image_class).css({
transform : ‘translateZ(‘ + tz + ‘px)’,
backfaceVisibility : ‘hidden’
});
jQuery(“.huge_it_slideshow_image_wrap_gallery_19,.huge_it_slide_bg_gallery_19,.huge_it_slideshow_image_item_gallery_19,.huge_it_slideshow_image_second_item_gallery_19 “).css(‘overflow’, ‘visible’);
jQuery(next_image_class).css({
opacity : 1,
filter: ‘Alpha(opacity=100)’,
backfaceVisibility : ‘hidden’,
transform : ‘translateY(‘ + nty + ‘px) translateX(‘ + ntx + ‘px) rotateY(‘+ nry +’deg) rotateX(‘+ nrx +’deg)’
});
jQuery(“.huge_it_slider_gallery_19”).css({
transform: ‘translateZ(-‘ + tz + ‘px)’,
transformStyle: ‘preserve-3d’
});
/* Execution steps.*/
setTimeout(function () {
jQuery(“.huge_it_slider_gallery_19”).css({
transition: ‘all ‘ + huge_it_transition_duration_gallery_19 + ‘ms ease-in-out’,
transform: ‘translateZ(-‘ + tz + ‘px) rotateX(‘+ wrx +’deg) rotateY(‘+ wry +’deg)’
});
}, 20);
/* After transition.*/
jQuery(“.huge_it_slider_gallery_19”).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(“.huge_it_slide_bg_gallery_19,.huge_it_slideshow_image_item_gallery_19,.huge_it_slideshow_image_second_item_gallery_19 “).css(‘overflow’, ‘hidden’);
jQuery(“.huge_it_slide_bg_gallery_19”).removeAttr(‘style’);
jQuery(current_image_class).removeAttr(‘style’);
jQuery(next_image_class).removeAttr(‘style’);
jQuery(“.huge_it_slider_gallery_19”).removeAttr(‘style’);
jQuery(current_image_class).css({‘opacity’ : 0, filter: ‘Alpha(opacity=0)’, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, filter: ‘Alpha(opacity=100)’, ‘z-index’ : 2});
// huge_it_change_watermark_container_gallery_19();
huge_it_trans_in_progress_gallery_19 = false;
if (typeof event_stack_gallery_19 !== ‘undefined’ && event_stack_gallery_19.length > 0) {
key = event_stack_gallery_19[0].split(“-“);
event_stack_gallery_19.shift();
huge_it_change_image_gallery_19(key[0], key[1], data_gallery_19, true,false);
}
}
}
function huge_it_cubeH_gallery_19(current_image_class, next_image_class, direction) {
/* Set to half of image width.*/
var dimension = jQuery(current_image_class).width() / 2;
if (direction == ‘right’) {
huge_it_cube_gallery_19(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_19(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);
}
}
function huge_it_cubeV_gallery_19(current_image_class, next_image_class, direction) {
/* Set to half of image height.*/
var dimension = jQuery(current_image_class).height() / 2;
/* If next slide.*/
if (direction == ‘right’) {
huge_it_cube_gallery_19(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_19(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);
}
}
/* For browsers that does not support transitions.*/
function huge_it_fallback_gallery_19(current_image_class, next_image_class, direction) {
huge_it_fade_gallery_19(current_image_class, next_image_class, direction);
}
/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
function huge_it_fallback3d_gallery_19(current_image_class, next_image_class, direction) {
huge_it_sliceV_gallery_19(current_image_class, next_image_class, direction);
}
function huge_it_none_gallery_19(current_image_class, next_image_class, direction) {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_19”).removeClass(“huge_it_slideshow_dots_active_gallery_19”).addClass(“huge_it_slideshow_dots_deactive_gallery_19”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_19 + “_gallery_19”).removeClass(“huge_it_slideshow_dots_deactive_gallery_19”).addClass(“huge_it_slideshow_dots_active_gallery_19”);
}
function huge_it_fade_gallery_19(current_image_class, next_image_class, direction) {
if (huge_it_testBrowser_cssTransitions_gallery_19()) {
jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_19 + ‘ms linear’);
jQuery(current_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_19 + ‘ms linear’);
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
}
else {
jQuery(current_image_class).animate({‘opacity’ : 0, ‘z-index’ : 1}, huge_it_transition_duration_gallery_19);
jQuery(next_image_class).animate({
‘opacity’ : 1,
‘z-index’: 2
}, {
duration: huge_it_transition_duration_gallery_19,
complete: function () {return false;}
});
// For IE.
jQuery(current_image_class).fadeTo(huge_it_transition_duration_gallery_19, 0);
jQuery(next_image_class).fadeTo(huge_it_transition_duration_gallery_19, 1);
}
jQuery(“.huge_it_slideshow_dots_gallery_19”).removeClass(“huge_it_slideshow_dots_active_gallery_19”).addClass(“huge_it_slideshow_dots_deactive_gallery_19”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_19 + “_gallery_19”).removeClass(“huge_it_slideshow_dots_deactive_gallery_19”).addClass(“huge_it_slideshow_dots_active_gallery_19”);
}
function huge_it_grid_gallery_19(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {
/* If browser does not support CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_19()) {
jQuery(“.huge_it_slideshow_dots_gallery_19”).removeClass(“huge_it_slideshow_dots_active_gallery_19”).addClass(“huge_it_slideshow_dots_deactive_gallery_19”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_19 + “_gallery_19”).removeClass(“huge_it_slideshow_dots_deactive_gallery_19”).addClass(“huge_it_slideshow_dots_active_gallery_19”);
return huge_it_fallback_gallery_19(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_19 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_19”).removeClass(“huge_it_slideshow_dots_active_gallery_19”).addClass(“huge_it_slideshow_dots_deactive_gallery_19”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_19 + “_gallery_19”).removeClass(“huge_it_slideshow_dots_deactive_gallery_19”).addClass(“huge_it_slideshow_dots_active_gallery_19”);
/* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
var count = (huge_it_transition_duration_gallery_19) / (cols + rows);
/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
function huge_it_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
var delay = (c + r) * count;
/* Return a gridlet elem with styles for specific transition.*/
return jQuery(‘
‘).css({
width : width,
height : height,
top : top,
left : left,
backgroundImage : ‘url(“‘ + src + ‘”)’,
backgroundColor: jQuery(“.huge_it_slideshow_image_wrap_gallery_19”).css(“background-color”),
/*backgroundColor: rgba(0, 0, 0, 0),*/
backgroundRepeat: ‘no-repeat’,
backgroundPosition : img_left + ‘px ‘ + img_top + ‘px’,
backgroundSize : imgWidth + ‘px ‘ + imgHeight + ‘px’,
transition : ‘all ‘ + huge_it_transition_duration_gallery_19 + ‘ms ease-in-out ‘ + delay + ‘ms’,
transform : ‘none’
});
}
/* Get the current slide’s image.*/
var cur_img = jQuery(current_image_class).find(‘img’);
/* Create a grid to hold the gridlets.*/
var grid = jQuery(‘
‘).addClass(‘huge_it_grid_gallery_19’);
/* Prepend the grid to the next slide (i.e. so it’s above the slide image).*/
jQuery(current_image_class).prepend(grid);
/* vars to calculate positioning/size of gridlets*/
var cont = jQuery(“.huge_it_slide_bg_gallery_19″);
var imgWidth = cur_img.width();
var imgHeight = cur_img.height();
var contWidth = cont.width(),
contHeight = cont.height(),
imgSrc = cur_img.attr(‘src’),/*.replace(‘/thumb’, ”),*/
colWidth = Math.floor(contWidth / cols),
rowHeight = Math.floor(contHeight / rows),
colRemainder = contWidth – (cols * colWidth),
colAdd = Math.ceil(colRemainder / cols),
rowRemainder = contHeight – (rows * rowHeight),
rowAdd = Math.ceil(rowRemainder / rows),
leftDist = 0,
img_leftDist = (jQuery(“.huge_it_slide_bg_gallery_19”).width() – cur_img.width()) / 2;
/* tx/ty args can be passed as ‘auto’/’min-auto’ (meaning use slide width/height or negative slide width/height).*/
tx = tx === ‘auto’ ? contWidth : tx;
tx = tx === ‘min-auto’ ? – contWidth : tx;
ty = ty === ‘auto’ ? contHeight : ty;
ty = ty === ‘min-auto’ ? – contHeight : ty;
/* Loop through cols*/
for (var i = 0; i 0) {
var add = colRemainder >= colAdd ? colAdd : colRemainder;
newColWidth += add;
colRemainder -= add;
}
/* Nested loop to create row gridlets for each col.*/
for (var j = 0; j 0) {
add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
newRowHeight += add;
newRowRemainder -= add;
}
/* Create & append gridlet to grid.*/
grid.append(huge_it_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
topDist += newRowHeight;
img_topDst -= newRowHeight;
}
img_leftDist -= newColWidth;
leftDist += newColWidth;
}
/* Set event listener on last gridlet to finish transitioning.*/
var last_gridlet = grid.children().last();
/* Show grid & hide the image it replaces.*/
grid.show();
cur_img.css(‘opacity’, 0);
/* Add identifying classes to corner gridlets (useful if applying border radius).*/
grid.children().first().addClass(‘rs-top-left’);
grid.children().last().addClass(‘rs-bottom-right’);
grid.children().eq(rows – 1).addClass(‘rs-bottom-left’);
grid.children().eq(- rows).addClass(‘rs-top-right’);
/* Execution steps.*/
setTimeout(function () {
grid.children().css({
opacity: op,
transform: ‘rotate(‘+ ro +’deg) translateX(‘+ tx +’px) translateY(‘+ ty +’px) scale(‘+ sc +’)’
});
}, 1);
jQuery(next_image_class).css(‘opacity’, 1);
/* After transition.*/
jQuery(last_gridlet).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
cur_img.css(‘opacity’, 1);
grid.remove();
huge_it_trans_in_progress_gallery_19 = false;
if (typeof event_stack_gallery_19 !== ‘undefined’ && event_stack_gallery_19.length > 0) {
key = event_stack_gallery_19[0].split(“-“);
event_stack_gallery_19.shift();
huge_it_change_image_gallery_19(key[0], key[1], data_gallery_19, true,false);
}
}
}
function huge_it_sliceH_gallery_19(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_19(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_sliceV_gallery_19(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateY = ‘auto’;
}
huge_it_grid_gallery_19(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_slideV_gallery_19(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘auto’;
}
else if (direction == ‘left’) {
var translateY = ‘min-auto’;
}
huge_it_grid_gallery_19(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_slideH_gallery_19(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_19(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_scaleOut_gallery_19(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_19(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_scaleIn_gallery_19(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_19(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_blockScale_gallery_19(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_19(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction);
}
function huge_it_kaleidoscope_gallery_19(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_19(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_fan_gallery_19(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var rotate = 45;
var translateX = 100;
}
else if (direction == ‘left’) {
var rotate = -45;
var translateX = -100;
}
huge_it_grid_gallery_19(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_blindV_gallery_19(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_19(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_blindH_gallery_19(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_19(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_random_gallery_19(current_image_class, next_image_class, direction) {
var anims = [‘sliceH’, ‘sliceV’, ‘slideH’, ‘slideV’, ‘scaleOut’, ‘scaleIn’, ‘blockScale’, ‘kaleidoscope’, ‘fan’, ‘blindH’, ‘blindV’];
/* Pick a random transition from the anims array.*/
this[“huge_it_” + anims[Math.floor(Math.random() * anims.length)] + “_gallery_19”](current_image_class, next_image_class, direction);
}
function iterator_gallery_19() {
var iterator = 1;
return iterator;
}
function huge_it_change_image_gallery_19(current_key, key, data_gallery_19, from_effect,clicked) {
if (data_gallery_19[key]) {
if(typeof video_is_playing_gallery_19 != ‘undefined’ && video_is_playing_gallery_19 && !clicked){
return false;
}
if (!from_effect) {
// Change image key.
jQuery(“#huge_it_current_image_key_gallery_19”).val(key);
// if (current_key == ‘-2’) { /* Dots.*/
current_key = jQuery(“.huge_it_slideshow_dots_active_gallery_19”).attr(“data-image_key”);
// }
}
if (huge_it_trans_in_progress_gallery_19) {
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_19″).after(” –IN TRANSACTION–
“);
event_stack_gallery_19.push(current_key + ‘-‘ + key);
return;
}
var direction = ‘right’;
if (huge_it_current_key_gallery_19 > key) {
var direction = ‘left’;
}
else if (huge_it_current_key_gallery_19 == key) {
return false;
}
// Set active thumbnail position.
huge_it_current_key_gallery_19 = key;
//Change image id, title, description.
jQuery(“.huge_it_slideshow_image_gallery_19”).attr(‘data-image_id’, data_gallery_19[key][“id”]);
jQuery(“.huge_it_slideshow_title_text_gallery_19”).html(data_gallery_19[key][“alt”]);
jQuery(“.huge_it_slideshow_description_text_gallery_19”).html(data_gallery_19[key][“description”]);
var current_image_class = “#image_id_gallery_19_” + data_gallery_19[current_key][“id”];
var next_image_class = “#image_id_gallery_19_” + data_gallery_19[key][“id”];
if(jQuery(current_image_class).find(‘.huge_it_video_frame_gallery_19′).length>0) {
var streffect=’fade’;
if(streffect==”cubeV” || streffect==”cubeH” || streffect==”none” || streffect==”fade”){
huge_it_fade_gallery_19(current_image_class, next_image_class, direction);
}else{
huge_it_fade_gallery_19(current_image_class, next_image_class, direction);
}
}else{
huge_it_fade_gallery_19(current_image_class, next_image_class, direction);
}
jQuery(‘.huge_it_slideshow_title_text_gallery_19’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_title_text_gallery_19’).html()==””){jQuery(‘.huge_it_slideshow_title_text_gallery_19’).addClass(‘none’);}
jQuery(‘.huge_it_slideshow_description_text_gallery_19’).removeClass(‘none’);
jQuery(‘.huge_it_gallery_like_cont_199542’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_description_text_gallery_19’).html()==””){
jQuery(‘.huge_it_slideshow_description_text_gallery_19’).addClass(‘none’);
}
jQuery(current_image_class).find(‘.huge_it_slideshow_title_text_gallery_19’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_slideshow_description_text_gallery_19’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_gallery_like_cont_199542’).addClass(‘none’);
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_19”).after(“–cur-key=”+current_key+” –cur-img-class=”+current_image_class+” nxt-img-class=”+next_image_class+”–“);
huge_it_move_dots_gallery_19();
window.clearInterval(huge_it_playInterval_gallery_19);
play_gallery_19();
}
}
function huge_it_popup_resize_gallery_19() {
var staticsliderwidth=600;
var sliderwidth=600;
var bodyWidth=jQuery(window).width();
var parentWidth = jQuery(“.huge_it_slideshow_image_wrap_gallery_19″).parent().width();
if(sliderwidth>parentWidth){sliderwidth=parentWidth;}
if(sliderwidth>bodyWidth){sliderwidth=bodyWidth;}
var str=(400/staticsliderwidth);
jQuery(‘.huge_it_slideshow_image_wrap_gallery_19’).css({‘max-height’:parentWidth*str-2*0});
}
jQuery(window).load(function () {
jQuery(window).resize(function() {
huge_it_popup_resize_gallery_19();
});
huge_it_popup_resize_gallery_19();
/* Disable right click.*/
jQuery(‘div[id^=”huge_it_container”]’).bind(“contextmenu”, function () {
return false;
});
/*HOVER SLIDESHOW*/
jQuery(“#huge_it_slideshow_image_container_gallery_19, .huge_it_slideshow_image_container_gallery_19, .huge_it_slideshow_dots_container_gallery_19,#huge_it_slideshow_right_gallery_19,#huge_it_slideshow_left_gallery_19”).hover(function(){
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_19″).after(” — hover —
“);
jQuery(“#huge_it_slideshow_right_gallery_19”).css({‘display’:’inline’});
jQuery(“#huge_it_slideshow_left_gallery_19”).css({‘display’:’inline’});
},function(){
jQuery(“#huge_it_slideshow_right_gallery_19”).css({‘display’:’none’});
jQuery(“#huge_it_slideshow_left_gallery_19″).css({‘display’:’none’});
});
var pausehover=”on”;
if(pausehover==”on”){
jQuery(“#huge_it_slideshow_image_container_gallery_19, .huge_it_slideshow_image_container_gallery_19, .huge_it_slideshow_dots_container_gallery_19,#huge_it_slideshow_right_gallery_19,#huge_it_slideshow_left_gallery_19”).hover(function(){
window.clearInterval(huge_it_playInterval_gallery_19);
},function(){
window.clearInterval(huge_it_playInterval_gallery_19);
play_gallery_19();
});
}
play_gallery_19();
});
function play_gallery_19() {
/* Play.*/
huge_it_playInterval_gallery_19 = setInterval(function () {
var iterator = 1;
huge_it_change_image_gallery_19(parseInt(jQuery(‘#huge_it_current_image_key_gallery_19’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_gallery_19’).val()) + iterator) % data_gallery_19.length, data_gallery_19,false,false);
}, ‘5000’);
}
jQuery(window).focus(function() {
var i_gallery_19 = 0;
jQuery(“.huge_it_slider_gallery_19”).children(“div”).each(function () {
if (jQuery(this).css(‘opacity’) == 1) {
jQuery(“#huge_it_current_image_key_gallery_19”).val(i_gallery_19);
}
i_gallery_19++;
});
play_gallery_19();
});
jQuery(window).blur(function() {
event_stack_gallery_19 = [];
window.clearInterval(huge_it_playInterval_gallery_19);
});
jQuery(document).ready(function ($) {
$(‘.thumb_wrapper’).on(‘click’, function (ev) {
var hugeid = $(this).data(‘rowid’);
var myid = hugeid;
myid = parseInt(myid);
eval(‘player_’ + myid + ‘.playVideo()’)
ev.preventDefault();
});
});
.huge_it_slideshow_image_wrap_gallery_19 {
height:400px;
width:600px;
max-width: calc(100% – 2*0px);
position:relative;
display: block;
text-align: center;
border:0px #ffffff solid;
box-sizing: content-box;
clear:both;
float:none; margin: 0 auto;}
.huge_it_slideshow_image_wrap_gallery_19 * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.huge_it_slideshow_image_gallery_19 {
width: 100%;
height: 100%;
left: 0;
top: 0;
/* height: auto;
top: 50%;
left: 50%;
transform: translate( -50%, -50% ); */
max-width: 100%;
max-height: 100%;
position: absolute;
}
.huge_it_slider_gallery_19 li iframe{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_19 li #thevideo{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_19 li .thumb_wrapper{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_19 li .thumb_wrapper img{
position: relative;
/*top: 50%;
transform: translateY(-50%);*/
}
#huge_it_slideshow_left_gallery_19,
#huge_it_slideshow_right_gallery_19 {
cursor: pointer;
display:none;
display: block;
height: 100%;
outline: medium none;
position: absolute;
/*z-index: 10130;*/
z-index: 13;
bottom:25px;
top:50%;
}
#huge_it_slideshow_left-ico_gallery_19,
#huge_it_slideshow_right-ico_gallery_19 {
z-index: 13;
-moz-box-sizing: content-box;
box-sizing: content-box;
cursor: pointer;
display: table;
left: -9999px;
line-height: 0;
margin-top: -15px;
position: absolute;
top: 50%;
}
#huge_it_slideshow_left-ico_gallery_19:hover,
#huge_it_slideshow_right-ico_gallery_19:hover {
cursor: pointer;
}
.huge_it_slideshow_image_container_gallery_19 {
display: table;
position: relative;
top: 0;
left: 0;
text-align: center;
vertical-align: middle;
width:100%;
height: 100%;
}
.huge_it_slideshow_title_text_gallery_19 {
text-decoration: none;
position: absolute;
z-index: 12;
display: inline-block;
width:30%;
/*height:50%;*/
right:0%;top:0%; padding:2%;
text-align:right;
font-weight:bold;
color:#000000;
background:rgba(255,255,255,0.7) !important;
border-style:solid;
font-size:13px;
border-width:0px;
border-color:#ffffff;
border-radius:4px;
}
.huge_it_slideshow_description_text_gallery_19 {
text-decoration: none;
position: absolute;
z-index: 11;
border-style:solid;
display: inline-block;
width:70%;
/*height:%;*/
right:0%;bottom:0%; padding:3%;
text-align:justify;
color:#ffffff;
background:rgba(0,0,0,0.7) !important;
border-style:solid;
font-size:12px;
border-width:0px;
border-color:#ffffff;
border-radius:0px;
}
.huge_it_slideshow_title_text_gallery_19.none, .huge_it_slideshow_description_text_gallery_19.none,
.huge_it_slideshow_title_text_gallery_19.hidden, .huge_it_slideshow_description_text_gallery_19.hidden {display:none;}
.huge_it_gallery_like_cont_199542.none{display:none !important;}
.huge_it_slideshow_title_text_gallery_19 h1, .huge_it_slideshow_description_text_gallery_19 h1,
.huge_it_slideshow_title_text_gallery_19 h2, .huge_it_slideshow_title_text_gallery_19 h2,
.huge_it_slideshow_title_text_gallery_19 h3, .huge_it_slideshow_title_text_gallery_19 h3,
.huge_it_slideshow_title_text_gallery_19 h4, .huge_it_slideshow_title_text_gallery_19 h4,
.huge_it_slideshow_title_text_gallery_19 p, .huge_it_slideshow_title_text_gallery_19 p,
.huge_it_slideshow_title_text_gallery_19 strong, .huge_it_slideshow_title_text_gallery_19 strong,
.huge_it_slideshow_title_text_gallery_19 span, .huge_it_slideshow_title_text_gallery_19 span,
.huge_it_slideshow_title_text_gallery_19 ul, .huge_it_slideshow_title_text_gallery_19 ul,
.huge_it_slideshow_title_text_gallery_19 li, .huge_it_slideshow_title_text_gallery_19 li {
padding:2px;
margin: 0;
}
.huge_it_slide_container_gallery_19 {
display: table-cell;
margin: 0 auto;
position: relative;
vertical-align: middle;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slide_bg_gallery_19 {
margin: 0 auto;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slider_gallery_19 {
width:100%;
height:100%;
display:table;
padding: 0;
margin: 0;
}
.huge_it_slideshow_image_item_gallery_19 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=100);
opacity: 1;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 2;
margin: 0 !important;
padding: 0;
overflow:hidden;
border-radius: 0px !important;
}
.huge_it_slideshow_image_second_item_gallery_19 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=0);
opacity: 0;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 1;
overflow:hidden;
margin: 0 !important;
padding: 0;
border-radius: 0px !important;
}
.huge_it_grid_gallery_19 {
display: none;
height: 100%;
overflow: hidden;
position: absolute;
width: 100%;
}
.huge_it_gridlet_gallery_19 {
opacity: 1;
filter: Alpha(opacity=100);
position: absolute;
}
.huge_it_slideshow_dots_container_gallery_19 {
display: table;
position: absolute;
width:100% !important;
height:100% !important;
}
.huge_it_slideshow_dots_thumbnails_gallery_19 {
margin: 0 auto;
overflow: hidden;
position: absolute;
width:100%;
height:60px;
}
.huge_it_slideshow_dots_gallery_19 {
display: inline-block;
position: relative;
cursor: pointer;
box-shadow: 1px 1px 1px rgba(0,0,0,0.1) inset, 1px 1px 1px rgba(255,255,255,0.1);
width:10px;
height: 10px;
border-radius: 10px;
background: #00f;
margin: 10px;
overflow: hidden;
z-index: 17;
}
.huge_it_slideshow_dots_active_gallery_19 {
opacity: 1;
background:#0f0;
filter: Alpha(opacity=100);
}
.huge_it_slideshow_dots_deactive_gallery_19 {
}
.huge_it_slideshow_image_item1_gallery_19 {
display: table;
width: inherit;
height: inherit;
}
.huge_it_slideshow_image_item2_gallery_19 {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.huge_it_slideshow_image_item2_gallery_19 a {
display:block;
vertical-align:middle;
width:100%;
height:100%;
}
.huge_it_slideshow_image_wrap_gallery_19 {
background:#ffffff;
}
.huge_it_slideshow_dots_thumbnails_gallery_19 {
top: 0; }
.huge_it_slideshow_dots_gallery_19 {
background:#000000;
}
.huge_it_slideshow_dots_active_gallery_19 {
background:#ffffff;
}
#huge_it_slideshow_left_gallery_19 {
left: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) left top no-repeat;
}
#huge_it_slideshow_right_gallery_19 {
right: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) right top no-repeat;
}
.thumb_image{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left:0;
}
.entry-content a{
border-bottom: none !important;
}
Once all of the flight tests and repair work of the course was complete there was only one thing left to do, it was all you can eat rib night at the local bar, and that topped off a fantastic 11 days in Holland!
The Location
Due to the timings of the course, I had a weekend to explore the city of Rotterdam, which is definitely a city where you have to rent a bicycle to get around. Fortunately, the Netherlands treats cyclists well so I felt right at home.
var data_gallery_15 = [];
var event_stack_gallery_15 = [];
data_gallery_15[“0”]=[];data_gallery_15[“0”][“id”]=”0″;data_gallery_15[“0”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-01-04-2017-09-15-53.jpg”;data_gallery_15[“0”][“description”]=””;data_gallery_15[“0”][“alt”]=””;data_gallery_15[“1”]=[];data_gallery_15[“1”][“id”]=”1″;data_gallery_15[“1”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-01-04-2017-09-51-13.jpg”;data_gallery_15[“1”][“description”]=””;data_gallery_15[“1”][“alt”]=””;data_gallery_15[“2”]=[];data_gallery_15[“2”][“id”]=”2″;data_gallery_15[“2”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-01-04-2017-10-15-49.jpg”;data_gallery_15[“2”][“description”]=””;data_gallery_15[“2”][“alt”]=””;data_gallery_15[“3”]=[];data_gallery_15[“3”][“id”]=”3″;data_gallery_15[“3”][“image_url”]=”https://www.heliguy.com/blog/wp-content/uploads/2017/05/Photo-01-04-2017-10-50-23.jpg”;data_gallery_15[“3”][“description”]=””;data_gallery_15[“3”][“alt”]=””; var huge_it_trans_in_progress_gallery_15 = false;
var huge_it_transition_duration_gallery_15 = 1000;
var huge_it_playInterval_gallery_15;
// Stop autoplay.
window.clearInterval(huge_it_playInterval_gallery_15);
// alert(‘huge_it_current_key_gallery_15’);
var huge_it_current_key_gallery_15 = ”;
function huge_it_move_dots_gallery_15() {
var image_left = jQuery(“.huge_it_slideshow_dots_active_gallery_15”).position().left;
var image_right = jQuery(“.huge_it_slideshow_dots_active_gallery_15”).position().left + jQuery(“.huge_it_slideshow_dots_active_gallery_15″).outerWidth(true);
}
function huge_it_testBrowser_cssTransitions_gallery_15() {
return huge_it_testDom_gallery_15(‘Transition’);
}
function huge_it_testBrowser_cssTransforms3d_gallery_15() {
return huge_it_testDom_gallery_15(‘Perspective’);
}
function huge_it_testDom_gallery_15(prop) {
// Browser vendor CSS prefixes.
var browserVendors = [”, ‘-webkit-‘, ‘-moz-‘, ‘-ms-‘, ‘-o-‘, ‘-khtml-‘];
// Browser vendor DOM prefixes.
var domPrefixes = [”, ‘Webkit’, ‘Moz’, ‘ms’, ‘O’, ‘Khtml’];
var i = domPrefixes.length;
while (i–) {
if (typeof document.body.style[domPrefixes[i] + prop] !== ‘undefined’) {
return true;
}
}
return false;
}
function huge_it_cube_gallery_15(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) {
/* If browser does not support 3d transforms/CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_15()) {
jQuery(“.huge_it_slideshow_dots_gallery_15”).removeClass(“huge_it_slideshow_dots_active_gallery_15”).addClass(“huge_it_slideshow_dots_deactive_gallery_15”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_15 + “_gallery_15”).removeClass(“huge_it_slideshow_dots_deactive_gallery_15”).addClass(“huge_it_slideshow_dots_active_gallery_15”);
return huge_it_fallback_gallery_15(current_image_class, next_image_class, direction);
}
if (!huge_it_testBrowser_cssTransforms3d_gallery_15()) {
return huge_it_fallback3d_gallery_15(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_15 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_15”).removeClass(“huge_it_slideshow_dots_active_gallery_15”).addClass(“huge_it_slideshow_dots_deactive_gallery_15”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_15 + “_gallery_15”).removeClass(“huge_it_slideshow_dots_deactive_gallery_15”).addClass(“huge_it_slideshow_dots_active_gallery_15”);
jQuery(“.huge_it_slide_bg_gallery_15”).css(‘perspective’, 1000);
jQuery(current_image_class).css({
transform : ‘translateZ(‘ + tz + ‘px)’,
backfaceVisibility : ‘hidden’
});
jQuery(“.huge_it_slideshow_image_wrap_gallery_15,.huge_it_slide_bg_gallery_15,.huge_it_slideshow_image_item_gallery_15,.huge_it_slideshow_image_second_item_gallery_15 “).css(‘overflow’, ‘visible’);
jQuery(next_image_class).css({
opacity : 1,
filter: ‘Alpha(opacity=100)’,
backfaceVisibility : ‘hidden’,
transform : ‘translateY(‘ + nty + ‘px) translateX(‘ + ntx + ‘px) rotateY(‘+ nry +’deg) rotateX(‘+ nrx +’deg)’
});
jQuery(“.huge_it_slider_gallery_15”).css({
transform: ‘translateZ(-‘ + tz + ‘px)’,
transformStyle: ‘preserve-3d’
});
/* Execution steps.*/
setTimeout(function () {
jQuery(“.huge_it_slider_gallery_15”).css({
transition: ‘all ‘ + huge_it_transition_duration_gallery_15 + ‘ms ease-in-out’,
transform: ‘translateZ(-‘ + tz + ‘px) rotateX(‘+ wrx +’deg) rotateY(‘+ wry +’deg)’
});
}, 20);
/* After transition.*/
jQuery(“.huge_it_slider_gallery_15”).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(“.huge_it_slide_bg_gallery_15,.huge_it_slideshow_image_item_gallery_15,.huge_it_slideshow_image_second_item_gallery_15 “).css(‘overflow’, ‘hidden’);
jQuery(“.huge_it_slide_bg_gallery_15”).removeAttr(‘style’);
jQuery(current_image_class).removeAttr(‘style’);
jQuery(next_image_class).removeAttr(‘style’);
jQuery(“.huge_it_slider_gallery_15”).removeAttr(‘style’);
jQuery(current_image_class).css({‘opacity’ : 0, filter: ‘Alpha(opacity=0)’, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, filter: ‘Alpha(opacity=100)’, ‘z-index’ : 2});
// huge_it_change_watermark_container_gallery_15();
huge_it_trans_in_progress_gallery_15 = false;
if (typeof event_stack_gallery_15 !== ‘undefined’ && event_stack_gallery_15.length > 0) {
key = event_stack_gallery_15[0].split(“-“);
event_stack_gallery_15.shift();
huge_it_change_image_gallery_15(key[0], key[1], data_gallery_15, true,false);
}
}
}
function huge_it_cubeH_gallery_15(current_image_class, next_image_class, direction) {
/* Set to half of image width.*/
var dimension = jQuery(current_image_class).width() / 2;
if (direction == ‘right’) {
huge_it_cube_gallery_15(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_15(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);
}
}
function huge_it_cubeV_gallery_15(current_image_class, next_image_class, direction) {
/* Set to half of image height.*/
var dimension = jQuery(current_image_class).height() / 2;
/* If next slide.*/
if (direction == ‘right’) {
huge_it_cube_gallery_15(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_15(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);
}
}
/* For browsers that does not support transitions.*/
function huge_it_fallback_gallery_15(current_image_class, next_image_class, direction) {
huge_it_fade_gallery_15(current_image_class, next_image_class, direction);
}
/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
function huge_it_fallback3d_gallery_15(current_image_class, next_image_class, direction) {
huge_it_sliceV_gallery_15(current_image_class, next_image_class, direction);
}
function huge_it_none_gallery_15(current_image_class, next_image_class, direction) {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_15”).removeClass(“huge_it_slideshow_dots_active_gallery_15”).addClass(“huge_it_slideshow_dots_deactive_gallery_15”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_15 + “_gallery_15”).removeClass(“huge_it_slideshow_dots_deactive_gallery_15”).addClass(“huge_it_slideshow_dots_active_gallery_15”);
}
function huge_it_fade_gallery_15(current_image_class, next_image_class, direction) {
if (huge_it_testBrowser_cssTransitions_gallery_15()) {
jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_15 + ‘ms linear’);
jQuery(current_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_15 + ‘ms linear’);
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
}
else {
jQuery(current_image_class).animate({‘opacity’ : 0, ‘z-index’ : 1}, huge_it_transition_duration_gallery_15);
jQuery(next_image_class).animate({
‘opacity’ : 1,
‘z-index’: 2
}, {
duration: huge_it_transition_duration_gallery_15,
complete: function () {return false;}
});
// For IE.
jQuery(current_image_class).fadeTo(huge_it_transition_duration_gallery_15, 0);
jQuery(next_image_class).fadeTo(huge_it_transition_duration_gallery_15, 1);
}
jQuery(“.huge_it_slideshow_dots_gallery_15”).removeClass(“huge_it_slideshow_dots_active_gallery_15”).addClass(“huge_it_slideshow_dots_deactive_gallery_15”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_15 + “_gallery_15”).removeClass(“huge_it_slideshow_dots_deactive_gallery_15”).addClass(“huge_it_slideshow_dots_active_gallery_15”);
}
function huge_it_grid_gallery_15(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {
/* If browser does not support CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_15()) {
jQuery(“.huge_it_slideshow_dots_gallery_15”).removeClass(“huge_it_slideshow_dots_active_gallery_15”).addClass(“huge_it_slideshow_dots_deactive_gallery_15”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_15 + “_gallery_15”).removeClass(“huge_it_slideshow_dots_deactive_gallery_15”).addClass(“huge_it_slideshow_dots_active_gallery_15”);
return huge_it_fallback_gallery_15(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_15 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_15”).removeClass(“huge_it_slideshow_dots_active_gallery_15”).addClass(“huge_it_slideshow_dots_deactive_gallery_15”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_15 + “_gallery_15”).removeClass(“huge_it_slideshow_dots_deactive_gallery_15”).addClass(“huge_it_slideshow_dots_active_gallery_15”);
/* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
var count = (huge_it_transition_duration_gallery_15) / (cols + rows);
/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
function huge_it_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
var delay = (c + r) * count;
/* Return a gridlet elem with styles for specific transition.*/
return jQuery(‘
‘).css({
width : width,
height : height,
top : top,
left : left,
backgroundImage : ‘url(“‘ + src + ‘”)’,
backgroundColor: jQuery(“.huge_it_slideshow_image_wrap_gallery_15”).css(“background-color”),
/*backgroundColor: rgba(0, 0, 0, 0),*/
backgroundRepeat: ‘no-repeat’,
backgroundPosition : img_left + ‘px ‘ + img_top + ‘px’,
backgroundSize : imgWidth + ‘px ‘ + imgHeight + ‘px’,
transition : ‘all ‘ + huge_it_transition_duration_gallery_15 + ‘ms ease-in-out ‘ + delay + ‘ms’,
transform : ‘none’
});
}
/* Get the current slide’s image.*/
var cur_img = jQuery(current_image_class).find(‘img’);
/* Create a grid to hold the gridlets.*/
var grid = jQuery(‘
‘).addClass(‘huge_it_grid_gallery_15’);
/* Prepend the grid to the next slide (i.e. so it’s above the slide image).*/
jQuery(current_image_class).prepend(grid);
/* vars to calculate positioning/size of gridlets*/
var cont = jQuery(“.huge_it_slide_bg_gallery_15″);
var imgWidth = cur_img.width();
var imgHeight = cur_img.height();
var contWidth = cont.width(),
contHeight = cont.height(),
imgSrc = cur_img.attr(‘src’),/*.replace(‘/thumb’, ”),*/
colWidth = Math.floor(contWidth / cols),
rowHeight = Math.floor(contHeight / rows),
colRemainder = contWidth – (cols * colWidth),
colAdd = Math.ceil(colRemainder / cols),
rowRemainder = contHeight – (rows * rowHeight),
rowAdd = Math.ceil(rowRemainder / rows),
leftDist = 0,
img_leftDist = (jQuery(“.huge_it_slide_bg_gallery_15”).width() – cur_img.width()) / 2;
/* tx/ty args can be passed as ‘auto’/’min-auto’ (meaning use slide width/height or negative slide width/height).*/
tx = tx === ‘auto’ ? contWidth : tx;
tx = tx === ‘min-auto’ ? – contWidth : tx;
ty = ty === ‘auto’ ? contHeight : ty;
ty = ty === ‘min-auto’ ? – contHeight : ty;
/* Loop through cols*/
for (var i = 0; i 0) {
var add = colRemainder >= colAdd ? colAdd : colRemainder;
newColWidth += add;
colRemainder -= add;
}
/* Nested loop to create row gridlets for each col.*/
for (var j = 0; j 0) {
add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
newRowHeight += add;
newRowRemainder -= add;
}
/* Create & append gridlet to grid.*/
grid.append(huge_it_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
topDist += newRowHeight;
img_topDst -= newRowHeight;
}
img_leftDist -= newColWidth;
leftDist += newColWidth;
}
/* Set event listener on last gridlet to finish transitioning.*/
var last_gridlet = grid.children().last();
/* Show grid & hide the image it replaces.*/
grid.show();
cur_img.css(‘opacity’, 0);
/* Add identifying classes to corner gridlets (useful if applying border radius).*/
grid.children().first().addClass(‘rs-top-left’);
grid.children().last().addClass(‘rs-bottom-right’);
grid.children().eq(rows – 1).addClass(‘rs-bottom-left’);
grid.children().eq(- rows).addClass(‘rs-top-right’);
/* Execution steps.*/
setTimeout(function () {
grid.children().css({
opacity: op,
transform: ‘rotate(‘+ ro +’deg) translateX(‘+ tx +’px) translateY(‘+ ty +’px) scale(‘+ sc +’)’
});
}, 1);
jQuery(next_image_class).css(‘opacity’, 1);
/* After transition.*/
jQuery(last_gridlet).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
cur_img.css(‘opacity’, 1);
grid.remove();
huge_it_trans_in_progress_gallery_15 = false;
if (typeof event_stack_gallery_15 !== ‘undefined’ && event_stack_gallery_15.length > 0) {
key = event_stack_gallery_15[0].split(“-“);
event_stack_gallery_15.shift();
huge_it_change_image_gallery_15(key[0], key[1], data_gallery_15, true,false);
}
}
}
function huge_it_sliceH_gallery_15(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_15(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_sliceV_gallery_15(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateY = ‘auto’;
}
huge_it_grid_gallery_15(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_slideV_gallery_15(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateY = ‘auto’;
}
else if (direction == ‘left’) {
var translateY = ‘min-auto’;
}
huge_it_grid_gallery_15(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_slideH_gallery_15(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var translateX = ‘min-auto’;
}
else if (direction == ‘left’) {
var translateX = ‘auto’;
}
huge_it_grid_gallery_15(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction);
}
function huge_it_scaleOut_gallery_15(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_15(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_scaleIn_gallery_15(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_15(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction);
}
function huge_it_blockScale_gallery_15(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_15(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction);
}
function huge_it_kaleidoscope_gallery_15(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_15(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_fan_gallery_15(current_image_class, next_image_class, direction) {
if (direction == ‘right’) {
var rotate = 45;
var translateX = 100;
}
else if (direction == ‘left’) {
var rotate = -45;
var translateX = -100;
}
huge_it_grid_gallery_15(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction);
}
function huge_it_blindV_gallery_15(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_15(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_blindH_gallery_15(current_image_class, next_image_class, direction) {
huge_it_grid_gallery_15(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);
}
function huge_it_random_gallery_15(current_image_class, next_image_class, direction) {
var anims = [‘sliceH’, ‘sliceV’, ‘slideH’, ‘slideV’, ‘scaleOut’, ‘scaleIn’, ‘blockScale’, ‘kaleidoscope’, ‘fan’, ‘blindH’, ‘blindV’];
/* Pick a random transition from the anims array.*/
this[“huge_it_” + anims[Math.floor(Math.random() * anims.length)] + “_gallery_15”](current_image_class, next_image_class, direction);
}
function iterator_gallery_15() {
var iterator = 1;
return iterator;
}
function huge_it_change_image_gallery_15(current_key, key, data_gallery_15, from_effect,clicked) {
if (data_gallery_15[key]) {
if(typeof video_is_playing_gallery_15 != ‘undefined’ && video_is_playing_gallery_15 && !clicked){
return false;
}
if (!from_effect) {
// Change image key.
jQuery(“#huge_it_current_image_key_gallery_15”).val(key);
// if (current_key == ‘-2’) { /* Dots.*/
current_key = jQuery(“.huge_it_slideshow_dots_active_gallery_15”).attr(“data-image_key”);
// }
}
if (huge_it_trans_in_progress_gallery_15) {
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_15″).after(” –IN TRANSACTION–
“);
event_stack_gallery_15.push(current_key + ‘-‘ + key);
return;
}
var direction = ‘right’;
if (huge_it_current_key_gallery_15 > key) {
var direction = ‘left’;
}
else if (huge_it_current_key_gallery_15 == key) {
return false;
}
// Set active thumbnail position.
huge_it_current_key_gallery_15 = key;
//Change image id, title, description.
jQuery(“.huge_it_slideshow_image_gallery_15”).attr(‘data-image_id’, data_gallery_15[key][“id”]);
jQuery(“.huge_it_slideshow_title_text_gallery_15”).html(data_gallery_15[key][“alt”]);
jQuery(“.huge_it_slideshow_description_text_gallery_15”).html(data_gallery_15[key][“description”]);
var current_image_class = “#image_id_gallery_15_” + data_gallery_15[current_key][“id”];
var next_image_class = “#image_id_gallery_15_” + data_gallery_15[key][“id”];
if(jQuery(current_image_class).find(‘.huge_it_video_frame_gallery_15′).length>0) {
var streffect=’fade’;
if(streffect==”cubeV” || streffect==”cubeH” || streffect==”none” || streffect==”fade”){
huge_it_fade_gallery_15(current_image_class, next_image_class, direction);
}else{
huge_it_fade_gallery_15(current_image_class, next_image_class, direction);
}
}else{
huge_it_fade_gallery_15(current_image_class, next_image_class, direction);
}
jQuery(‘.huge_it_slideshow_title_text_gallery_15’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_title_text_gallery_15’).html()==””){jQuery(‘.huge_it_slideshow_title_text_gallery_15’).addClass(‘none’);}
jQuery(‘.huge_it_slideshow_description_text_gallery_15’).removeClass(‘none’);
jQuery(‘.huge_it_gallery_like_cont_159542’).removeClass(‘none’);
if(jQuery(‘.huge_it_slideshow_description_text_gallery_15’).html()==””){
jQuery(‘.huge_it_slideshow_description_text_gallery_15’).addClass(‘none’);
}
jQuery(current_image_class).find(‘.huge_it_slideshow_title_text_gallery_15’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_slideshow_description_text_gallery_15’).addClass(‘none’);
jQuery(current_image_class).find(‘.huge_it_gallery_like_cont_159542’).addClass(‘none’);
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_15”).after(“–cur-key=”+current_key+” –cur-img-class=”+current_image_class+” nxt-img-class=”+next_image_class+”–“);
huge_it_move_dots_gallery_15();
window.clearInterval(huge_it_playInterval_gallery_15);
play_gallery_15();
}
}
function huge_it_popup_resize_gallery_15() {
var staticsliderwidth=600;
var sliderwidth=600;
var bodyWidth=jQuery(window).width();
var parentWidth = jQuery(“.huge_it_slideshow_image_wrap_gallery_15″).parent().width();
if(sliderwidth>parentWidth){sliderwidth=parentWidth;}
if(sliderwidth>bodyWidth){sliderwidth=bodyWidth;}
var str=(400/staticsliderwidth);
jQuery(‘.huge_it_slideshow_image_wrap_gallery_15’).css({‘max-height’:parentWidth*str-2*0});
}
jQuery(window).load(function () {
jQuery(window).resize(function() {
huge_it_popup_resize_gallery_15();
});
huge_it_popup_resize_gallery_15();
/* Disable right click.*/
jQuery(‘div[id^=”huge_it_container”]’).bind(“contextmenu”, function () {
return false;
});
/*HOVER SLIDESHOW*/
jQuery(“#huge_it_slideshow_image_container_gallery_15, .huge_it_slideshow_image_container_gallery_15, .huge_it_slideshow_dots_container_gallery_15,#huge_it_slideshow_right_gallery_15,#huge_it_slideshow_left_gallery_15”).hover(function(){
//errorlogjQuery(“.huge_it_slideshow_image_wrap_gallery_15″).after(” — hover —
“);
jQuery(“#huge_it_slideshow_right_gallery_15”).css({‘display’:’inline’});
jQuery(“#huge_it_slideshow_left_gallery_15”).css({‘display’:’inline’});
},function(){
jQuery(“#huge_it_slideshow_right_gallery_15”).css({‘display’:’none’});
jQuery(“#huge_it_slideshow_left_gallery_15″).css({‘display’:’none’});
});
var pausehover=”on”;
if(pausehover==”on”){
jQuery(“#huge_it_slideshow_image_container_gallery_15, .huge_it_slideshow_image_container_gallery_15, .huge_it_slideshow_dots_container_gallery_15,#huge_it_slideshow_right_gallery_15,#huge_it_slideshow_left_gallery_15”).hover(function(){
window.clearInterval(huge_it_playInterval_gallery_15);
},function(){
window.clearInterval(huge_it_playInterval_gallery_15);
play_gallery_15();
});
}
play_gallery_15();
});
function play_gallery_15() {
/* Play.*/
huge_it_playInterval_gallery_15 = setInterval(function () {
var iterator = 1;
huge_it_change_image_gallery_15(parseInt(jQuery(‘#huge_it_current_image_key_gallery_15’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_gallery_15’).val()) + iterator) % data_gallery_15.length, data_gallery_15,false,false);
}, ‘5000’);
}
jQuery(window).focus(function() {
var i_gallery_15 = 0;
jQuery(“.huge_it_slider_gallery_15”).children(“div”).each(function () {
if (jQuery(this).css(‘opacity’) == 1) {
jQuery(“#huge_it_current_image_key_gallery_15”).val(i_gallery_15);
}
i_gallery_15++;
});
play_gallery_15();
});
jQuery(window).blur(function() {
event_stack_gallery_15 = [];
window.clearInterval(huge_it_playInterval_gallery_15);
});
jQuery(document).ready(function ($) {
$(‘.thumb_wrapper’).on(‘click’, function (ev) {
var hugeid = $(this).data(‘rowid’);
var myid = hugeid;
myid = parseInt(myid);
eval(‘player_’ + myid + ‘.playVideo()’)
ev.preventDefault();
});
});
.huge_it_slideshow_image_wrap_gallery_15 {
height:400px;
width:600px;
max-width: calc(100% – 2*0px);
position:relative;
display: block;
text-align: center;
border:0px #ffffff solid;
box-sizing: content-box;
clear:both;
float:none; margin: 0 auto;}
.huge_it_slideshow_image_wrap_gallery_15 * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.huge_it_slideshow_image_gallery_15 {
width: 100%;
height: 100%;
left: 0;
top: 0;
/* height: auto;
top: 50%;
left: 50%;
transform: translate( -50%, -50% ); */
max-width: 100%;
max-height: 100%;
position: absolute;
}
.huge_it_slider_gallery_15 li iframe{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_15 li #thevideo{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_15 li .thumb_wrapper{
width: 100%;
height: 100%;
}
.huge_it_slider_gallery_15 li .thumb_wrapper img{
position: relative;
/*top: 50%;
transform: translateY(-50%);*/
}
#huge_it_slideshow_left_gallery_15,
#huge_it_slideshow_right_gallery_15 {
cursor: pointer;
display:none;
display: block;
height: 100%;
outline: medium none;
position: absolute;
/*z-index: 10130;*/
z-index: 13;
bottom:25px;
top:50%;
}
#huge_it_slideshow_left-ico_gallery_15,
#huge_it_slideshow_right-ico_gallery_15 {
z-index: 13;
-moz-box-sizing: content-box;
box-sizing: content-box;
cursor: pointer;
display: table;
left: -9999px;
line-height: 0;
margin-top: -15px;
position: absolute;
top: 50%;
}
#huge_it_slideshow_left-ico_gallery_15:hover,
#huge_it_slideshow_right-ico_gallery_15:hover {
cursor: pointer;
}
.huge_it_slideshow_image_container_gallery_15 {
display: table;
position: relative;
top: 0;
left: 0;
text-align: center;
vertical-align: middle;
width:100%;
height: 100%;
}
.huge_it_slideshow_title_text_gallery_15 {
text-decoration: none;
position: absolute;
z-index: 12;
display: inline-block;
width:30%;
/*height:50%;*/
right:0%;top:0%; padding:2%;
text-align:right;
font-weight:bold;
color:#000000;
background:rgba(255,255,255,0.7) !important;
border-style:solid;
font-size:13px;
border-width:0px;
border-color:#ffffff;
border-radius:4px;
}
.huge_it_slideshow_description_text_gallery_15 {
text-decoration: none;
position: absolute;
z-index: 11;
border-style:solid;
display: inline-block;
width:70%;
/*height:%;*/
right:0%;bottom:0%; padding:3%;
text-align:justify;
color:#ffffff;
background:rgba(0,0,0,0.7) !important;
border-style:solid;
font-size:12px;
border-width:0px;
border-color:#ffffff;
border-radius:0px;
}
.huge_it_slideshow_title_text_gallery_15.none, .huge_it_slideshow_description_text_gallery_15.none,
.huge_it_slideshow_title_text_gallery_15.hidden, .huge_it_slideshow_description_text_gallery_15.hidden {display:none;}
.huge_it_gallery_like_cont_159542.none{display:none !important;}
.huge_it_slideshow_title_text_gallery_15 h1, .huge_it_slideshow_description_text_gallery_15 h1,
.huge_it_slideshow_title_text_gallery_15 h2, .huge_it_slideshow_title_text_gallery_15 h2,
.huge_it_slideshow_title_text_gallery_15 h3, .huge_it_slideshow_title_text_gallery_15 h3,
.huge_it_slideshow_title_text_gallery_15 h4, .huge_it_slideshow_title_text_gallery_15 h4,
.huge_it_slideshow_title_text_gallery_15 p, .huge_it_slideshow_title_text_gallery_15 p,
.huge_it_slideshow_title_text_gallery_15 strong, .huge_it_slideshow_title_text_gallery_15 strong,
.huge_it_slideshow_title_text_gallery_15 span, .huge_it_slideshow_title_text_gallery_15 span,
.huge_it_slideshow_title_text_gallery_15 ul, .huge_it_slideshow_title_text_gallery_15 ul,
.huge_it_slideshow_title_text_gallery_15 li, .huge_it_slideshow_title_text_gallery_15 li {
padding:2px;
margin: 0;
}
.huge_it_slide_container_gallery_15 {
display: table-cell;
margin: 0 auto;
position: relative;
vertical-align: middle;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slide_bg_gallery_15 {
margin: 0 auto;
width:100%;
height:100%;
_width: inherit;
_height: inherit;
}
.huge_it_slider_gallery_15 {
width:100%;
height:100%;
display:table;
padding: 0;
margin: 0;
}
.huge_it_slideshow_image_item_gallery_15 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=100);
opacity: 1;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 2;
margin: 0 !important;
padding: 0;
overflow:hidden;
border-radius: 0px !important;
}
.huge_it_slideshow_image_second_item_gallery_15 {
width:100%;
height:100%;
display: table-cell;
filter: Alpha(opacity=0);
opacity: 0;
position: absolute;
top: 0;
left: 0;
vertical-align: middle;
z-index: 1;
overflow:hidden;
margin: 0 !important;
padding: 0;
border-radius: 0px !important;
}
.huge_it_grid_gallery_15 {
display: none;
height: 100%;
overflow: hidden;
position: absolute;
width: 100%;
}
.huge_it_gridlet_gallery_15 {
opacity: 1;
filter: Alpha(opacity=100);
position: absolute;
}
.huge_it_slideshow_dots_container_gallery_15 {
display: table;
position: absolute;
width:100% !important;
height:100% !important;
}
.huge_it_slideshow_dots_thumbnails_gallery_15 {
margin: 0 auto;
overflow: hidden;
position: absolute;
width:100%;
height:60px;
}
.huge_it_slideshow_dots_gallery_15 {
display: inline-block;
position: relative;
cursor: pointer;
box-shadow: 1px 1px 1px rgba(0,0,0,0.1) inset, 1px 1px 1px rgba(255,255,255,0.1);
width:10px;
height: 10px;
border-radius: 10px;
background: #00f;
margin: 10px;
overflow: hidden;
z-index: 17;
}
.huge_it_slideshow_dots_active_gallery_15 {
opacity: 1;
background:#0f0;
filter: Alpha(opacity=100);
}
.huge_it_slideshow_dots_deactive_gallery_15 {
}
.huge_it_slideshow_image_item1_gallery_15 {
display: table;
width: inherit;
height: inherit;
}
.huge_it_slideshow_image_item2_gallery_15 {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.huge_it_slideshow_image_item2_gallery_15 a {
display:block;
vertical-align:middle;
width:100%;
height:100%;
}
.huge_it_slideshow_image_wrap_gallery_15 {
background:#ffffff;
}
.huge_it_slideshow_dots_thumbnails_gallery_15 {
top: 0; }
.huge_it_slideshow_dots_gallery_15 {
background:#000000;
}
.huge_it_slideshow_dots_active_gallery_15 {
background:#ffffff;
}
#huge_it_slideshow_left_gallery_15 {
left: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) left top no-repeat;
}
#huge_it_slideshow_right_gallery_15 {
right: 0;
margin-top:-21px;
height:43px;
width:29px;
background:url(http://www.heliguy.com/blog/wp-content/plugins/gallery-images/assets/images/front_images/arrows/arrows.simple.png) right top no-repeat;
}
.thumb_image{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left:0;
}
.entry-content a{
border-bottom: none !important;
}
I recommend visiting the Photography Museum and the food market or Markthal Rotterdam for something more interesting to eat.
Heliguy: Approved DJI Repair Centre
By sending our in-house technicians to these official training courses Heliguy holds the status of a DJI approved repair centre. This means that we have unparalleled knowledge of their product range, the issues that may arise and access to all of the materials we need to repair your aircraft quickly and effectively.
Here are just a few reasons why Heliguy’s trusted repair centre is the go-to UK point of call for DJI products:
- Repairs conducted by an authorised DJI technical centre
- Heliguy’s tech team have repaired over 3000 rigs
- Exclusive 35-point checklist carried out across all builds and repairs
- Online booking and repair service
- Customer telephone and email support
- DJI trained in-house technicians
Our technical focus not all about repairs. Heliguy supplies unmanned aerial systems to the film and broadcast industry and works closely with clients to customise aircraft for specific needs. We also supply equipment for agricultural surveys, site inspections, search and rescue and security.
New applications for drone technology are emerging almost every day. Unmanned aircraft manufacturers are now working closely with hardware and software developers to come up with even more ingenious use cases. Here at Heliguy, we’re part of the conversation, frequently talking to thought leaders about R&D in this exciting and rapidly evolving field.
You can find out more on our ENTERPRISE PAGE.
Get in Touch
If you want to find out more about our Build & Repair Service we’re available to talk from Monday-Friday, 9am-5pm. Our dedicated customer support team will be able to answer any question you may have about drone repairs, DJI products or advances in the industry via the following details:
Call
0191 296 1024
Email
info@heliguy.com
…
Keep checking back to Heliguy’s Insider Blog for more insider looks into DJI’s products, news on what we’ve been up to and, of course, the latest from the drone industry.
Full post available at – https://www.heliguy.com/blog/2017/05/04/tech-training-with-dji-a-heliguy-insider-look/