Files
backend/assets/static/js/custom.js
A'zamov Samandar 0229a0595c
Some checks failed
Deploy Django Application to Server / deploy (push) Failing after 19s
Telegram Notifications / Telegram Gate (push) Failing after 5s
gealogiuya
2026-02-27 14:56:23 +05:00

47 lines
964 B
JavaScript

// to get current year
function getYear() {
var currentDate = new Date();
var currentYear = currentDate.getFullYear();
document.querySelector("#displayYear").innerHTML = currentYear;
}
getYear();
// client section owl carousel
$(".client_owl-carousel").owlCarousel({
loop: true,
margin: 20,
dots: false,
nav: true,
navText: [],
autoplay: true,
autoplayHoverPause: true,
navText: [
'<i class="fa fa-angle-left" aria-hidden="true"></i>',
'<i class="fa fa-angle-right" aria-hidden="true"></i>'
],
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 2
}
}
});
/** google_map js **/
function myMap() {
var mapProp = {
center: new google.maps.LatLng(40.712775, -74.005973),
zoom: 18,
};
var map = new google.maps.Map(document.getElementById("googleMap"), mapProp);
}