📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
tarimscripti.demodesign.com.tr
/
public
/
js
📝
main - Kopya.js
← Geri Dön
/************************************************ Ajans Esperto | www.ajansesperto.com Mustafa ARSLANALP | Web Designer ************************************************/ /**********************************************************************************************/ /**********************************************************************************************/ /* JQuery ****************************************************************************/ $(document).ready(function() { /*Tooltip*/ $('[data-toggle="tooltip"]').tooltip(); /*FancyBox*/ $(".fancyBox").fancybox({ padding: 0, openEffect : 'elastic', openSpeed : 150, closeEffect : 'elastic', closeSpeed : 150, closeClick : true, helpers : { buttons : {}, thumbs : { width : 50, height : 50 } } }); /*SVG Image Donusturme*/ $('img.svg').each(function(){ var $img = $(this); var imgID = $img.attr('id'); var imgClass = $img.attr('class'); var imgURL = $img.attr('src'); $.get(imgURL, function(data) { var $svg = $(data).find('svg'); if(typeof imgID !== 'undefined') { $svg = $svg.attr('id', imgID); } if(typeof imgClass !== 'undefined') { $svg = $svg.attr('class', imgClass+' replaced-svg'); } $svg = $svg.removeAttr('xmlns:a'); if(!$svg.attr('viewBox') && $svg.attr('height') && $svg.attr('width')) { $svg.attr('viewBox', '0 0 ' + $svg.attr('height') + ' ' + $svg.attr('width')) } $img.replaceWith($svg); }, 'xml'); }); /*OWL*/ var owl1 = $("#activity-slider"); owl1.owlCarousel({ loop : true, pagination : false, items: 3, itemsDesktop : [1199,3], itemsDesktopSmall : [979,2], itemsTablet : [768,1], itemsMobile : [479,1] }); $(".activity-buttons .buttons#Next").click(function(){ owl1.trigger('owl.next'); }); $(".activity-buttons .buttons#Prev").click(function(){ owl1.trigger('owl.prev'); }); var owl2 = $("#news-slider"); owl2.owlCarousel({ loop : true, pagination : false, items: 3, itemsDesktop : [1199,3], itemsDesktopSmall : [979,2], itemsTablet : [768,1], itemsMobile : [479,1] }); $(".news-buttons .buttons#Next").click(function(){ owl2.trigger('owl.next'); }); $(".news-buttons .buttons#Prev").click(function(){ owl2.trigger('owl.prev'); }); var owl3 = $("#bottom-slider"); owl3.owlCarousel({ loop : true, pagination : false, items: 4, itemsDesktop : [1199,4], itemsDesktopSmall : [979,2], itemsTablet : [768,1], itemsMobile : [479,1] }); $(".bottom-buttons .buttons#Next").click(function(){ owl3.trigger('owl.next'); }); $(".bottom-buttons .buttons#Prev").click(function(){ owl3.trigger('owl.prev'); }); var owl4 = $(".rooms-slider"); owl4.owlCarousel({ loop : true, pagination : false, items: 4, itemsDesktop : [1199,4], itemsDesktopSmall : [979,2], itemsTablet : [768,2], itemsMobile : [479,2] }); $(".bottom-buttons .buttons#Next").click(function(){ owl4.trigger('owl.next'); }); $(".bottom-buttons .buttons#Prev").click(function(){ owl4.trigger('owl.prev'); }); /*BX Carousel*/ $('#comment-slider').bxSlider({ mode: 'vertical', slideMargin: 0, minSlides : 2, pager : false, controls : false, preventDefaultSwipeY : true, auto : true, pause : 3000, autoHover : true }); /** * rezervasyon formu tarih alan **/ var d = new Date(), day = d.getDate(), month = d.getMonth(), year = d.getFullYear(); month = parseInt(month) + 1; $('.enterence input').datepicker({ todayBtn: true, language: "tr", autoclose: true, todayHighlight: true, startDate: '' + day + '.' + month + '.' + year + '' }); }); function tarihDegis() { var date = document.getElementById('enter').value; var day = date.split('.'); var cDay = parseInt(day[0]) + 1; date = "" + cDay + "." + day[1] + "." + day[2] + ""; $('.release input').datepicker({ language: "tr", autoclose: true, startDate: date }); $('.release input').focus(); } function animations() { var $ = jQuery; $('[data-appear-animation]').each(function() { var $this = $(this); $this.addClass('appear-animation'); if(!$('body').hasClass('no-csstransitions') && ($('body').width() + scrollWidth) > 767) { $this.appear(function() { var delay = ($this.attr('data-appear-animation-delay') ? $this.attr('data-appear-animation-delay') : 1); if(delay > 1) $this.css('animation-delay', delay + 'ms'); $this.addClass($this.attr('data-appear-animation')); setTimeout(function() { $this.addClass('appear-animation-visible'); }, delay); }, {accX: 0, accY: -150}); } else { $this.addClass('appear-animation-visible'); } }); /* Animation Progress Bars */ $('[data-appear-progress-animation]').each(function() { var $this = $(this); $this.appear(function() { var delay = ($this.attr('data-appear-animation-delay') ? $this.attr('data-appear-animation-delay') : 1); if(delay > 1) $this.css('animation-delay', delay + 'ms'); $this.find('.progress-bar').addClass($this.attr('data-appear-animation')); setTimeout(function() { $this.find('.progress-bar').animate({ width: $this.attr('data-appear-progress-animation') }, 500, 'easeInCirc', function() { $this.find('.progress-bar').animate({ textIndent: 10 }, 1500, 'easeOutBounce'); }); }, delay); }, {accX: 0, accY: -50}); }); }
💾 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