#bwg_container1_0 visibility: hidden; #bwg_container1_0 * -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_wrap_0 * box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_wrap_0 background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 800px; height: 500px; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_0 padding: 0 !important; margin: 0 !important; float: none !important; max-width: 800px; max-height: 500px; vertical-align: middle; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_embed_0 padding: 0 !important; margin: 0 !important; float: none !important; width: 800px; height: 500px; vertical-align: middle; display: inline-block; text-align: center; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_0 position: relative; z-index: 15; #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0 background: transparent url("http://www.emlakpiyasalar.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0:hover #bwg_slideshow_play_pause-ico_0 display: inline-block !important; #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0:hover span position: relative; z-index: 13; #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0 span display: table-cell; text-align: center; vertical-align: middle; #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause-ico_0 display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause-ico_0:hover color: #CCCCCC; display: inline-block; position: relative; z-index: 13; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0 background: transparent url("http://www.emlakpiyasalar.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0 left: 0; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0 right: 0; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0:hover, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0:hover visibility: visible; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0:hover span left: 20px; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0:hover span left: auto; right: 20px; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0 span, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0 span display: table-cell; text-align: center; vertical-align: middle; z-index: 13; #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0 background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: 0px 0px 0px #000000; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0:hover, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0:hover color: #CCCCCC; cursor: pointer; #spider_slideshow_left-ico_0 left: -9999px; #spider_slideshow_right-ico_0 left: -9999px; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_container_0 display: table; position: absolute; text-align: center; top: 0px; vertical-align: middle; width: 800px; height: 500px; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_container_0 display: table; height: 0px; position: absolute; width: 800px; /*z-index: 10105;*/ top: 0; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_0 left: 20px; overflow: hidden; position: absolute; width: 760px; /*z-index: 10106;*/ #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnails_0 height: 0px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 34px; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnail_0 position: relative; background: none; border: 1px solid #000000; border-radius: 0; cursor: pointer; float: left; height: 0px; margin: 0 1px; width: 0px; overflow: hidden; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_thumb_active_0 opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_thumb_deactive_0 opacity: 0.80; filter: Alpha(opacity=80); #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnail_img_0 display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_left_0 background-color: #3B3B3B; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_right_0 background-color: #3B3B3B; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_left_0 i, #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_right_0 i color: #FFFFFF; font-size: 20px; #bwg_container1_0 #bwg_container2_0 .bwg_none_selectable_0 -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_container_0 display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_spun_0 display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_title_spun_0 display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_spun_0 display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_image_0 padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_text_0, #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_text_0:hover text-decoration: none; margin: 4px; font-size: 12px; font-family: Arial; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_title_text_0 text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 0 0 0 0; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; top:16px; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_text_0 text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_text_0 * text-decoration: none; color: #FFFFFF !important; #bwg_container1_0 #bwg_container2_0 .bwg_slide_container_0 display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; #bwg_container1_0 #bwg_container2_0 .bwg_slide_bg_0 margin: 0 auto; width: inherit; height: inherit; #bwg_container1_0 #bwg_container2_0 .bwg_slider_0 height: inherit; width: inherit; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun_0 width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_second_spun_0 width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; #bwg_container1_0 #bwg_container2_0 .bwg_grid_0 display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; #bwg_container1_0 #bwg_container2_0 .bwg_gridlet_0 opacity: 1; filter: Alpha(opacity=100); position: absolute; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_0 display: inline-block; position: relative; width: 12px; height: 12px; border-radius: 5px; background: #F2D22E; margin: 3px; cursor: pointer; overflow: hidden; z-index: 17; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_container_0 display: block; overflow: hidden; position: absolute; width: 800px; top: 0; z-index: 17; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_thumbnails_0 left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 18px; width: 306px; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_active_0 background: #FFFFFF; opacity: 1; filter: Alpha(opacity=100); border: 1px solid #000000; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_deactive_0 #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun1_0 display: table; width: inherit; height: inherit; #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun2_0 display: table-cell; vertical-align: middle; text-align: center; var data_0 = []; var event_stack_0 = []; data_0["0"] = []; data_0["0"]["id"] = "1"; data_0["0"]["alt"] = "Levent Life Residence kat planları ve örnek daire (1) "; data_0["0"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["0"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (1).jpg"; data_0["0"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (1).jpg"; data_0["0"]["date"] = "09 November 2015, 18:35"; data_0["0"]["is_embed"] = ""; data_0["0"]["is_embed_video"] = ""; data_0["1"] = []; data_0["1"]["id"] = "10"; data_0["1"]["alt"] = "Levent Life Residence kat planları ve örnek daire (10) "; data_0["1"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["1"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (10).jpg"; data_0["1"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (10).jpg"; data_0["1"]["date"] = "09 November 2015, 18:35"; data_0["1"]["is_embed"] = ""; data_0["1"]["is_embed_video"] = ""; data_0["2"] = []; data_0["2"]["id"] = "11"; data_0["2"]["alt"] = "Levent Life Residence kat planları ve örnek daire (11) "; data_0["2"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["2"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (11).jpg"; data_0["2"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (11).jpg"; data_0["2"]["date"] = "09 November 2015, 18:35"; data_0["2"]["is_embed"] = ""; data_0["2"]["is_embed_video"] = ""; data_0["3"] = []; data_0["3"]["id"] = "12"; data_0["3"]["alt"] = "Levent Life Residence kat planları ve örnek daire (12) "; data_0["3"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["3"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (12).jpg"; data_0["3"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (12).jpg"; data_0["3"]["date"] = "09 November 2015, 18:36"; data_0["3"]["is_embed"] = ""; data_0["3"]["is_embed_video"] = ""; data_0["4"] = []; data_0["4"]["id"] = "13"; data_0["4"]["alt"] = "Levent Life Residence kat planları ve örnek daire (13) "; data_0["4"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["4"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (13).jpg"; data_0["4"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (13).jpg"; data_0["4"]["date"] = "09 November 2015, 18:36"; data_0["4"]["is_embed"] = ""; data_0["4"]["is_embed_video"] = ""; data_0["5"] = []; data_0["5"]["id"] = "14"; data_0["5"]["alt"] = "Levent Life Residence kat planları ve örnek daire (14) "; data_0["5"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["5"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (14).jpg"; data_0["5"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (14).jpg"; data_0["5"]["date"] = "09 November 2015, 18:36"; data_0["5"]["is_embed"] = ""; data_0["5"]["is_embed_video"] = ""; data_0["6"] = []; data_0["6"]["id"] = "15"; data_0["6"]["alt"] = "Levent Life Residence kat planları ve örnek daire (15) "; data_0["6"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["6"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (15).jpg"; data_0["6"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (15).jpg"; data_0["6"]["date"] = "09 November 2015, 18:36"; data_0["6"]["is_embed"] = ""; data_0["6"]["is_embed_video"] = ""; data_0["7"] = []; data_0["7"]["id"] = "16"; data_0["7"]["alt"] = "Levent Life Residence kat planları ve örnek daire (16) "; data_0["7"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["7"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (16).jpg"; data_0["7"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (16).jpg"; data_0["7"]["date"] = "09 November 2015, 18:36"; data_0["7"]["is_embed"] = ""; data_0["7"]["is_embed_video"] = ""; data_0["8"] = []; data_0["8"]["id"] = "17"; data_0["8"]["alt"] = "Levent Life Residence kat planları ve örnek daire (17) "; data_0["8"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["8"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (17).jpg"; data_0["8"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (17).jpg"; data_0["8"]["date"] = "09 November 2015, 18:36"; data_0["8"]["is_embed"] = ""; data_0["8"]["is_embed_video"] = ""; data_0["9"] = []; data_0["9"]["id"] = "2"; data_0["9"]["alt"] = "Levent Life Residence kat planları ve örnek daire (2) "; data_0["9"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["9"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (2).jpg"; data_0["9"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (2).jpg"; data_0["9"]["date"] = "09 November 2015, 18:35"; data_0["9"]["is_embed"] = ""; data_0["9"]["is_embed_video"] = ""; data_0["10"] = []; data_0["10"]["id"] = "3"; data_0["10"]["alt"] = "Levent Life Residence kat planları ve örnek daire (3) "; data_0["10"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["10"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (3).jpg"; data_0["10"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (3).jpg"; data_0["10"]["date"] = "09 November 2015, 18:35"; data_0["10"]["is_embed"] = ""; data_0["10"]["is_embed_video"] = ""; data_0["11"] = []; data_0["11"]["id"] = "4"; data_0["11"]["alt"] = "Levent Life Residence kat planları ve örnek daire (4) "; data_0["11"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["11"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (4).jpg"; data_0["11"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (4).jpg"; data_0["11"]["date"] = "09 November 2015, 18:35"; data_0["11"]["is_embed"] = ""; data_0["11"]["is_embed_video"] = ""; data_0["12"] = []; data_0["12"]["id"] = "5"; data_0["12"]["alt"] = "Levent Life Residence kat planları ve örnek daire (5) "; data_0["12"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["12"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (5).jpg"; data_0["12"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (5).jpg"; data_0["12"]["date"] = "09 November 2015, 18:35"; data_0["12"]["is_embed"] = ""; data_0["12"]["is_embed_video"] = ""; data_0["13"] = []; data_0["13"]["id"] = "6"; data_0["13"]["alt"] = "Levent Life Residence kat planları ve örnek daire (6) "; data_0["13"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["13"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (6).jpg"; data_0["13"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (6).jpg"; data_0["13"]["date"] = "09 November 2015, 18:35"; data_0["13"]["is_embed"] = ""; data_0["13"]["is_embed_video"] = ""; data_0["14"] = []; data_0["14"]["id"] = "7"; data_0["14"]["alt"] = "Levent Life Residence kat planları ve örnek daire (7) "; data_0["14"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["14"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (7).jpg"; data_0["14"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (7).jpg"; data_0["14"]["date"] = "09 November 2015, 18:35"; data_0["14"]["is_embed"] = ""; data_0["14"]["is_embed_video"] = ""; data_0["15"] = []; data_0["15"]["id"] = "8"; data_0["15"]["alt"] = "Levent Life Residence kat planları ve örnek daire (8) "; data_0["15"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["15"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (8).jpg"; data_0["15"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (8).jpg"; data_0["15"]["date"] = "09 November 2015, 18:35"; data_0["15"]["is_embed"] = ""; data_0["15"]["is_embed_video"] = ""; data_0["16"] = []; data_0["16"]["id"] = "9"; data_0["16"]["alt"] = "Levent Life Residence kat planları ve örnek daire (9) "; data_0["16"]["description"] = "Levent Life Residence kat planları ve örnek daire (17)"; data_0["16"]["image_url"] = "/Levent Life Residence kat planları ve örnek daire (9).jpg"; data_0["16"]["thumb_url"] = "/thumb/Levent Life Residence kat planları ve örnek daire (9).jpg"; data_0["16"]["date"] = "09 November 2015, 18:35"; data_0["16"]["is_embed"] = ""; data_0["16"]["is_embed_video"] = ""; var bwg_trans_in_progress_0 = false; var bwg_transition_duration_0 = 800; var bwg_playInterval_0; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_0); /* Set watermark container size.*/ function bwg_change_watermark_container_0() { jQuery(".bwg_slider_0").children().each(function() if (jQuery(this).css("zIndex") == 2) var bwg_current_image_span = jQuery(this).find("img"); if (!bwg_current_image_span.length) bwg_current_image_span = jQuery(this).find("iframe"); if (!bwg_current_image_span.length) bwg_current_image_span = jQuery(this).find("video"); var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); jQuery(".bwg_slideshow_watermark_spun_0").width(width); jQuery(".bwg_slideshow_watermark_spun_0").height(height); jQuery(".bwg_slideshow_title_spun_0").width(width); jQuery(".bwg_slideshow_title_spun_0").height(height); jQuery(".bwg_slideshow_description_spun_0").width(width); jQuery(".bwg_slideshow_description_spun_0").height(height); jQuery(".bwg_slideshow_watermark_0").css(display: ''); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_0").text())) jQuery(".bwg_slideshow_title_text_0").css(display: ''); if (jQuery.trim(jQuery(".bwg_slideshow_description_text_0").text())) jQuery(".bwg_slideshow_description_text_0").css(display: ''); ); } var bwg_current_key_0 = '0'; var bwg_current_filmstrip_pos_0 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_0(filmStripWidth) var selectedImagePos = -bwg_current_filmstrip_pos_0 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_0").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate( left: imagesContainerLeft , duration: 500, complete: function () bwg_filmstrip_arrows_0(); ); function bwg_move_filmstrip_0() var image_left = jQuery(".bwg_slideshow_thumb_active_0").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_0").position().left + jQuery(".bwg_slideshow_thumb_active_0").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_0").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_0").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) return; if (image_left long_filmstrip_cont_right) jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate( left: -(image_right - bwg_filmstrip_width) , duration: 500, complete: function () bwg_filmstrip_arrows_0(); ); function bwg_move_dots_0() var image_left = jQuery(".bwg_slideshow_dots_active_0").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_0").position().left + jQuery(".bwg_slideshow_dots_active_0").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_0").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_0").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_0").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_0").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) return; if (image_left long_filmstrip_cont_right) jQuery(".bwg_slideshow_dots_thumbnails_0").animate( left: -(image_right - bwg_dots_width) , duration: 500, complete: function () ); /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_0() if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() 0) key = event_stack_0[0].split("-"); event_stack_0.shift(); bwg_change_image_0(key[0], key[1], data_0, true); } } function bwg_cubeH_0(current_image_class, next_image_class, direction) /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') bwg_cube_0(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); else if (direction == 'left') bwg_cube_0(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); /* For browsers that does not support transitions.*/ function bwg_fallback_0(current_image_class, next_image_class, direction) bwg_fade_0(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 bwg_fallback3d_0(current_image_class, next_image_class, direction) bwg_sliceV_0(current_image_class, next_image_class, direction); function bwg_none_0(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); bwg_change_watermark_container_0(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); function bwg_fade_0(current_image_class, next_image_class, direction) /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); if (bwg_testBrowser_cssTransitions_0()) jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_0 + 'ms linear'); jQuery(current_image_class).css('opacity' : 0, 'z-index': 1); jQuery(next_image_class).css('opacity' : 1, 'z-index' : 2); bwg_change_watermark_container_0(); else jQuery(current_image_class).animate('opacity' : 0, 'z-index' : 1, bwg_transition_duration_0); jQuery(next_image_class).animate( 'opacity' : 1, 'z-index': 2 , duration: bwg_transition_duration_0, complete: function () bwg_change_watermark_container_0(); ); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_0, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_0, 1); function bwg_grid_0(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_0()) return bwg_fallback_0(current_image_class, next_image_class, direction); bwg_trans_in_progress_0 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_0) / (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 bwg_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( display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_0").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 ' + bwg_transition_duration_0 + '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('bwg_grid_0'); /* 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(".bwg_slide_bg_0"); 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(".bwg_slide_bg_0").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(bwg_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(bwg_after_trans)); function bwg_after_trans() /*if (bwg_from_focus_0) bwg_from_focus_0 = false; return; */ 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); bwg_change_watermark_container_0(); grid.remove(); bwg_trans_in_progress_0 = false; if (typeof event_stack_0 !== 'undefined') if (event_stack_0.length > 0) key = event_stack_0[0].split("-"); event_stack_0.shift(); bwg_change_image_0(key[0], key[1], data_0, true); } function bwg_sliceV_0(current_image_class, next_image_class, direction) if (direction == 'right') var translateY = 'min-auto'; else if (direction == 'left') var translateY = 'auto'; bwg_grid_0(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); function bwg_scaleOut_0(current_image_class, next_image_class, direction) bwg_grid_0(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); function bwg_blindH_0(current_image_class, next_image_class, direction) bwg_grid_0(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); function iterator_0() var iterator = 1; if (0) iterator = Math.floor((data_0.length - 1) * Math.random() + 1); return iterator; function bwg_change_image_0(current_key, key, data_0, from_effect) /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_0").find("iframe").each(function () jQuery(this)[0].contentWindow.postMessage('"event":"command","func":"pauseVideo","args":""', '*'); jQuery(this)[0].contentWindow.postMessage(' "method": "pause" ', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); ); if (data_0[key]) if (jQuery('.bwg_ctrl_btn_0').hasClass('fa-pause')) play_0(); if (!from_effect) /* Change image key.*/ jQuery("#bwg_current_image_key_0").val(key); if (current_key == '-1') /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_0").children("img").attr("image_key"); else if (current_key == '-2') /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_0").attr("image_key"); if (bwg_trans_in_progress_0) event_stack_0.push(current_key + '-' + key); return; var direction = 'right'; if (bwg_current_key_0 > key) var direction = 'left'; else if (bwg_current_key_0 == key) return; jQuery(".bwg_slideshow_watermark_0").css(display: 'none'); jQuery(".bwg_slideshow_title_text_0").css(display: 'none'); jQuery(".bwg_slideshow_description_text_0").css(display: 'none'); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_0 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_0").width() + 2 + 2 * 1); bwg_current_key_0 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_0").attr('image_id', data_0[key]["id"]); jQuery(".bwg_slideshow_title_text_0").html(jQuery('').html(data_0[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_0").html(jQuery('').html(data_0[key]["description"]).text()); var current_image_class = "#image_id_0_" + data_0[current_key]["id"]; var next_image_class = "#image_id_0_" + data_0[key]["id"]; bwg_fade_0(current_image_class, next_image_class, direction); bwg_move_dots_0(); if (data_0[key]["is_embed_video"]) jQuery("#bwg_slideshow_play_pause_0").css(display: 'none'); else jQuery("#bwg_slideshow_play_pause_0").css(display: ''); function bwg_popup_resize_0() var parent_width = jQuery(".bwg_slideshow_image_wrap_0").parent().width(); if (parent_width >= 800) jQuery(".bwg_slideshow_image_wrap_0").css(width: 800); jQuery(".bwg_slideshow_image_wrap_0").css(height: 500); jQuery(".bwg_slideshow_image_container_0").css(width: 800); jQuery(".bwg_slideshow_image_container_0").css(height: (500)); jQuery(".bwg_slideshow_image_0").css( cssText: "max-width: 800px !important; max-height: 500px !important;" ); jQuery(".bwg_slideshow_embed_0").css( cssText: "width: 800px !important; height: 500px !important;" ); bwg_resize_instagram_post_0(); /* Set watermark container size.*/ bwg_change_watermark_container_0(); jQuery(".bwg_slideshow_filmstrip_container_0").css(width: 800); jQuery(".bwg_slideshow_filmstrip_0").css(width: (800 - 40)); jQuery(".bwg_slideshow_dots_container_0").css(width: 800); jQuery("#bwg_slideshow_play_pause-ico_0").css(fontSize: (60)); jQuery(".bwg_slideshow_watermark_image_0").css(maxWidth: 90, maxHeight: 90); jQuery(".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover").css(fontSize: (12)); jQuery(".bwg_slideshow_title_text_0").css(fontSize: (32)); jQuery(".bwg_slideshow_description_text_0").css(fontSize: (28)); else jQuery(".bwg_slideshow_image_wrap_0").css(width: (parent_width)); jQuery(".bwg_slideshow_image_wrap_0").css(height: ((parent_width) * 0.625)); jQuery(".bwg_slideshow_image_container_0").css(width: (parent_width)); jQuery(".bwg_slideshow_image_container_0").css(height: ((parent_width) * 0.625 - 0)); jQuery(".bwg_slideshow_image_0").css( cssText: "max-width: " + parent_width + "px !important; max-height: " + (parent_width * (0.625) - 0 - 1) + "px !important;" ); jQuery(".bwg_slideshow_embed_0").css( cssText: "width: " + parent_width + "px !important; height: " + (parent_width * (0.625) - 0 - 1) + "px !important;" ); bwg_resize_instagram_post_0(); /* Set watermark container size.*/ bwg_change_watermark_container_0(); jQuery(".bwg_slideshow_filmstrip_container_0").css(width: (parent_width)); jQuery(".bwg_slideshow_filmstrip_0").css(width: (parent_width - 40)); jQuery(".bwg_slideshow_dots_container_0").css(width: (parent_width)); jQuery("#bwg_slideshow_play_pause-ico_0").css(fontSize: ((parent_width) * 0.075)); jQuery(".bwg_slideshow_watermark_image_0").css(maxWidth: ((parent_width) * 0.1125), maxHeight: ((parent_width) * 0.1125)); jQuery(".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover").css(fontSize: ((parent_width) * 0.015)); jQuery(".bwg_slideshow_title_text_0").css(fontSize: ((parent_width) * 0.04)); jQuery(".bwg_slideshow_description_text_0").css(fontSize: ((parent_width) * 0.035)); jQuery(window).resize(function() bwg_popup_resize_0(); ); jQuery(window).load(function () { if (typeof jQuery().swiperight !== 'undefined') if (jQuery.isFunction(jQuery().swiperight)) jQuery('#bwg_container1_0').swiperight(function () bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) - iterator_0()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_0').val()) - iterator_0()) % data_0.length : data_0.length - 1, data_0); return false; ); if (typeof jQuery().swipeleft !== 'undefined') if (jQuery.isFunction(jQuery().swipeleft)) jQuery('#bwg_container1_0').swipeleft(function () bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) + iterator_0()) % data_0.length, data_0); return false; ); var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_0(); jQuery("#bwg_container1_0").css(visibility: 'visible'); jQuery(".bwg_slideshow_watermark_0").css(display: 'none'); jQuery(".bwg_slideshow_title_text_0").css(display: 'none'); jQuery(".bwg_slideshow_description_text_0").css(display: 'none'); setTimeout(function () bwg_change_watermark_container_0(); , 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_0").height(jQuery(".bwg_slideshow_image_wrap_0").height() - 0); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_0').bind(mousewheelevt, function(e) ); jQuery(".bwg_slideshow_filmstrip_right_0").on(bwg_click, function () jQuery( ".bwg_slideshow_filmstrip_thumbnails_0" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())) jQuery(".bwg_slideshow_filmstrip_left_0").css(opacity: 1, filter: "Alpha(opacity=100)"); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width() - 2)) jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate(left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width()), 500, 'linear'); else jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate(left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left - 2), 500, 'linear'); /* Disable right arrow.*/ window.setTimeout(function() if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())) jQuery(".bwg_slideshow_filmstrip_right_0").css(opacity: 0.3, filter: "Alpha(opacity=30)"); , 500); ); jQuery(".bwg_slideshow_filmstrip_left_0").on(bwg_click, function () jQuery( ".bwg_slideshow_filmstrip_thumbnails_0" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left - 2) jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate(left: 0, 500, 'linear'); else jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate(left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left + 2), 500, 'linear'); /* Disable left arrow.*/ window.setTimeout(function() if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left == 0) jQuery(".bwg_slideshow_filmstrip_left_0").css(opacity: 0.3, filter: "Alpha(opacity=30)"); , 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_0(jQuery(".bwg_slideshow_filmstrip_0").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_0").on(bwg_click, function () if (jQuery(".bwg_ctrl_btn_0").hasClass("fa-play")) play_0(); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause"); if (0) document.getElementById("bwg_audio_0").play(); else /* Pause.*/ window.clearInterval(bwg_playInterval_0); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Oynayın"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-play"); if (0) document.getElementById("bwg_audio_0").pause(); ); if (0) play_0(); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause"); if (0) document.getElementById("bwg_audio_0").play(); jQuery(".bwg_slideshow_image_0").removeAttr("width"); jQuery(".bwg_slideshow_image_0").removeAttr("height"); }); function bwg_resize_instagram_post_0() /*jQuery.fn.exists = function()return this.length>0;;*/ if (jQuery('.inner_instagram_iframe_bwg_embed_frame_0').length) var w = jQuery('.bwg_slideshow_embed_0').width(); var h = jQuery('.bwg_slideshow_embed_0').height(); var post_width = 0; var post_height = 0; if(h
YORUMLAR