OwlCyberSecurity - MANAGER
Edit File: custom.js
// to get current year function getYear() { var currentDate = new Date(); var currentYear = currentDate.getFullYear(); document.querySelector("#displayYear").innerHTML = currentYear; } getYear(); // owl carousel slider js var owl = $('.portfolio_carousel').owlCarousel({ loop: false, margin: 15, dots: false, center: false, autoplay: true, navText: [ '<i class="fa fa-arrow-left" aria-hidden="true"></i>', '<i class="fa fa-arrow-right" aria-hidden="true"></i>' ], autoplayHoverPause: true, responsive: { 0: { center: false, items: 1, margin: 0 }, 576: { items: 2 }, 991: { center: true, items: 3 } } }) // owl.owlcarousel2_filter $('.owl-filter-bar').on('click', '.item', function (e) { var $items = $('.owl-filter-bar a') var $item = $(this); var filter = $item.data('owl-filter') $items.removeClass("active"); $item.addClass("active"); owl.owlcarousel2_filter(filter); e.preventDefault(); }) /** google_map js **/ function myMap() { var mapProp = { center: new google.maps.LatLng(36.713388506571135, 5.054871593253692), zoom: 18, }; var map = new google.maps.Map(document.getElementById("googleMap"), mapProp); } // nice select $(document).ready(function () { $('select').niceSelect(); }); function scrollToSection(sectionId) { const section = document.getElementById(sectionId); if (section) { section.scrollIntoView({ behavior: 'smooth' }); } } $(document).ready(function() { $('#email').click(function() { alert('Veuillez nous envoyer un email directement a : CONTACT@BOISILIA.COM'); }); });