📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
tarimscripti.demodesign.com.tr
/
public
/
js
📝
main.js
← Geri Dön
function blankLink(){if(document.getElementsByTagName)for(var t=document.getElementsByTagName("a"),e=t.length,a=0;e>a;a++){var i=t[a];(i.getAttribute("href")&&"external"==i.getAttribute("rel")||"nofollow"==i.getAttribute("rel"))&&(i.target="_blank")}}function animations(){var t=jQuery;t("[data-appear-animation]").each(function(){var e=t(this);e.addClass("appear-animation"),!t("body").hasClass("no-csstransitions")&&t("body").width()+scrollWidth>767?e.appear(function(){var t=e.attr("data-appear-animation-delay")?e.attr("data-appear-animation-delay"):1;t>1&&e.css("animation-delay",t+"ms"),e.addClass(e.attr("data-appear-animation")),setTimeout(function(){e.addClass("appear-animation-visible")},t)},{accX:0,accY:-150}):e.addClass("appear-animation-visible")}),t("[data-appear-progress-animation]").each(function(){var e=t(this);e.appear(function(){var t=e.attr("data-appear-animation-delay")?e.attr("data-appear-animation-delay"):1;t>1&&e.css("animation-delay",t+"ms"),e.find(".progress-bar").addClass(e.attr("data-appear-animation")),setTimeout(function(){e.find(".progress-bar").animate({width:e.attr("data-appear-progress-animation")},500,"easeInCirc",function(){e.find(".progress-bar").animate({textIndent:10},1500,"easeOutBounce")})},t)},{accX:0,accY:-50})})}var baseUrl=document.getElementsByTagName("base")[0].href,language=document.getElementsByTagName("html")[0].getAttribute("lang"),queryString=function(t){if(""===t)return{};for(var e={},a=0;a<t.length;++a){var i=t[a].split("=");2===i.length&&(e[i[0]]=decodeURIComponent(i[1].replace(/\+/g," ")))}return e}(window.location.search.substr(1).split("&")),isOpera=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,isFirefox="undefined"!=typeof InstallTrigger,isSafari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,isIE=!!document.documentMode,isEdge=!isIE&&!!window.StyleMedia,isChrome=!!window.chrome&&!!window.chrome.webstore,isBlink=(isChrome||isOpera)&&!!window.CSS;jQuery(window).load(function(){var t=jQuery;t('img:not(".logo-img")').each(function(){if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var e=new Number(RegExp.$1);e>=9&&("undefined"==typeof this.naturalWidth||0===this.naturalWidth)&&(this.src="http://placehold.it/"+(t(this).attr("width")||this.width||t(this).naturalWidth())+"x"+(this.naturalHeight||t(this).attr("height")||t(this).height()))}else this.complete&&"undefined"!=typeof this.naturalWidth&&0!==this.naturalWidth||(this.src="http://placehold.it/"+(t(this).attr("width")||this.width||t(this).naturalWidth())+"x"+(this.naturalHeight||t(this).attr("height")||t(this).height()))})}),$(function(){var t=navigator.userAgent,e=t.indexOf("Mozilla/5.0")>-1&&t.indexOf("Android ")>-1&&t.indexOf("AppleWebKit")>-1&&-1===t.indexOf("Chrome");e&&$("select.form-control").removeClass("form-control").css("width","100%")}),isset=function(t){var e,a;if(void 0===t)return!1;for(e=1,a=arguments.length;a>e;e++){if(void 0===t[arguments[e]])return!1;t=t[arguments[e]]}return!0};var parent,child,scrollWidth;void 0===scrollWidth&&(parent=jQuery('<div style="width: 50px; height: 50px; overflow: auto"><div/></div>').appendTo("body"),child=parent.children(),scrollWidth=child.innerWidth()-child.height(99).innerWidth(),parent.remove()),$(function(){function t(t){var a=this.currentItem;$("#product-slide-thumb").find(".owl-item").removeClass("active").eq(a).addClass("active"),void 0!==$("#product-slide-thumb").data("owlCarousel")&&e(a)}function e(t){var e=n.data("owlCarousel").owl.visibleItems,a=t,i=!1;for(var r in e)if(a===e[r])var i=!0;i===!1?a>e[e.length-1]?n.trigger("owl.goTo",a-e.length+2):(a-1===-1&&(a=0),n.trigger("owl.goTo",a)):a===e[e.length-1]?n.trigger("owl.goTo",e[1]):a===e[0]&&n.trigger("owl.goTo",a-1)}$(".fancybox").fancybox({padding:0,openEffect:"elastic",openSpeed:150,closeEffect:"elastic",closeSpeed:150,closeClick:!0,helpers:{buttons:{},thumbs:{width:50,height:50}}}),$(".mask-phone").mask("0(999) 999 99 99",{placeholder:"_"}),$(".numeric").numeric(),blankLink(),animations(),$.stellar({horizontalScrolling:!1,verticalOffset:-350}),$(".share-box a").on("click",function(){return window.open($(this).attr("href"),"sharewindow","width=600,height=400"),!1}),$("img.svg").each(function(){var t=$(this),e=t.attr("id"),a=t.attr("class"),i=t.attr("src");$.get(i,function(i){var n=$(i).find("svg");"undefined"!=typeof e&&(n=n.attr("id",e)),"undefined"!=typeof a&&(n=n.attr("class",a+" replaced-svg")),n=n.removeAttr("xmlns:a"),!n.attr("viewBox")&&n.attr("height")&&n.attr("width")&&n.attr("viewBox","0 0 "+n.attr("height")+" "+n.attr("width")),t.replaceWith(n)},"xml")});var a=$("#room-gallery");a.owlCarousel({items:3,itemsDesktop:[1199,8],itemsDesktopSmall:[979,8],itemsTablet:[768,4],itemsMobile:[479,2],loop:!0,pagination:!1}),$("#Next").click(function(){a.trigger("owl.next")}),$("#Prev").click(function(){a.trigger("owl.prev")});var i=$("#product-slide"),n=$("#product-slide-thumb");i.owlCarousel({singleItem:!0,slideSpeed:1e3,navigation:!1,pagination:!1,afterAction:t,responsiveRefreshRate:200}),n.owlCarousel({items:3,itemsDesktop:[1199,3],itemsDesktopSmall:[979,2],itemsTablet:[768,2],itemsMobile:[479,2],pagination:!1,responsiveRefreshRate:100,afterInit:function(t){t.find(".owl-item").eq(0).addClass("active")}}),$("#product-slide-thumb").on("click",".owl-item",function(t){t.preventDefault();var e=$(this).data("owlItem");i.trigger("owl.goTo",e)})}); $( document ).ready(function() { if ($.fn.owlCarousel) { var news = $(".newSlider"); news.owlCarousel({ items:3, slideSpeed: 1000, navigation: false, addClassActive: true, pagination: false }); // $(".button#Next").click(function () { // news.trigger('owl.next'); // // console.log('tıkladı'); // }); // $(".button#Prev").click(function () { // news.trigger('owl.prev'); // }); } });
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula