Wednesday , October 18 2017
Home / Zanimljivosti / Oneworld

Oneworld

Udruženje je nastalo 1999. godine. Oneworld je osnovan od strane nekoliko velikih svjetskih aviokompanija sa engleskim kolonijalnim predznakom. Za razliku od drugih udruženja Oneworld ima posebnu kompaniju koja je zadužena za upravljanje udruženjem – Oneworld Managment Company sa sjedištem u Vancouveru (Kanada).

Udruženje ima 12 aviokompanija koje su punopravni članovi i njihovih 19 aviokompanija koje su pridruženi članovi bez prava glasa. Tri aviokompanije čekaju na članstvo. Oneworld ima četvrtinu svjetskog tržišta na kome je prisutan zahvaljujući 8.300 dnevnih letova sa preko 2.300 zrakoplova.

Članovi

  • Osnivači: American Airlines (SAD), Canadian Airlines (bivša kanadska kompanija koju je preuzela Air Canada), British Airways (V. Britanija), Cathay Pacific (Hong Kong) i Qantas (Australija).
  • Ostali članovi: Finnair, Iberia, Japan Airlines, LAN, Malev (proglasio bankrot u veljači 2012.), Mexicana (nije operativna od kolovoza 2010.), Qantas, Royal Jordanian, S7 Airlines, Air Berlin (od 20. ožujka 2012.)
  • Bivši članovi: Canadian Airlines, Aer Lingus

Čvorišta

Aman, Bangkok, Peking, Budimpešta, Buenos Aires, Chicago, Dallas, Frankfurt, Helsinki, Hong Kong, Lima, London Gatwick, London Heathrow, Los Angeles, Madrid, Manchester, Mexico City, Miami, Nagoya, New York – JFK, Osaka, Pariz – Charles de Gaulle, Rim, San Francisco, Santiago, Singapur, Sydney, Tokio – Narita, Toronto Pearson, Vancouver i Berlin Brandenburg (od 2. srpnja 2012.).

Frequent flyer programi

Udruženje Oneworld prihavatilo je sve posebne frequent flyer programe aviokompanija članica i na njihovim osnovama putnike koji ostvaruju pogodnosti razvrstala u tri kategorije: rubin, safir i smaragd. Oneworld Rubin odgovora najčešće srebrnim karticama posebnih programa, Safir zlatnim dok je Smaragd (Emerald) u rangu platinastih članova.

Avios

Najnoviji program koji je pokrenut u studenom 2011., predstavlja još jedan korak u spajanju British Airways-a i Iberie koje čine jednu kompaniju IAG. “Executive Club” British Airways-a i “Iberia Plus”, španjolske aviokompanije Iberie, biti će spojeni zajedno sa britanskim potrošačkim nagradnim programom “Airmiles” koji je u vlasništvu Mileage Company.

Posebni frequent flyer programi aviokompanija koji su uključeni u program:

  • AAdvantage (American Airlines)
  • Executive Club (British Airways)
  • The Marco Polo Club (Cathay Pacific)
  • Finnair Plus (Finnair)
  • Iberia Plus (Iberia)
  • JAL Global Club (JAL)
  • JAL Mileage Bank (JAL)
  • LanPass (LAN)
  • Duna Club (Malev)
  • MexicanaGO (Mexicana)
  • Qantas Frequent Flyer (Qantas)
  • Royal Plus (Royal Jordanian)

Put oko svijeta

Kao i druga udruženja i Oneworld je iskoristio mogućnost obilaska zemlje zahvaljujući velikom broju letova na svim kontinentima. Jednostavan sistem pretrage svih letova i mogućnost online itinerera u skladu sa željama putnika omogućilo je vrlo uzbudljiva putovanja u krug oko svijeta. Po cijenama od 1.700€ do 3.500€ bez taksi putnici mogu izabrati jedno od mnoštva različitih putovanja s kraja na kraj svijeta. Osnovno pravilo je da se putuje uvijek u istom smjeru (ili ka istoku ili ka zapadu) i da se putovanje završi na zračnoj luci sa koga je i počelo.

.wds_bigplay_2, .wds_slideshow_image_2, .wds_slideshow_video_2 { display: block; } .wds_bulframe_2 { display: none; background-image: url(”); margin: 0px; position: absolute; z-index: 3; -webkit-transition: left 1s, right 1s; transition: left 1s, right 1s; width: 240px; height: 90px; } #wds_container1_2 #wds_container2_2 { text-align: center; margin: 0px ; visibility: hidden; } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_wrap_2, #wds_container1_2 #wds_container2_2 .wds_slideshow_image_wrap_2 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_wrap_2 { background-color: rgba(0, 0, 0, 0.00); border-width: 0px; border-style: none; border-color: #000000; border-radius: ; border-collapse: collapse; display: inline-block; position: relative; text-align: center; width: 100%; max-width: 800px; box-shadow: ; overflow: hidden; z-index: 0; } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_2 { padding: 0 !important; margin: 0 !important; float: none !important; vertical-align: middle; background-position: center center; background-repeat: no-repeat; background-size: cover; width: 100%; } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_container_2 { display: /*table*/block; position: absolute; text-align: center; none: 0px; vertical-align: middle; width: 100%; height: /*inherit*/100%; } @media only screen and (min-width: 0px) and (max-width: 320px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 16px; width: 64px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 12px; margin: 2px; width: 12px; height: 12px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 20px; height: 20px; width: 20px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 20px; font-size: 20px; width: 20px; } } @media only screen and (min-width: 321px) and (max-width: 480px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 22px; width: 88px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 18px; margin: 2px; width: 18px; height: 18px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 30px; height: 30px; width: 30px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 30px; font-size: 30px; width: 30px; } } @media only screen and (min-width: 481px) and (max-width: 640px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 26px; width: 104px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 20px; margin: 3px; width: 20px; height: 20px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 40px; height: 40px; width: 40px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 40px; font-size: 40px; width: 40px; } } @media only screen and (min-width: 641px) and (max-width: 768px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 26px; width: 104px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 20px; margin: 3px; width: 20px; height: 20px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 40px; height: 40px; width: 40px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 40px; font-size: 40px; width: 40px; } } @media only screen and (min-width: 769px) and (max-width: 800px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 26px; width: 104px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 20px; margin: 3px; width: 20px; height: 20px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 40px; height: 40px; width: 40px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 40px; font-size: 40px; width: 40px; } } @media only screen and (min-width: 801px) and (max-width: 1024px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 26px; width: 104px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 20px; margin: 3px; width: 20px; height: 20px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 40px; height: 40px; width: 40px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 40px; font-size: 40px; width: 40px; } } @media only screen and (min-width: 1025px) and (max-width: 1366px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 26px; width: 104px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 20px; margin: 3px; width: 20px; height: 20px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 40px; height: 40px; width: 40px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 40px; font-size: 40px; width: 40px; } } @media only screen and (min-width: 1367px) and (max-width: 1824px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 26px; width: 104px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 20px; margin: 3px; width: 20px; height: 20px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 40px; height: 40px; width: 40px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 40px; font-size: 40px; width: 40px; } } @media only screen and (min-width: 1825px) and (max-width: 3000px) { #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { height: 26px; width: 104px; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { font-size: 20px; margin: 3px; width: 20px; height: 20px; } #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont { font-size: 40px; height: 40px; width: 40px; } #wds_container1_2 #wds_container2_2 .wds_left_btn_cont, #wds_container1_2 #wds_container2_2 .wds_right_btn_cont { height: 40px; font-size: 40px; width: 40px; } } #wds_container1_2 #wds_container2_2 .wds_slideshow_video_2 { padding: 0 !important; margin: 0 !important; float: none !important; width: 100%; vertical-align: middle; display: inline-block; } #wds_container1_2 #wds_container2_2 #wds_slideshow_play_pause_2 { color: #000000; cursor: pointer; position: relative; z-index: 13; width: inherit; height: inherit; font-size: inherit; } #wds_container1_2 #wds_container2_2 #wds_slideshow_play_pause_2:hover { color: #000000; cursor: pointer; } #wds_container1_2 #wds_container2_2 .wds_left-ico_2, #wds_container1_2 #wds_container2_2 .wds_right-ico_2 { background-color: rgba(255, 255, 255, 0.00); border-radius: 20px; border: 0px none #FFFFFF; border-collapse: separate; color: #000000; left: 0; top: 0; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; line-height: 0; width: inherit; height: inherit; font-size: inherit; position: absolute; } #wds_container1_2 #wds_container2_2 .wds_left-ico_2 { left: -4000px; } #wds_container1_2 #wds_container2_2 .wds_right-ico_2 { left: 4000px; } #wds_container1_2 #wds_container2_2 #wds_slideshow_play_pause_2 { opacity: 0; filter: “Alpha(opacity=0)”; } #wds_container1_2 #wds_container2_2 .wds_left-ico_2:hover, #wds_container1_2 #wds_container2_2 .wds_right-ico_2:hover { color: #000000; cursor: pointer; } #wds_container1_2 #wds_container2_2 .wds_none_selectable_2 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #wds_container1_2 #wds_container2_2 .wds_slide_container_2 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; overflow: hidden; cursor: inherit; cursor: inherit; cursor: inherit; } #wds_container1_2 #wds_container2_2 .wds_slide_container_2:active { cursor: inherit; cursor: inherit; cursor: inherit; } #wds_container1_2 #wds_container2_2 .wds_slide_bg_2 { margin: 0 auto; width: /*inherit*/100%; height: /*inherit*/100%; } #wds_container1_2 #wds_container2_2 .wds_slider_2 { height: /*inherit*/100%; width: /*inherit*/100%; } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_spun_2 { width: /*inherit*/100%; height: /*inherit*/100%; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_second_spun_2 { width: /*inherit*/100%; height: /*inherit*/100%; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #wds_container1_2 #wds_container2_2 .wds_grid_2 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #wds_container1_2 #wds_container2_2 .wds_gridlet_2 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } /* Dots.*/ #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_container_2 { opacity: 1; filter: “Alpha(opacity=100)”; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_container_2 { display: block; overflow: hidden; position: absolute; width: 100%; bottom: 0; /*z-index: 17;*/ } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 { left: 0px; font-size: 0; margin: 0 auto; position: relative; z-index: 999; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 { display: inline-block; position: relative; color: #FFFFFF; cursor: pointer; z-index: 17; } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_active_2 { color: #FFFFFF; opacity: 1; filter: Alpha(opacity=100); } #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_deactive_2 { } /* Line timer.*/ #wds_container1_2 #wds_container2_2 .wds_line_timer_container_2 { display: block; position: absolute; overflow: hidden; top: 0; z-index: 16; width: 100%; height: 5px; } #wds_container1_2 #wds_container2_2 .wds_line_timer_2 { z-index: 17; width: 0; height: 5px; background: #BBBBBB; opacity: 0.50; filter: alpha(opacity=50); } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_spun1_2 { display: table; width: /*inherit*/100%; height: /*inherit*/100%; } #wds_container1_2 #wds_container2_2 .wds_slideshow_image_spun2_2 { display: table-cell; vertical-align: middle; text-align: center; overflow: hidden; } #wds_container1_2 .wds_loading_img { background-image: url(‘http://www.affigoworld.com/wp-content/plugins/slider-wd/images/loading/0.gif’); } var wds_global_btn_2 = “right”; var wds_data_2 = []; var wds_event_stack_2 = []; var wds_clear_layers_effects_in_2 = []; var wds_clear_layers_effects_out_2 = []; var wds_clear_layers_effects_out_before_change_2 = []; if (0) { var wds_duration_for_change_2 = 500; var wds_duration_for_clear_effects_2 = 530; } else { var wds_duration_for_change_2 = 0; var wds_duration_for_clear_effects_2 = 0; } wds_clear_layers_effects_in_2[“0”] = []; wds_clear_layers_effects_out_2[“0”] = []; wds_clear_layers_effects_out_before_change_2[“0”] = []; wds_data_2[“0”] = []; wds_data_2[“0”][“id”] = “16”; wds_data_2[“0”][“image_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW1.jpg”; wds_data_2[“0”][“thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW1-150×150.jpg”; wds_data_2[“0”][“is_video”] = “image”; wds_data_2[“0”][“slide_layers_count”] = 0; wds_data_2[“0”][“bg_fit”] = “cover”; wds_data_2[“0”][“bull_position”] = “bottom”; wds_data_2[“0”][“image_thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW1-150×150.jpg”; wds_clear_layers_effects_in_2[“1”] = []; wds_clear_layers_effects_out_2[“1”] = []; wds_clear_layers_effects_out_before_change_2[“1”] = []; wds_data_2[“1”] = []; wds_data_2[“1”][“id”] = “17”; wds_data_2[“1”][“image_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW2.jpg”; wds_data_2[“1”][“thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW2-150×150.jpg”; wds_data_2[“1”][“is_video”] = “image”; wds_data_2[“1”][“slide_layers_count”] = 0; wds_data_2[“1”][“bg_fit”] = “cover”; wds_data_2[“1”][“bull_position”] = “bottom”; wds_data_2[“1”][“image_thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW2-150×150.jpg”; wds_clear_layers_effects_in_2[“2”] = []; wds_clear_layers_effects_out_2[“2”] = []; wds_clear_layers_effects_out_before_change_2[“2”] = []; wds_data_2[“2”] = []; wds_data_2[“2”][“id”] = “18”; wds_data_2[“2”][“image_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW3.jpg”; wds_data_2[“2”][“thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW3-150×150.jpg”; wds_data_2[“2”][“is_video”] = “image”; wds_data_2[“2”][“slide_layers_count”] = 0; wds_data_2[“2”][“bg_fit”] = “cover”; wds_data_2[“2”][“bull_position”] = “bottom”; wds_data_2[“2”][“image_thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW3-150×150.jpg”; wds_clear_layers_effects_in_2[“3”] = []; wds_clear_layers_effects_out_2[“3”] = []; wds_clear_layers_effects_out_before_change_2[“3”] = []; wds_data_2[“3”] = []; wds_data_2[“3”][“id”] = “19”; wds_data_2[“3”][“image_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW4.jpg”; wds_data_2[“3”][“thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW4-150×150.jpg”; wds_data_2[“3”][“is_video”] = “image”; wds_data_2[“3”][“slide_layers_count”] = 0; wds_data_2[“3”][“bg_fit”] = “cover”; wds_data_2[“3”][“bull_position”] = “bottom”; wds_data_2[“3”][“image_thumb_url”] = “http://www.affigoworld.com/wp-content/uploads/2016/12/OW4-150×150.jpg”;

= 0 ? (parseInt(jQuery(‘#wds_current_image_key_2’).val()) – wds_iterator_2()) % wds_data_2.length : wds_data_2.length – 1, wds_data_2, false, ‘left’); return false;”>

var wds_global_btn_2 = “right”; var wds_trans_in_progress_2 = false; var wds_transition_duration_2 = 800; if (5 = 0) { if (now = 90) { if (now = 180) { if (now = 270) { if (now wds_dots_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(“.wds_slideshow_dots_thumbnails_2″).animate({ left: -(image_right – wds_dots_width) }, { duration: 500 }); } } function wds_testBrowser_cssTransitions_2() { return wds_testDom_2(‘Transition’); } function wds_testBrowser_cssTransforms3d_2() { return wds_testDom_2(‘Perspective’); } function wds_testDom_2(prop) { /* 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 wds_set_dots_class_2() { jQuery(“.wds_slideshow_dots_2”).removeClass(“wds_slideshow_dots_active_2”).addClass(“wds_slideshow_dots_deactive_2”); jQuery(“#wds_dots_” + wds_current_key_2 + “_2”).removeClass(“wds_slideshow_dots_deactive_2”).addClass(“wds_slideshow_dots_active_2”); jQuery(“.wds_slideshow_dots_2”).removeClass(“fa-square”).addClass(“fa-square-o”); jQuery(“#wds_dots_” + wds_current_key_2 + “_2”).removeClass(“fa-square-o”).addClass(“fa-square”); } function wds_grid_2(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) { /* If browser does not support CSS transitions.*/ if (!wds_testBrowser_cssTransitions_2()) { return wds_fallback_2(current_image_class, next_image_class, direction); } wds_trans_in_progress_2 = true; /* Set active thumbnail.*/ wds_set_dots_class_2(); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (wds_transition_duration_2) / (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 wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ var grid_div = jQuery(‘‘).css({ display: “block”, width : imgWidth,/*”100%”*/ height : jQuery(“.wds_slideshow_image_spun_2”).height() + “px”, top : -top, left : -left, backgroundImage : src, backgroundSize: jQuery(“.wds_slideshow_image_2”).css(“background-size”), backgroundPosition: jQuery(“.wds_slideshow_image_2”).css(“background-position”), /*backgroundColor: jQuery(“.wds_slideshow_image_wrap_2”).css(“background-color”),*/ backgroundRepeat: ‘no-repeat’ }); return jQuery(‘‘).css({ display: “block”, width : width,/*”100%”*/ height : height, top : top, left : left, backgroundSize : imgWidth + ‘px ‘ + imgHeight + ‘px’, backgroundPosition : img_left + ‘px ‘ + img_top + ‘px’, backgroundRepeat: ‘no-repeat’, overflow: “hidden”, transition : ‘all ‘ + wds_transition_duration_2 + ‘ms ‘ + easing + ‘ ‘ + delay + ‘ms’, transform : ‘none’ }).append(grid_div); } /* Get the current slide’s image.*/ var cur_img = jQuery(current_image_class).find(‘span[img_id^=”wds_slideshow_image”]’); /* Create a grid to hold the gridlets.*/ var grid = jQuery(‘‘).addClass(‘wds_grid_2’); /* 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(“.wds_slide_bg_2″); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.css(‘background-image’),/*.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(“.wds_slide_bg_2”).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(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* 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) rotateY(‘+ roy +’deg) translateX(‘+ tx +’px) translateY(‘+ ty +’px) scale(‘+ sc +’)’ }); }, 1); jQuery(next_image_class).css(‘opacity’, 1); /* After transition.*/ var cccount = 0; var obshicccount = cols * rows; grid.children().one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(wds_after_trans_each)); function wds_after_trans_each() { if (++cccount == obshicccount) { wds_after_trans(); } } function wds_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(); wds_trans_in_progress_2 = false; if (typeof wds_event_stack_2 !== ‘undefined’) { if (wds_event_stack_2.length > 0) { key = wds_event_stack_2[0].split(“-“); wds_event_stack_2.shift(); wds_change_image_2(key[0], key[1], wds_data_2, true, direction); } } } } function wds_none_2(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.*/ wds_set_dots_class_2(); } function wds_fade_2(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ wds_set_dots_class_2(); if (wds_testBrowser_cssTransitions_2()) { jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + wds_transition_duration_2 + ‘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}, wds_transition_duration_2); jQuery(next_image_class).animate({ ‘opacity’ : 1, ‘z-index’: 2 }, { duration: wds_transition_duration_2, complete: function () { } }); /* For IE.*/ jQuery(current_image_class).fadeTo(wds_transition_duration_2, 0); jQuery(next_image_class).fadeTo(wds_transition_duration_2, 1); } } function wds_sliceH_2(current_image_class, next_image_class, direction) { if (direction == ‘right’) { var translateX = ‘min-auto’; } else if (direction == ‘left’) { var translateX = ‘auto’; } wds_grid_2(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, ‘ease-in-out’); } function wds_fan_2(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; } wds_grid_2(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, ‘ease-in-out’); } function wds_scaleIn_2(current_image_class, next_image_class, direction) { wds_grid_2(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, ‘ease-in-out’); } function wds_iterator_2() { var iterator = 1; if (0) { iterator = Math.floor((wds_data_2.length – 1) * Math.random() + 1); } else if (0) { if (wds_global_btn_2 == “left”) { iterator = -1; } if (‘1’ == 0) { if (parseInt(jQuery(‘#wds_current_image_key_2’).val()) == 0) { iterator = 1; } } } return iterator; } function wds_change_image_2(current_key, key, wds_data_2, from_effect, btn) { if (typeof btn == “undefined”) { var btn = “”; } if (wds_data_2[key][“is_video”] == ‘image’) { jQuery(‘‘).attr(“src”, wds_data_2[key][“image_url”]) .load(function() { jQuery(this).remove(); wds_change_image_when_loaded_2(current_key, key, wds_data_2, from_effect, btn); }) .error(function() { jQuery(this).remove(); wds_change_image_when_loaded_2(current_key, key, wds_data_2, from_effect, btn); }); } else { wds_change_image_when_loaded_2(current_key, key, wds_data_2, from_effect, btn); } } function wds_change_image_when_loaded_2(current_key, key, wds_data_2, from_effect, btn) { /* Pause videos.*/ jQuery(“#wds_slideshow_image_container_2”).find(“iframe”).each(function () { if (typeof jQuery(this)[0].contentWindow != “undefined”) { jQuery(this)[0].contentWindow.postMessage(‘{“event”:”command”,”func”:”stopVideo”,”args”:””}’, ‘*’); jQuery(this)[0].contentWindow.postMessage(‘{ “method”: “stop” }’, “*”); jQuery(this)[0].contentWindow.postMessage(‘stop’, ‘*’); } }); /* Pause layer videos.*/ jQuery(“.wds_video_layer_frame_2”).each(function () { if (typeof jQuery(this)[0].contentWindow != “undefined”) { jQuery(this)[0].contentWindow.postMessage(‘{“event”:”command”,”func”:”pauseVideo”,”args”:””}’, ‘*’); jQuery(this)[0].contentWindow.postMessage(‘{ “method”: “pause” }’, “*”); jQuery(this)[0].contentWindow.postMessage(‘pause’, ‘*’); } }); if (wds_data_2[key]) { if (jQuery(‘.wds_ctrl_btn_2’).hasClass(‘fa-pause’) || (‘1’)) { play_2(); } if (!from_effect) { /* Change image key.*/ jQuery(“#wds_current_image_key_2”).val(key); if (current_key == ‘-1’) { /* Filmstrip.*/ current_key = jQuery(“.wds_slideshow_thumb_active_2”).children(“img”).attr(“image_key”); } else if (current_key == ‘-2’) { /* Dots.*/ /*current_key = jQuery(“.wds_slideshow_dots_active_2”).attr(“image_key”);*/ currId = jQuery(“.wds_slideshow_dots_active_2”).attr(“id”); current_key = currId.replace(‘wds_dots_’, ”).replace(‘_2’, ”); } } if (wds_trans_in_progress_2) { wds_event_stack_2.push(current_key + ‘-‘ + key); return; } if (btn == “”) { var direction = ‘right’; var int_curr_key = parseInt(wds_current_key_2); var int_key = parseInt(key); var last_pos = wds_data_2.length – 1; if (int_curr_key > int_key) { direction = ‘left’; } else if (int_curr_key == int_key) { return; } if (int_key == 0) { if (int_curr_key == last_pos) { direction = ‘right’; } } if (int_key == last_pos) { if (int_curr_key == 0) { direction = ‘left’; } } } else { direction = btn; } if (1) { if (0) { if (direction == “left”) { wds_global_btn_2 = “left”; } else if (direction == “right”) { wds_global_btn_2 = “right”; } } } /* Set active thumbnail position.*/ wds_current_filmstrip_pos_2 = key * (jQuery(“.wds_slideshow_filmstrip_thumbnail_2”).width() + 2 + 2 * 0); wds_current_key_2 = key; /* Change image id.*/ jQuery(“div[img_id=wds_slideshow_image_2]”).attr(‘image_id’, wds_data_2[key][“id”]); var current_image_class = “#wds_image_id_2_” + wds_data_2[current_key][“id”]; var next_image_class = “#wds_image_id_2_” + wds_data_2[key][“id”]; if (wds_data_2[key][“is_video”] == ‘image’) { jQuery(next_image_class).find(“.wds_slideshow_image_2”).css(“background-image”, ‘url(“‘ + wds_data_2[key][“image_url”] + ‘”)’); } var current_slide_layers_count = wds_data_2[current_key][“slide_layers_count”]; var next_slide_layers_count = wds_data_2[key][“slide_layers_count”]; /* Clear layers before image change.*/ function set_layer_effect_out_before_change(m) { wds_clear_layers_effects_out_before_change_2[current_key][m] = setTimeout(function() { if (wds_data_2[current_key][“layer_” + m + “_type”] != ‘social’) { jQuery(‘#wds_2_slide’ + wds_data_2[current_key][“id”] + ‘_layer’ + wds_data_2[current_key][“layer_” + m + “_id”]).css(‘-webkit-animation-duration’ , 0.6 + ‘s’).css(‘animation-duration’ , 0.6 + ‘s’); jQuery(‘#wds_2_slide’ + wds_data_2[current_key][“id”] + ‘_layer’ + wds_data_2[current_key][“layer_” + m + “_id”]).removeClass().addClass( wds_data_2[current_key][“layer_” + m + “_layer_effect_out”] + ‘ wds_animated’); jQuery(‘#wds_2_slide’ + wds_data_2[current_key][“id”] + ‘_layer’ + wds_data_2[current_key][“layer_” + m + “_id”]).addClass(jQuery(‘#wds_2_slide’ + wds_data_2[current_key][“id”] + ‘_layer’ + wds_data_2[current_key][“layer_” + m + “_id”]).data(“class”)); } else { jQuery(‘#wds_2_slide’ + wds_data_2[current_key][“id”] + ‘_layer’ + wds_data_2[current_key][“layer_” + m + “_id”]).css(‘-webkit-animation-duration’ , 0.6 + ‘s’).css(‘animation-duration’ , 0.6 + ‘s’); jQuery(‘#wds_2_slide’ + wds_data_2[current_key][“id”] + ‘_layer’ + wds_data_2[current_key][“layer_” + m + “_id”]).removeClass().addClass( wds_data_2[current_key][“layer_” + m + “_layer_effect_out”] + ‘ fa fa-‘ + wds_data_2[current_key][“layer_” + m + “_social_button”] + ‘ wds_animated’); } }, 10); } if (0) { for (var m = 0; m < current_slide_layers_count; m++) { if (jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + m + "_id"]).css('opacity') != 0) { set_layer_effect_out_before_change(m); } } } /* Loop through current slide layers for clear effects.*/ setTimeout(function() { for (var k = 0; k < current_slide_layers_count; k++) { clearTimeout(wds_clear_layers_effects_in_2[current_key][k]); clearTimeout(wds_clear_layers_effects_out_2[current_key][k]); if (wds_data_2[current_key]["layer_" + k + "_type"] != 'social') { jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_2[current_key]["layer_" + k + "_id"]); } else { jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_2[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_2[current_key]["layer_" + k + "_id"]); } } }, wds_duration_for_clear_effects_2); /* Loop through layers in.*/ for (var j = 0; j < next_slide_layers_count; j++) { wds_set_layer_effect_in_2(j, key); } /* Loop through layers out if pause button not pressed.*/ for (var i = 0; i < next_slide_layers_count; i++) { wds_set_layer_effect_out_2(i, key); } setTimeout(function() { if (typeof jQuery().finish !== 'undefined') { if (jQuery project app.isFunction(jQuery().finish)) { jQuery(“.wds_line_timer_2”).finish(); } } jQuery(“.wds_line_timer_2”).css({width: 0}); wds_fade_2(current_image_class, next_image_class, direction); if (‘top’ != ‘none’) { if (1 || jQuery(‘.wds_ctrl_btn_2’).hasClass(‘fa-pause’)) { if (‘top’ == ‘top’ || ‘top’ == ‘bottom’) { if (!jQuery(“.wds_ctrl_btn_2”).hasClass(“fa-play”)) { jQuery(“.wds_line_timer_2”).animate({ width: “100%” }, { duration: 5000, specialEasing: {width: “linear”} }); } } else if (‘top’ != ‘none’) { if (typeof circle_timer_animate_2 !== ‘undefined’) { circle_timer_animate_2.stop(); } jQuery(‘#top_right_2’).css({ ‘-moz-transform’:’rotate(0deg)’, ‘-webkit-transform’:’rotate(0deg)’, ‘-o-transform’:’rotate(0deg)’, ‘-ms-transform’:’rotate(0deg)’, ‘transform’:’rotate(0deg)’, ‘-webkit-transform-origin’: ‘left bottom’, ‘-ms-transform-origin’: ‘left bottom’, ‘-moz-transform-origin’: ‘left bottom’, ‘transform-origin’: ‘left bottom’ }); jQuery(‘#bottom_right_2’).css({ ‘-moz-transform’:’rotate(0deg)’, ‘-webkit-transform’:’rotate(0deg)’, ‘-o-transform’:’rotate(0deg)’, ‘-ms-transform’:’rotate(0deg)’, ‘transform’:’rotate(0deg)’, ‘-webkit-transform-origin’: ‘left top’, ‘-ms-transform-origin’: ‘left top’, ‘-moz-transform-origin’: ‘left top’, ‘transform-origin’: ‘left top’ }); jQuery(‘#bottom_left_2’).css({ ‘-moz-transform’:’rotate(0deg)’, ‘-webkit-transform’:’rotate(0deg)’, ‘-o-transform’:’rotate(0deg)’, ‘-ms-transform’:’rotate(0deg)’, ‘transform’:’rotate(0deg)’, ‘-webkit-transform-origin’: ‘right top’, ‘-ms-transform-origin’: ‘right top’, ‘-moz-transform-origin’: ‘right top’, ‘transform-origin’: ‘right top’ }); jQuery(‘#top_left_2’).css({ ‘-moz-transform’:’rotate(0deg)’, ‘-webkit-transform’:’rotate(0deg)’, ‘-o-transform’:’rotate(0deg)’, ‘-ms-transform’:’rotate(0deg)’, ‘transform’:’rotate(0deg)’, ‘-webkit-transform-origin’: ‘right bottom’, ‘-ms-transform-origin’: ‘right bottom’, ‘-moz-transform-origin’: ‘right bottom’, ‘transform-origin’: ‘right bottom’ }); if (!jQuery(“.wds_ctrl_btn_2”).hasClass(“fa-play”)) { /* Begin circle timer on next.*/ circle_timer_2(0); } else { curent_time_deggree_2 = 0; } } } } wds_move_dots_2(); if (wds_data_2[key][“is_video”] != ‘image’) { jQuery(“#wds_slideshow_play_pause_2”).css({display: ‘none’}); } else { jQuery(“#wds_slideshow_play_pause_2″).css({display: ”}); } }, wds_duration_for_change_2); } wds_window_fixed_size2(next_image_class); } function wds_resize_slider_2() { var full_width = (jQuery(window).width() slide_orig_width) { slide_width = slide_orig_width; } var ratio = slide_width / (slide_orig_width + 2 * wds_glb_margin_2); if (full_width) { ratio = jQuery(window).width() / slide_orig_width; /* wds_glb_margin_2 *= ratio; */ slide_orig_width = jQuery(window).width()/* – (2 * wds_glb_margin_2) */; slide_orig_height = 300 * slide_orig_width / 800; slide_width = jQuery(window).width()/* – (2 * wds_glb_margin_2) */; wds_full_width_2(); } else if (parseInt(0)) { jQuery(“.wds_slideshow_image_wrap_2”).removeAttr(“style”); } wds_glb_margin_2 = parseInt(‘0’); wds_glb_margin_2 *= ratio; if (!full_width) { slide_orig_height -= wds_glb_margin_2; } jQuery(“#wds_container2_2”).css(“margin”, wds_glb_margin_2 + “px ” + (full_width ? 0 : ”) + “”); var slide_height = slide_orig_height; if (slide_orig_width > slide_width) { slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width); } jQuery(“.wds_slideshow_image_wrap_2, #wds_container2_2”).height(slide_height + 0); jQuery(“.wds_slideshow_image_container_2”).height(slide_height); jQuery(“.wds_slideshow_image_2”).height(slide_height); jQuery(“.wds_slideshow_video_2”).height(slide_height); jQuery(“.wds_slideshow_image_2 img”).each(function () { var wds_theImage = new Image(); wds_theImage.src = jQuery(this).attr(“src”); var wds_origWidth = wds_theImage.width; var wds_origHeight = wds_theImage.height; if (typeof wds_theImage.remove != ‘undefined’) { wds_theImage.remove(); } var wds_imageWidth = jQuery(this).attr(“wds_image_width”); var wds_imageHeight = jQuery(this).attr(“wds_image_height”); var wds_width = wds_imageWidth; if (wds_imageWidth > wds_origWidth) { wds_width = wds_origWidth; } var wds_height = wds_imageHeight; if (wds_imageHeight > wds_origHeight) { wds_height = wds_origHeight; } jQuery(this).css({ maxWidth: (parseFloat(wds_imageWidth) * ratio) + “px”, maxHeight: (parseFloat(wds_imageHeight) * ratio) + “px”, }); if (jQuery(this).attr(“wds_scale”) != “on”) { jQuery(this).css({ width: (parseFloat(wds_imageWidth) * ratio) + “px”, height: (parseFloat(wds_imageHeight) * ratio) + “px” }); } else if (wds_imageWidth > wds_origWidth || wds_imageHeight > wds_origHeight) { if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) { jQuery(this).css({ width: (parseFloat(wds_imageWidth) * ratio) + “px” }); } else { jQuery(this).css({ height: (parseFloat(wds_imageHeight) * ratio) + “px” }); } } }); jQuery(“.wds_slideshow_image_2 span, .wds_slideshow_image_2 i”).each(function () { jQuery(this).css({ fontSize: (parseFloat(jQuery(this).attr(“wds_fsize”)) * ratio) + “px”, lineHeight: “1.25em”, paddingLeft: (parseFloat(jQuery(this).attr(“wds_fpaddingl”)) * ratio) + “px”, paddingRight: (parseFloat(jQuery(this).attr(“wds_fpaddingr”)) * ratio) + “px”, paddingTop: (parseFloat(jQuery(this).attr(“wds_fpaddingt”)) * ratio) + “px”, paddingBottom: (parseFloat(jQuery(this).attr(“wds_fpaddingb”)) * ratio) + “px”, }); }); jQuery(“.wds_slideshow_image_2 [data-type=’wds_text_parent’]”).each(function () { var id = jQuery(this).attr(“id”); if (wds_data_2[jQuery(“#” + id).data(“row-key”)][“layer_”+ jQuery(“#” + id).data(“layer-key”) +”_align_layer”] == 1) { var slider_width = jQuery(“.wds_slider_” + 2).outerWidth(); var left; if ((jQuery(“#” + id).offset().left – jQuery(“.wds_slideshow_image_2”).offset().left) > (slider_width / 2 + jQuery(this).outerWidth() / 2)) { left = slider_width – jQuery(this).outerWidth(); } else if ((jQuery(“#” + id).offset().left – jQuery(“.wds_slideshow_image_2”).offset().left) < (slider_width / 2 – jQuery(this).outerWidth() / 2)) { left = 0; } else { left = slider_width / 2 – jQuery(this).outerWidth() / 2; } var left_percent = (slider_width != 0) ? 100 * left / slider_width : 0; jQuery("#" + id).css({left:left_percent + "%"}); } }); wds_window_fixed_size2("#wds_image_id_2_" + wds_data_2[parseInt(jQuery('#wds_current_image_key_2').val())]["id"]); } /* Generate background position for Zoom Fade effect.*/ function wds_genBgPos_2() { var bgSizeArray = [0, 70]; var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)]; var bgPosXArray = ['left', 'right']; var bgPosYArray = ['top', 'bottom']; var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)]; var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)]; jQuery(".wds_slideshow_image_2").css({ backgroundPosition: bgPosX + " " + bgPosY, backgroundSize : (100 + bgSize) + "% " + (100 + bgSize) + "%", webkitAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize, mozAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize, animation: '5s linear 0s alternate infinite wdszoom' + bgSize }); } jQuery(window).resize(function () { wds_resize_slider_2(); }); function wds_full_width_2() { var left = jQuery("#wds_container1_2").offset().left; jQuery(".wds_slideshow_image_wrap_2").css({ left: (-left/* + wds_glb_margin_2 */) + "px", width: (jQuery(window).width()/* – (2 * wds_glb_margin_2) */) + "px", maxWidth: "none" }); } if ("http://www.affigoworld.com/wp-content/uploads/2016/12/OW1.jpg" != '') { jQuery('‘).attr(“src”, “http://www.affigoworld.com/wp-content/uploads/2016/12/OW1.jpg”).load(function() { jQuery(this).remove(); wds_ready_2(); }); } else { jQuery(document).ready(function () { wds_ready_2(); }); } if (‘0’ == 1) { jQuery(window).scroll(function () { wds_window_fixed_pos2(); }); } function wds_window_fixed_size2(id) { if (‘0’ != 1 || wds_data_2[parseInt(jQuery(‘#wds_current_image_key_2’).val())][“is_video”] != ‘image’) { return; } var image = new Image(); image.src = jQuery(id + ” .wds_slideshow_image_2″).css(‘background-image’).replace(/url\(|\)$|”/ig, ”); var slide_bg_width = image.width; var slide_bg_height = image.height; if (typeof image.remove != ‘undefined’) { image.remove(); } var window_height = jQuery(window).height(); var window_width = jQuery(window).width(); var width, height; if (‘cover’ == ‘cover’ || ‘cover’ == ‘contain’) { var scale = Math.max(window_width / slide_bg_width, window_height / slide_bg_height); width = slide_bg_width * scale; height = slide_bg_height * scale; } else { width = window_width; height = window_height; } jQuery(id + ” .wds_slideshow_image_2″).css({“background-size”: width + “px ” + height + “px”}); wds_window_fixed_pos2(id); } function wds_window_fixed_pos2(id) { var cont = (typeof id == “undefined”) ? “” : id + ” “; var offset = jQuery(cont + “.wds_slideshow_image_2”).offset().top; var scrtop = jQuery(document).scrollTop(); var sliderheight = jQuery(cont + “.wds_slideshow_image_2″).height(); var window_height = jQuery(window).height(); var fixed_pos; if (” ) { if (‘center center’ == ‘right bottom’ || ‘center center’ == ‘center bottom’ || ‘center center’ == ‘left bottom’) { pos_retion_height = “100%”; } else if (‘center center’ == ‘left center’ || ‘center center’ == ‘center center’ || ‘center center’ == ‘right center’) { pos_retion_height = “50%”; } else if (‘center center’ == ‘left top’ || ‘center center’ == ‘center top’ || ‘center center’ == ‘right top’) { pos_retion_height = “0%”; } } fixed_pos = offset – scrtop – window_height / 2 + sliderheight / 2; jQuery(cont + “.wds_slideshow_image_2”).css({“background-position”: “50% ” + “calc(50% – ” + fixed_pos + “px)”}); if (scrtop = 0 ? (parseInt(jQuery(‘#wds_current_image_key_2’).val()) – wds_iterator_2()) % wds_data_2.length : wds_data_2.length – 1, wds_data_2, false, “left”); return false; }); } } if (typeof jQuery().swipeleft !== ‘undefined’) { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery(‘#wds_container1_2’).swipeleft(function () { wds_change_image_2(parseInt(jQuery(‘#wds_current_image_key_2’).val()), (parseInt(jQuery(‘#wds_current_image_key_2’).val()) + wds_iterator_2()) % wds_data_2.length, wds_data_2, false, “right”); return false; }); } } } var wds_click = isMobile ? ‘touchend’ : ‘click’; var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? “DOMMouseScroll” : “mousewheel”; /* FF doesn’t recognize mousewheel as of FF3.x */ var wds_play_pause = 0; function wds_play_pause_2() { if (jQuery(“.wds_ctrl_btn_2”).hasClass(“fa-play”) || wds_play_pause) { wds_play_pause = 0; /* Play.*/ jQuery(“.wds_slideshow_play_pause_2”).attr(“title”, “Pause”); jQuery(“.wds_slideshow_play_pause_2”).attr(“class”, “wds_ctrl_btn_2 wds_slideshow_play_pause_2 fa fa-pause”); /* Finish current animation and begin the other.*/ if (1) { if (‘top’ != ‘top’) { if (‘top’ != ‘bottom’) { if (typeof circle_timer_animate_2 !== ‘undefined’) { circle_timer_animate_2.stop(); } circle_timer_2(curent_time_deggree_2); } } } play_2(); if (0) { document.getElementById(“wds_audio_2”).play(); } } else { /* Pause.*/ /* Pause layers out effect.*/ wds_play_pause = 1; var current_key = jQuery(‘#wds_current_image_key_2’).val(); var current_slide_layers_count = wds_data_2[current_key][“slide_layers_count”]; setTimeout(function() { for (var k = 0; k 0) { /* Scroll up.*/ wds_change_image_2(parseInt(jQuery(‘#wds_current_image_key_2’).val()), (parseInt(jQuery(‘#wds_current_image_key_2’).val()) – wds_iterator_2()) >= 0 ? (parseInt(jQuery(‘#wds_current_image_key_2’).val()) – wds_iterator_2()) % wds_data_2.length : wds_data_2.length – 1, wds_data_2, false, “left”); } else { /* Scroll down.*/ wds_change_image_2(parseInt(jQuery(‘#wds_current_image_key_2’).val()), (parseInt(jQuery(‘#wds_current_image_key_2’).val()) + wds_iterator_2()) % wds_data_2.length, wds_data_2, false, “right”); } return false; }); } /* Keyboard navigation.*/ if (0) { jQuery(document).on(‘keydown’, function (e) { if (e.keyCode === 39 || e.keyCode === 38) { /* Right arrow.*/ wds_change_image_2(parseInt(jQuery(‘#wds_current_image_key_2’).val()), (parseInt(jQuery(‘#wds_current_image_key_2’).val()) + wds_iterator_2()) % wds_data_2.length, wds_data_2, false, “right”); } else if (e.keyCode === 37 || e.keyCode === 40) { /* Left arrow.*/ wds_change_image_2(parseInt(jQuery(‘#wds_current_image_key_2’).val()), (parseInt(jQuery(‘#wds_current_image_key_2’).val()) – wds_iterator_2()) >= 0 ? (parseInt(jQuery(‘#wds_current_image_key_2’).val()) – wds_iterator_2()) % wds_data_2.length : wds_data_2.length – 1, wds_data_2, false, “left”); } else if (e.keyCode === 32) { /* Space.*/ wds_play_pause_2(); } }); } /* Play/pause.*/ jQuery(“#wds_slideshow_play_pause_2”).on(wds_click, function () { wds_play_pause_2(); }); if (1) { play_2(); jQuery(“.wds_slideshow_play_pause_2”).attr(“title”, “Pause”); jQuery(“.wds_slideshow_play_pause_2”).attr(“class”, “wds_ctrl_btn_2 wds_slideshow_play_pause_2 fa fa-pause”); if (0) { document.getElementById(“wds_audio_2”).play(); } if (‘top’ != ‘none’) { if (‘top’ != ‘top’) { if (‘top’ != ‘bottom’) { circle_timer_2(0); } } } } function wds_preload_2(preload_key) { if (wds_data_2[preload_key][“is_video”] == ‘image’) { jQuery(‘‘) .load(function() { jQuery(this).remove(); if (preload_key < wds_data_2.length – 1) wds_preload_2(preload_key + 1); }) .error(function() { jQuery(this).remove(); if (preload_key < wds_data_2.length – 1) wds_preload_2(preload_key + 1); }) .attr("src", wds_data_2[preload_key]["image_url"]); } else { if (preload_key < wds_data_2.length – 1) wds_preload_2(preload_key + 1); } } wds_preload_2(0); var first_slide_layers_count_2 = wds_data_2[0]["slide_layers_count"]; if (first_slide_layers_count_2) { /* Loop through layers in.*/ for (var j = 0; j < first_slide_layers_count_2; j++) { wds_set_layer_effect_in_2(j, 0); } /* Loop through layers out.*/ for (var i = 0; i < first_slide_layers_count_2; i++) { wds_set_layer_effect_out_2(i, 0); } } if ('0' == 1) { wds_window_fixed_pos2(); } jQuery(".wds_slideshow_filmstrip_2").hover(function() { jQuery(".wds_slideshow_filmstrip_left_2 i, .wds_slideshow_filmstrip_right_2 i").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing"); }, function () { jQuery(".wds_slideshow_filmstrip_left_2 i, .wds_slideshow_filmstrip_right_2 i").animate({opacity: 0, filter: "Alpha(opacity=0)"}, 700, "swing"); }); jQuery("#wds_container1_2").hover(function() { }, function () { }); jQuery("#wds_slideshow_play_pause_2").on("click", ".fa-play", function() { }); jQuery("#wds_slideshow_play_pause_2").on("click", ".fa-pause", function() { }); } function wds_stop_animation_2() { window.clearInterval(wds_playInterval_2); /* Pause layers out effect.*/ var current_key = jQuery('#wds_current_image_key_2').val(); var current_slide_layers_count = wds_data_2[current_key]["slide_layers_count"]; setTimeout(function() { for (var k = 0; k = 0 ? (parseInt(jQuery(‘#wds_current_image_key_2’).val()) + iterator) % wds_data_2.length : wds_data_2.length – 1; } } wds_change_image_2(parseInt(jQuery(‘#wds_current_image_key_2’).val()), img_index, wds_data_2); }, parseInt(‘5000’) + wds_duration_for_change_2); } jQuery(window).focus(function() { if (!jQuery(“.wds_ctrl_btn_2”).hasClass(“fa-play”)) { if (1) { play_2(); if (‘top’ != ‘none’) { if (‘top’ != ‘top’) { if (‘top’ != ‘bottom’) { if (typeof circle_timer_animate_2 !== ‘undefined’) { circle_timer_animate_2.stop(); } circle_timer_2(curent_time_deggree_2); } } } } } var i_2 = 0; jQuery(“.wds_slider_2”).children(“span”).each(function () { if (jQuery(this).css(‘opacity’) == 1) { jQuery(“#wds_current_image_key_2”).val(i_2); } i_2++; }); }); jQuery(window).blur(function() { wds_event_stack_2 = []; window.clearInterval(wds_playInterval_2); if (typeof jQuery().stop !== ‘undefined’) { if (jQuery.isFunction(jQuery().stop)) { if (‘top’ == ‘top’ || ‘top’ == ‘bottom’) { jQuery(“.wds_line_timer_2”).stop(); } else if (‘top’ != ‘none’) { circle_timer_animate_2.stop(); } } } });

izvor: aviokarta.net

About admin

Check Also

Najsigurnije svjetske zrakoplovne kompanije za 2017. godinu

Airline Ratings, jedini svjetski specijalizirani portal za ocjenjivanje sigurnosti i kvalitete usluga u zrakoplovstvu, i …

Leave a Reply

Your email address will not be published. Required fields are marked *