Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
zeplinbanyo
/
public_html
/
js
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/zeplinbanyo/public_html/js/zr.js
function olcu() { { var a = jQuery, e = a(window).width(); a(window).height() } a(".urun-detay-sag").css(751 > e ? { padding: "0" } : { padding: "0 15px" }), a(".zr-ara").click(function() { a(this).find(".s_input").animate({ width: "270px" }), a(this).find("span").removeClass("back-first").addClass("back-second"), a(this).removeClass("arama_after_edit").addClass("arama_before_edit") }) } function PrintContent() { var a = document.getElementById("content"), e = window.open("", "PrintWindow", "width=750,height=650,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=yes"); e.document.writeln(a.innerHTML), e.document.close(), e.focus(), e.print(), e.close() } $(document).ready(function() { jQuery(".tp-banner").show().revolution({ dottedOverlay: "none", delay: 16e3, startwidth: 1170, hideThumbs: 200, thumbWidth: 100, thumbHeight: 50, thumbAmount: 5, navigationType: "bullet", navigationArrows: "solo", navigationStyle: "preview4", touchenabled: "on", onHoverStop: "on", swipe_velocity: .7, swipe_min_touches: 1, swipe_max_touches: 1, drag_block_vertical: !1, parallax: "mouse", parallaxBgFreeze: "on", parallaxLevels: [7, 4, 3, 2, 5, 4, 3, 2, 1, 0], keyboardNavigation: "off", navigationHAlign: "center", navigationVAlign: "bottom", navigationHOffset: 0, navigationVOffset: 20, soloArrowLeftHalign: "left", soloArrowLeftValign: "center", soloArrowLeftHOffset: 20, soloArrowLeftVOffset: 0, soloArrowRightHalign: "right", soloArrowRightValign: "center", soloArrowRightHOffset: 20, soloArrowRightVOffset: 0, shadow: 3, fullWidth: "on", fullScreen: "off", spinner: "spinner1", stopLoop: "off", stopAfterLoops: -1, stopAtSlide: -1, shuffle: "off", autoHeight: "on", forceFullWidth: "off", hideThumbsOnMobile: "off", hideNavDelayOnMobile: 1500, hideBulletsOnMobile: "off", hideArrowsOnMobile: "off", hideThumbsUnderResolution: 0, hideSliderAtLimit: 0, hideCaptionAtLimit: 0, hideAllCaptionAtLilmit: 0, startWithSlide: 0, fullScreenOffsetContainer: "" }), jQuery(".detay-list").magnificPopup({ delegate: "a.u-zoom", type: "image", gallery: { enabled: !0 } }) }), jQuery(window).resize(function() { jQuery; olcu() }), jQuery(document).ready(function() { var a = jQuery; olcu(); var e = 0; if (a(".sb-icon-search").click(function() { if (e) { var t = a(".sb-search-input").val(); t.length < 1 ? (a("#sb-search").removeClass("sb-opened"), a("#sb-search").addClass("sb-closed"), e = 0) : window.location.href = "index.php?s=" + t } else a("#sb-search").hasClass("sb-opened") || (a("#sb-search").removeClass("sb-closed"), a("#sb-search").addClass("sb-opened")), e++ }), a(".og-close").click(function() { a("#sb-search").removeClass("sb-opened"), a("#sb-search").addClass("sb-closed") }), a(".popkapat").click(function() { a("#popup").fadeOut("slow"), a("body").removeAttr("class"), setTimeout(function() { a("#popup").detach() }, 500) }), a(document).keyup(function(e) { 27 == e.keyCode && (a("#popup").fadeOut("slow"), a("body").removeAttr("class"), setTimeout(function() { a("#popup").detach() }, 500)) }), a("#popup").length > 0 && a("body").addClass("zr-modal"), a(".s_ara").submit(function(e) { e.preventDefault(); var t = a(".s_ara input:first").val(); window.location.href = "index.php?s=" + t }), a(".v4-urunler-fire").length) { var t = jQuery("#v4-urunler"); t.owlCarousel({ autoPlay: 6e3, pagination: !1, itemsCustom: [ [0, 1], [450, 2], [600, 3], [700, 2], [1e3, 4], [1200, 4], [1400, 4], [1600, 4] ] }), a("#p4-u-sag").click(function() { t.trigger("owl.next") }), a("#p4-u-sol").click(function() { t.trigger("owl.prev") }) } a(".v4-m-r").length && (a("#v4-marka").owlCarousel({ autoPlay: 6e3, pagination: !1, itemsCustom: [ [0, 2], [450, 3], [600, 3], [700, 2], [1e3, 4], [1200, 4] ] }), a("#v4-marka-s").owlCarousel({ autoPlay: 6e3, pagination: !1, itemsCustom: [ [0, 2], [450, 3], [600, 3], [700, 2], [1e3, 4], [1200, 4] ] })), a(".v4-p-s").length && a("#v4-projeler").owlCarousel({ autoPlay: !1, pagination: !1, itemsCustom: [ [0, 1], [450, 1], [600, 2], [700, 2], [1e3, 2], [1200, 3] ] }), a(".title").colorTip({ color: "black", timeout: 20 }), a(".small_text").each(function() { var e = a(this).attr("data-color"); a(this).find("span").css({ background: e }) }); var o = navigator.userAgent; if (/MSIE (\d+\.\d+);/.test(o)) { var i = new Number(RegExp.$1); 9 > i && (alert("Versiyon Güncelleyiniz"), window.location.href = "http://windows.microsoft.com/tr-tr/internet-explorer/download-ie") } jQuery().waypoint && jQuery("body").imagesLoaded(function() { jQuery(".animate_icerden,.animate_soldan,.animate_sagdan,animate_yukardan,.animate_asagidan,.animate_fadeIn,.animate_arkadan,.animate_clip,.animate_kivrilan").waypoint(function() { if (!jQuery(this).hasClass("animate_start")) { var a = jQuery(this); setTimeout(function() { a.addClass("animate_start") }, 20) } }, { offset: "85%", triggerOnce: !0 }) }), a("a.subac").on("click", function(e) { e.preventDefault(); var t = a(this).parent().index(); a(".zr-sub-menu").not(t).stop().slideUp(), a(".zr-sub-menu").eq(t).stop().slideToggle(); var o = a(this); a(this).hasClass("standar-bar") ? (a("a.subac").eq(t).removeClass("standar-bar"), a("a.subac").eq(t).addClass("top-bar"), a("a.subac").not(o).removeClass("top-bar"), a("a.subac").not(o).addClass("standar-bar")) : (a("a.subac").eq(t).removeClass("top-bar"), a("a.subac").eq(t).addClass("standar-bar")) }); var n = a("a.varsaustac").length, s = a("a.direkmenuac").length; n > 0 && a("a.varsaustac").parents(".zr-sub-menu:first").css({ display: "block" }), s > 0 && a("a.direkmenuac").parents(".zr-sub-menu:first").css({ display: "block" }), a("ul.nav li.dropdown").hover(function() { a(this).find(".dropdown-menu").not(".zz").stop(!0, !0).fadeIn() }, function() { a(this).find(".dropdown-menu").stop(!0, !0).fadeOut() }), a("body").jpreLoader(), a("ul.dil_menu a").click(function() { var t = a(this).attr("class"); a.ajax({ type: "GET", url: "lab/dil.php", data: { dil: t } }).done(function(a) { "1" == a ? window.location.reload() : alert(e) }).fail(function() { alert("Bir hata oluştu") }) }); var r = a("ul#copy").clone(!0); a("#zr-main-menu").html(r), a("#zr-main-menu").find("ul").removeClass("dropdown-menu"), a("#zr-main-menu").find("li").removeClass("dropdown").removeClass("dropdown-submenu"), a("#zr-main-menu").find("ul").removeClass("nav navbar-nav"), a("#zr-main-menu").find("ul:first").addClass("zr-first-ul"), a("#zr-main-menu").find("i").remove(), a("a#mobilemenu").click(function() { a(".zr-mb-menu").css({ visibility: "visible" }), a(".zr-mb-menu").css({ height: a(document).height() }) }), a(".zr-mb-top > .inner-wrap a.zr-mb-close").click(function() { a(".zr-mb-menu").css({ visibility: "hidden" }) }); a("#zr-main-menu").offset().top; a(".zr-main-menu ul > li ul").addClass("zr-mb-sub"), a(".zr-main-menu ul > li").each(function() { var e = a(this).find(".zr-mb-sub").length; e > 0 && a(this).find("a:first").after('<a href="#" class="zr-subopen"></a>') }), a("ul.zr-mb-sub").each(function() { a(this).offset().top; index = a(this).parent().index(), h = a(this).parent().height(), currentTop = -(index * h), a(this).css("top", currentTop + "px") }); var l = a("#zr-main-menu ul.zr-first-ul"), c = !1; a("body").on("click", "a.zr-subopen", function() { a(".zr-mb-prev").show(), c = a(this).parents("ul.zr-mb-sub:first"), a(this).parent().parent().find("ul.zr-mb-sub").hide(); var e = a(this).next("ul"); return e.show(), c.addClass("zl-sagdan-kay"), l.addClass("zl-solakay"), !1 }), a("a.zr-mb-prev").click(function() { ZraktifUl = a(".zl-sagdan-kay").last(), ZraktifUl.removeClass("zl-sagdan-kay"), 0 === ZraktifUl.length && (a(".zr-mb-prev").hide(), l.removeClass("zl-solakay")) }), a(window).scroll(function() { var e = a(this).scrollTop(); e > 100 ? a(".fix-header").addClass("hd-scrolled") : a(".fix-header").removeClass("hd-scrolled"), a(window).scrollTop() + a(window).height() == a(document).height() ? (a("#supervizyon").css({ opacity: "1" }), a("#supervizyon").addClass("sp_animate")) : (a("#supervizyon").css({ opacity: "0" }), a("#supervizyon").removeClass("sp_animate")) }), a("a#footac").click(function() { var e = a(".long-text").height(); a(this).hasClass("foot-open") ? (a(".foot-text-hide").animate({ height: e + 10 + "px" }, 500), a(this).removeClass("foot-open").addClass("foot-close")) : (a(".foot-text-hide").animate({ height: "35px" }, 500), a(this).removeClass("foot-close").addClass("foot-open")) }), a(".fast_a").on("click", function() { return a(this).hasClass("quick-contact-active") ? (a(".fast-contact ").fadeOut(100), a(this).removeClass("quick-contact-active")) : (a(".fast-contact ").fadeIn(150), a(this).addClass("quick-contact-active")), !1 }), a("body").click(function(e) { var t = a(e.target); 0 == t.parents(".fast-contact").length && a(".fast-contact").hide(), 0 == t.parents(".zr-ara").length && (a(".zr-ara .s_input").animate({ width: "140px" }), a(".zr-ara > span").removeClass("back-second").addClass("back-first"), a(".zr-ara").removeClass("arama_before_edit").addClass("arama_after_edit")), 0 == t.parents(".search_content").length && (a(".search_content").removeClass("fadeInUp open_search"), a(".search_content").addClass("close_search"), a(".g1-searchbox_arrow").hide()) }), a("a.ara-link").on("click", function() { return a(this).hasClass("quick-ara-active") ? (a(".search_content").removeClass("fadeInUp open_search"), a(".search_content").addClass("close_search"), a(this).removeClass("quick-ara-active"), a(".g1-searchbox_arrow").hide()) : (a(".search_content").removeClass("close_search"), a(".search_content").addClass("fadeInUp open_search"), a(this).addClass("quick-ara-active"), a(".g1-searchbox_arrow").fadeIn()), !1 }), a(".fast_top").click(function() { a("html,body").stop().animate({ scrollTop: "0" }, 1e3) }), a(window).scroll(function() { var e = a(document).scrollTop(); e > 600 ? (a(".fast_top").fadeIn(300), a(".bottom-arrow").css({ right: "80px" })) : (a(".fast_top").fadeOut(300), a(".bottom-arrow").css({ right: "20px" })) }), a(".haritaac").click(function(e) { e.preventDefault(), a(".zr_google ").hasClass("map-kapa") ? (a(".zr_google ").animate({ height: "405px" }), a(".zr_google ").removeClass("map-kapa"), a(".zr_google ").addClass("map-ac"), a("html, body").animate({ scrollTop: "15000px" }, 300)) : (a(".zr_google ").animate({ height: "0" }), a(".zr_google ").removeClass("map-ac"), a(".zr_google ").addClass("map-kapa")) }), a(".googlekapa").click(function() { return a(".zr_google ").animate({ height: "0" }), a(".zr_google ").removeClass("map-ac"), a(".zr_google ").addClass("map-kapa"), !1 }), a("button.g-gonder").click(function() { $ekle = a(this), $ekle.html('Gönder <i class="fa fa-spinner fa-spin"></i>'); var e = a("#urunform").serialize(); return a.ajax({ type: "POST", url: "ajax/urunformu.php", data: e, cache: !1 }).done(function(e) { "done" == e ? (a(".form-absolute").fadeOut(400), a(".done-mesaj-1").show()) : ($ekle.html("Gönder"), a(".urun-errors").html('<div class="alert alert-danger">' + e + "</div>")) }).fail(function() { alert("Hata-2") }), !1 }); var d = a(".portfolio_description_scrolling"); if (a(".pg-projeler").length > 0) { var u = a(".fix-header").height(), f = a(".portfolio_description").width(), p = parseInt(a(".pg-projeler").offset().top) - u, m = a(".portfolio_description").height(), g = a(".portfolio_media").height() + p - m; d.css({ width: f + "px" }), a(window).resize(function() { var e = a(".portfolio_description").width(); d.css({ width: e + "px" }) }), a(window).scroll(function() { var e = a(window).width(); if (e > 1050) { { var t = a(window).scrollTop(), o = "fixed" == d.css("position"), i = a(".portfolio_page").height() - m - 20; a(".portfolio_page").height() + a(".portfolio_description").height() / 2 } d.length > 0 && (t > p && g > t && !o ? d.stop().css({ position: "fixed", top: u + 10 }) : t > g ? d.stop().css({ position: "relative", top: i }) : p > t && g > t && o && d.css({ position: "relative", top: 0 })) } }) } }), $(function() { var a = $("#zr-grid"); a.imagesLoaded(function() { a.masonry({ itemSelector: ".zr-grid-box" }) }), $(".ur-list").magnificPopup({ delegate: "a.u-zoom", type: "image", gallery: { enabled: !0 } }), $("#incfont").click(function() { return curSize = parseInt($(".fontsize").css("font-size")) + 2, curSize <= 20 && $(".fontsize").css("font-size", curSize), !1 }), $("#decfont").click(function() { return curSize = parseInt($(".fontsize").css("font-size")) - 2, curSize >= 12 && $(".fontsize").css("font-size", curSize), !1 }); var e = $("#owl-demo-9"); e.owlCarousel({ autoPlay: !1, pagination: !1, stopOnHover: !1, itemsCustom: [ [0, 1], [450, 2], [600, 3], [700, 3], [1e3, 4], [1200, 4], [1400, 4], [1600, 4] ] }), $(".p-right").click(function() { e.trigger("owl.next") }), $(".p-left").click(function() { e.trigger("owl.prev") }) });