$(window).load(function () { $(document).ready(function(){ $.arama_listesi_secimi=function(){ $('#hepsi_buton').html($( "#arama_liste option:selected").attr("data")+' '); $('#arama_liste').addClass("hide"); }; $('#hepsi_buton').on('click',function() { $('#arama_liste').toggleClass("hide"); var downmenu=$("#arama_liste"); var dp_uzunluk = $('#arama_liste > option').length; downmenu.attr('size',dp_uzunluk); }); $('#arama_liste').on('blur',function() { $('#arama_liste').addClass("hide"); }); $('#arama_liste').change(function() { $.arama_listesi_secimi(); }); $.arama_listesi_secimi(); }); }); $(document).ready(function() { $("#ana_slider").owlCarousel({ navigation : true, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem:true, items : 1, itemsDesktop : true, itemsDesktopSmall : true, itemsTablet: true, itemsMobile : true, navigationText: [ //"", //"" "", "" ], //Basic Speeds slideSpeed : 200, paginationSpeed : 800, rewindSpeed : 1000, //Autoplay autoPlay : true, stopOnHover : true, //Mouse Events dragBeforeAnimFinish : true, mouseDrag : true, touchDrag : true, transitionStyle : "fade", pagination:true }); $("#firsat_urunleri").owlCarousel({ navigation : false, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem:true, items : 1, itemsDesktop : true, itemsDesktopSmall : true, itemsTablet: true, itemsMobile : true, navigationText: [ "", "" ], //Basic Speeds slideSpeed : 200, paginationSpeed : 800, rewindSpeed : 1000, //Autoplay autoPlay : true, stopOnHover : false, //Mouse Events dragBeforeAnimFinish : true, mouseDrag : true, touchDrag : true, transitionStyle : "fade", pagination:false, animateOut: 'slideOutDown', animateIn: 'flipInX', }); $("#fan_shop_slider").owlCarousel({ navigation : false, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem:true, items : 1, itemsDesktop : true, itemsDesktopSmall : true, itemsTablet: true, itemsMobile : true, navigationText: [ "", "" ], //Basic Speeds slideSpeed : 200, paginationSpeed : 800, rewindSpeed : 1000, //Autoplay autoPlay : true, stopOnHover : true, //Mouse Events dragBeforeAnimFinish : true, mouseDrag : true, touchDrag : true, transitionStyle : "fade", pagination:false, }); $("#tool_shop_slider").owlCarousel({ navigation : false, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem:true, items : 1, itemsDesktop : true, itemsDesktopSmall : true, itemsTablet: true, itemsMobile : true, navigationText: [ "", "" ], //Basic Speeds slideSpeed : 200, paginationSpeed : 800, rewindSpeed : 1000, //Autoplay autoPlay : true, stopOnHover : true, //Mouse Events dragBeforeAnimFinish : true, mouseDrag : true, touchDrag : true, transitionStyle : "fade", pagination:false, }); $("#special_tool_shop_slider").owlCarousel({ navigation : false, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem:true, items : 1, itemsDesktop : true, itemsDesktopSmall : true, itemsTablet: true, itemsMobile : true, navigationText: [ "", "" ], //Basic Speeds slideSpeed : 200, paginationSpeed : 800, rewindSpeed : 1000, //Autoplay autoPlay : true, stopOnHover : true, //Mouse Events dragBeforeAnimFinish : true, mouseDrag : true, touchDrag : true, transitionStyle : "fade", pagination:false, }); $.slider_secim=function(numara){ var owl_ana_slider = $("#ana_slider").data('owlCarousel'); owl_ana_slider.goTo(numara); }; $('.tool_shop_buton').on('click',function() { $.slider_secim(3); }); $('.amazingslider-text-wrapper-0').on('click',function() { $.slider_secim(3); }); $('.fan_shop_buton').on('click',function() { $.slider_secim(4); }); // Map butonları $('.map_vertrieb').on('click',function() { //var ulkeler = ["afrika"]; $.marker_list('','_yesil'); $(".slider_harita_resim").attr('src','images/slider1_vetrieb_de.png'); $(".slider_harita .marker_kanada").replaceWith(''); $(".slider_harita .marker_amerika1").replaceWith(''); $(".slider_harita .marker_amerika2").replaceWith(''); $(".slider_harita .marker_brezilya").replaceWith(''); $(".slider_harita .marker_kuzey_afrika").replaceWith(''); $(".slider_harita .marker_afrika").replaceWith(''); $(".slider_harita .marker_vertrieb_1").replaceWith(''); $(".slider_harita .marker_vertrieb_2").replaceWith(''); $(".slider_harita .marker_vertrieb_3").replaceWith(''); $(".slider_harita .marker_vertrieb_4").replaceWith(''); $(".slider_harita .marker_vertrieb_5").replaceWith(''); $(".slider_harita .marker_vertrieb_6").replaceWith(''); $(".slider_harita .marker_vertrieb_7").replaceWith(''); $(".slider_harita .marker_vertrieb_8").replaceWith(''); $(".slider_harita .marker_vertrieb_9").replaceWith(''); $(".slider_harita .marker_vertrieb_10").replaceWith(''); $.slider_secim(0); }); $('.map_handler').on('click',function() { //var ulkeler = ["afrika"]; $.marker_list('','_yesil'); $(".slider_harita_resim").attr('src','images/slider1_handler_de.png'); $(".slider_harita .marker_kanada").replaceWith(''); $(".slider_harita .marker_amerika1").replaceWith(''); $(".slider_harita .marker_amerika2").replaceWith(''); $(".slider_harita .marker_brezilya").replaceWith(''); $(".slider_harita .marker_kuzey_afrika").replaceWith(''); $(".slider_harita .marker_afrika").replaceWith(''); $(".slider_harita .marker_handler_1").replaceWith(''); $(".slider_harita .marker_handler_2").replaceWith(''); $(".slider_harita .marker_handler_3").replaceWith(''); $(".slider_harita .marker_handler_4").replaceWith(''); $(".slider_harita .marker_handler_5").replaceWith(''); $(".slider_harita .marker_handler_6").replaceWith(''); $(".slider_harita .marker_handler_7").replaceWith(''); $(".slider_harita .marker_handler_8").replaceWith(''); $(".slider_harita .marker_handler_9").replaceWith(''); $(".slider_harita .marker_handler_10").replaceWith(''); $(".slider_harita .marker_handler_11").replaceWith(''); $(".slider_harita .marker_handler_12").replaceWith(''); $(".slider_harita .marker_handler_13").replaceWith(''); $.slider_secim(0); }); $('.map_produktion').on('click',function() { var ulkeler = ["turkiye", "almanya", "cin"]; $.marker_list(ulkeler,'_yesil'); $(".slider_harita_resim").attr('src','images/slider1_produktion_de.png'); $(".slider_harita .marker_turkiye").replaceWith(''); $(".slider_harita .marker_almanya").replaceWith(''); $(".slider_harita .marker_cin").replaceWith(''); $.slider_secim(0); }); $('.map_cad').on('click',function() { var ulkeler = ["turkiye", "almanya", "cin"]; $.marker_list(ulkeler,'_yesil'); $(".slider_harita_resim").attr('src','images/slider1_cad_de.png'); $(".slider_harita .marker_turkiye").replaceWith(''); $(".slider_harita .marker_almanya").replaceWith(''); $(".slider_harita .marker_cin").replaceWith(''); $.slider_secim(0); }); $('.map_sap').on('click',function() { var ulkeler = ["turkiye", "almanya", "cin"]; $.marker_list(ulkeler,'_yesil'); $(".slider_harita_resim").attr('src','images/slider1_sap_de.png'); $(".slider_harita .marker_turkiye").replaceWith(''); $(".slider_harita .marker_almanya").replaceWith(''); $(".slider_harita .marker_cin").replaceWith(''); $.slider_secim(0); }); $('.map_cnc').on('click',function() { var ulkeler = ["turkiye", "almanya", "cin"]; $.marker_list(ulkeler,'_yesil'); $(".slider_harita_resim").attr('src','images/slider1_cnc_de.png'); $(".slider_harita .marker_turkiye").replaceWith(''); $(".slider_harita .marker_almanya").replaceWith(''); $(".slider_harita .marker_cin").replaceWith(''); $.slider_secim(0); }); $('.map_edv').on('click',function() { var ulkeler = ["turkiye"]; $.marker_list(ulkeler,'_yesil'); $(".slider_harita_resim").attr('src','images/slider1_edv_de.png'); $(".slider_harita .marker_turkiye").replaceWith(''); $.slider_secim(0); }); $('.map_verwaltung').on('click',function() { var ulkeler = ["turkiye"]; $.marker_list(ulkeler,'_yesil'); $(".slider_harita_resim").attr('src','images/slider1_verwaltung_de.png'); $(".slider_harita .marker_turkiye").replaceWith(''); $.slider_secim(0); }); $('.map_ausbildung').on('click',function() { var ulkeler = ["almanya"]; $.marker_list(ulkeler,'_yesil'); $(".slider_harita_resim").attr('src','images/slider1_ausbildung_de.png'); $(".slider_harita .marker_almanya").replaceWith(''); $.slider_secim(0); }); // Map butonları /* // fanshop buton uyarı $('#fan_shop_buton').mouseover(function(e){ e.preventDefault(); setTimeout(function() { if ($('#fan_shop_buton').is(':hover')) { $('#confirm_fan_shop').modal({ backdrop: 'static', keyboard: false }) .one('click', '#tamam_fan_shop', function (e) { //window.location.href = "login.php"; $("#fan_shop_icerik").html("