Commit 4c0c81d7 by shailesh bind

changes

1 parent fdb19f88
{
"permissions": {
"allow": [
"Bash(file /var/www/html/lake-estate/images/logo*)",
"Bash(command -v convert)",
"Bash(command -v magick)",
"Bash(command -v ffmpeg)",
"Bash(command -v python3)",
"Bash(python3 *)",
"Bash(file /var/www/html/lake-estate/images/ame/*.webp)",
"Read(//home/rl-dev12/Downloads/**)"
]
}
}
No preview for this file type
No preview for this file type
......@@ -5,39 +5,39 @@
<!-- Google Tag Manager -->
<script>
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-KHTTLK7K');
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-KHTTLK7K');
</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager -->
<script>
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-WL74MW6F');
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-WL74MW6F');
</script>
<!-- End Google Tag Manager -->
......@@ -48,8 +48,11 @@
<meta name="description"
content="Explore premium 4 BHK villas in Yelahanka &amp; Devanahalli. Gated community luxury villas in North Bangalore with modern amenities. Book your villa today.">
<meta name="keywords"
content="luxury villas in Yelahanka, 4 BHK villas in North Bangalore, villas in Devanahalli, gated community villas in Bangalore, villa projects in Yelahanka, premium villas for sale in Bangalore, independent houses near Yelahanka, villas in Devanahalli for sale, new villa projects Bangalore">
<link rel="icon" href="images/favicon.png" type="image/png" sizes="16x16">
content="luxury villas in Yelahanka, 4 BHK villas in North Bangalore, villas in Devanahalli, gated community villas in Bangalore, villa projects in Yelahanka, premium villas for sale in Bangalore, independent houses near Yelahanka, villas in Devanahalli for sale, new villa projects Bangalore,Velociti Bangalore, velociti real estate">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png">
<!-- Bootstrap CSS -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,800,900" rel="stylesheet">
<!-- Latest compiled and minified bootstrap CSS -->
......@@ -219,7 +222,8 @@
<div class="input-group-addon">
<i class="fa fa-mobile form-ico" aria-hidden="true"></i>
</div>
<input type="number" class="form-control" name="mobile" placeholder="Mobile">
<input type="text" class="form-control" name="mobile" inputmode="numeric" maxlength="10"
placeholder="Mobile">
</div>
<label for="mobile" generated="true" id="mob-error" class="error"></label>
</div>
......@@ -331,7 +335,8 @@
<div class="input-group-addon">
<i class="fa fa-mobile form-ico" aria-hidden="true"></i>
</div>
<input type="number" class="form-control" name="mobile" placeholder="Mobile">
<input type="text" class="form-control" name="mobile" inputmode="numeric"
maxlength="10" placeholder="Mobile">
</div>
<label for="mobile" generated="true" id="mob-error" class="error"></label>
</div>
......@@ -1040,16 +1045,16 @@
viewBox="0 0 24 24">
<defs>
<style>
.cls-1,
.cls-2 {
fill: none;
}
.cls-2 {
stroke: #778673;
stroke-miterlimit: 10;
stroke-width: 0.5px;
}
.cls-1,
.cls-2 {
fill: none;
}
.cls-2 {
stroke: #778673;
stroke-miterlimit: 10;
stroke-width: 0.5px;
}
</style>
</defs>
<g id="Layer_2" data-name="Layer 2">
......@@ -1072,20 +1077,20 @@
viewBox="0 0 24 24">
<defs>
<style>
.cls-1,
.cls-2 {
fill: none;
}
.cls-2 {
stroke: #778673;
stroke-miterlimit: 10;
stroke-width: 0.5px;
}
.cls-3 {
fill: #778673;
}
.cls-1,
.cls-2 {
fill: none;
}
.cls-2 {
stroke: #778673;
stroke-miterlimit: 10;
stroke-width: 0.5px;
}
.cls-3 {
fill: #778673;
}
</style>
</defs>
<g id="Layer_2" data-name="Layer 2">
......@@ -1324,7 +1329,9 @@
<div class="col-md-12">
<p class="text-center aboutText" style="color:#fff;">Velociti is among the trusted villa builders
Velociti is a forward-thinking construction and development company committed to reshaping Bengaluru's skyline. From groundbreaking construction ventures to 360 degree real estate solutions, we're dedicated to creating spaces that elevate living.
Velociti is a forward-thinking construction and development company committed to reshaping
Bengaluru's skyline. From groundbreaking construction ventures to 360 degree real estate
solutions, we're dedicated to creating spaces that elevate living.
</p>
</div>
......@@ -1453,8 +1460,8 @@
<div class="form-group">
<span class="input-icon"><i class="fa fa-mobile"
style="color:#2E3A2B"></i></span>
<input type="number" class="form-control" name="mobile"
placeholder="Mobile">
<input type="text" class="form-control" name="mobile"
inputmode="numeric" maxlength="10" placeholder="Mobile">
<input type="text" id="website" name="website" />
......@@ -1628,8 +1635,8 @@
<div class="form-group">
<span class="input-icon"><i class="fa fa-mobile"
style="color:#2E3A2B"></i></span>
<input type="number" class="form-control" name="mobile"
placeholder="Mobile">
<input type="text" class="form-control" name="mobile"
inputmode="numeric" maxlength="10" placeholder="Mobile">
<input type="text" id="website" name="website" />
......@@ -1732,8 +1739,8 @@
<div class="form-group">
<span class="input-icon"><i class="fa fa-mobile"
style="color:#2E3A2B"></i></span>
<input type="number" class="form-control" name="mobile"
placeholder="Mobile">
<input type="text" class="form-control" name="mobile"
inputmode="numeric" maxlength="10" placeholder="Mobile">
<input type="text" id="website" name="website" />
......@@ -1842,8 +1849,8 @@
<div class="form-group">
<span class="input-icon"><i class="fa fa-mobile"
style="color: #2E3A2B;"></i></span>
<input type="number" class="form-control" name="mobile"
placeholder="Mobile">
<input type="text" class="form-control" name="mobile"
inputmode="numeric" maxlength="10" placeholder="Mobile">
<input type="text" id="website" name="website" />
......@@ -1931,8 +1938,8 @@
<div class="form-group">
<span class="input-icon"><i class="fa fa-mobile"
style="color: #2E3A2B;"></i></span>
<input type="number" class="form-control" name="mobile"
placeholder="Mobile">
<input type="text" class="form-control" name="mobile"
inputmode="numeric" maxlength="10" placeholder="Mobile">
<input type="text" id="website" name="website" />
......@@ -2030,8 +2037,8 @@
<div class="form-group">
<span class="input-icon"><i class="fa fa-mobile"
style="color: #2E3A2B"></i></span>
<input type="number" class="form-control" name="mobile"
placeholder="Mobile">
<input type="text" class="form-control" name="mobile"
inputmode="numeric" maxlength="10" placeholder="Mobile">
<input type="text" id="website" name="website" />
......@@ -2222,477 +2229,490 @@
<script src='js/facebook-conversion.js'></script>
<script>
AOS.init({
//easing: 'ease-in-out-sine'
easing: 'ease-out-back'
});
AOS.init({
//easing: 'ease-in-out-sine'
easing: 'ease-out-back'
});
</script>
<script>
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll >= 75) {
$("#hide-menu").addClass("fixHeader");
} else {
$("#hide-menu").removeClass("fixHeader");
}
});
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll >= 75) {
$("#hide-menu").addClass("fixHeader");
} else {
$("#hide-menu").removeClass("fixHeader");
}
});
</script>
<script>
$('.open-menu').click(function() {
document.getElementById("myNav").style.width = "100%";
});
$('.open-menu').click(function() {
document.getElementById("myNav").style.width = "100%";
});
$('.close-menu').click(function() {
document.getElementById("myNav").style.width = "0%";
});
$('.close-menu').click(function() {
document.getElementById("myNav").style.width = "0%";
});
</script>
<script type="text/javascript">
$(document).ready(function() {
Delete_Cookie('formfilled');
// ---------------for model only-----
$(".price-click").click(function() {
$('#price-model').modal('show');
});
$(document).ready(function() {
Delete_Cookie('formfilled');
// ---------------for model only-----
$(".price-click").click(function() {
$('#price-model').modal('show');
});
$(".interested").click(function() {
$('#interested').modal('show');
});
$(".i-am").click(function() {
$('#interested').modal('show');
});
$(".interested").click(function() {
$('#interested').modal('show');
});
$(".i-am").click(function() {
$('#interested').modal('show');
});
$(".download1").click(function() {
$('#download1').modal('show');
});
$(".download1").click(function() {
$('#download1').modal('show');
});
$(".floor-click").click(function() {
$('#floor-modal').modal('show');
});
$(".disc-click").click(function() {
$('#disclaimer-model').modal('show');
});
$(".disc-click2").click(function() {
$('#policy-model').modal('show');
});
$(".floor-click").click(function() {
$('#floor-modal').modal('show');
});
$(".disc-click").click(function() {
$('#disclaimer-model').modal('show');
});
$(".disc-click2").click(function() {
$('#policy-model').modal('show');
});
$(".callme").click(function() {
! function(px) {
function e(t, e, c) {
var n = "",
r = "";
try {
"" != (n = function(t, e) {
try {
var c = {};
e.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(t, e, n) {
c[e] = n
});
return c.hasOwnProperty(t) ? c[t] : ""
} catch (t) {
return ""
}
}(t, c)) ? function(t, e, c) {
try {
var n, r;
c ? ((n = new Date).setTime(n.getTime() + 864e5), r = "; expires=" + n
.toGMTString()) : r = "", document.cookie = t + "=" + e + r +
";Path=/"
} catch (t) {}
}(e, n, 1) : n = function(t) {
try {
var e = document.cookie.match(new RegExp("(^| )" + t + "=([^;]+)"));
if (e) return e[2]
} catch (t) {}
return null
}(e), r = "" != n && null != n ? "&" + t + "=" + n : "&" + t + "="
} catch (t) {}
return r
}
var c = "",
n = "",
$(".callme").click(function() {
! function(px) {
function e(t, e, c) {
var n = "",
r = "";
try {
n = e("ad", "acf", c = window.location.href), r = e("col_ci", "col_ci", c)
} catch (t) {
console.log(t)
}
var a = "https://ade.clmbtech.com/cde/eventTracking.htm?pixelId=" + px + "&_w=1&_t=2" +
n + r + "&rd=" + (new Date).getTime();
(new Image).src = a
}('15488');
});
"" != (n = function(t, e) {
try {
var c = {};
e.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(t, e, n) {
c[e] = n
});
return c.hasOwnProperty(t) ? c[t] : ""
} catch (t) {
return ""
}
}(t, c)) ? function(t, e, c) {
try {
var n, r;
c ? ((n = new Date).setTime(n.getTime() + 864e5), r = "; expires=" + n
.toGMTString()) : r = "", document.cookie = t + "=" + e + r +
";Path=/"
} catch (t) {}
}(e, n, 1) : n = function(t) {
try {
var e = document.cookie.match(new RegExp("(^| )" + t + "=([^;]+)"));
if (e) return e[2]
} catch (t) {}
return null
}(e), r = "" != n && null != n ? "&" + t + "=" + n : "&" + t + "="
} catch (t) {}
return r
}
var c = "",
n = "",
r = "";
try {
n = e("ad", "acf", c = window.location.href), r = e("col_ci", "col_ci", c)
} catch (t) {
console.log(t)
}
var a = "https://ade.clmbtech.com/cde/eventTracking.htm?pixelId=" + px + "&_w=1&_t=2" +
n + r + "&rd=" + (new Date).getTime();
(new Image).src = a
}('15488');
});
});
});
</script>
<noscript><img height='1' width='1' style='display:none'
src='https://ade.clmbtech.com/cde/eventTracking.htm?pixelId=15488&_w=1&_t=2' /></noscript>
<script>
jQuery(document).ready(function($) {
// Add smooth scrolling to all links
$(".m-link").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function() {
// Add hash (#) to URL when done scrolling (default click behavior)
// window.location.hash = hash;
});
} // End if
});
jQuery(document).ready(function($) {
// Add smooth scrolling to all links
$(".m-link").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function() {
// Add hash (#) to URL when done scrolling (default click behavior)
// window.location.hash = hash;
});
} // End if
});
});
</script>
<script>
$(document).ready(function() {
jQuery('.amenities-carousel').owlCarousel({
stagePadding: 0,
loop: true,
nav: true,
margin: 40,
autoplay: true,
autoplayTimeout: 4000,
autoplayHoverPause: false,
dots: false,
items: 3,
responsive: {
0: {
items: 2
},
576: {
items: 1
},
1000: {
items: 4
}
$(document).ready(function() {
jQuery('.amenities-carousel').owlCarousel({
stagePadding: 0,
loop: true,
nav: true,
margin: 40,
autoplay: true,
autoplayTimeout: 4000,
autoplayHoverPause: false,
dots: false,
items: 3,
responsive: {
0: {
items: 2
},
576: {
items: 1
},
1000: {
items: 4
}
});
}
});
jQuery('.amenities-slider').owlCarousel({
stagePadding: 0,
loop: true,
nav: true,
margin: 40,
autoplay: true,
autoplayTimeout: 3000,
autoplayHoverPause: false,
dots: false,
navText: ["", ""],
items: 3,
responsive: {
0: {
items: 1
},
576: {
items: 2
},
1000: {
items: 3
}
jQuery('.amenities-slider').owlCarousel({
stagePadding: 0,
loop: true,
nav: true,
margin: 40,
autoplay: true,
autoplayTimeout: 3000,
autoplayHoverPause: false,
dots: false,
navText: ["", ""],
items: 3,
responsive: {
0: {
items: 1
},
576: {
items: 2
},
1000: {
items: 3
}
});
}
});
jQuery('#team-carousel').owlCarousel({
stagePadding: 0,
loop: true,
nav: true,
margin: 40,
autoplay: true,
autoplayTimeout: 5000,
autoplayHoverPause: false,
dots: false,
navText: ["<", ">"],
items: 3,
responsive: {
0: {
items: 1
},
576: {
items: 2
},
1000: {
items: 4
}
jQuery('#team-carousel').owlCarousel({
stagePadding: 0,
loop: true,
nav: true,
margin: 40,
autoplay: true,
autoplayTimeout: 5000,
autoplayHoverPause: false,
dots: false,
navText: ["<", ">"],
items: 3,
responsive: {
0: {
items: 1
},
576: {
items: 2
},
1000: {
items: 4
}
});
}
});
});
});
</script>
<script>
jQuery(document).ready(function($) {
$('[data-fancybox="locmap"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="general"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="interior"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="floorplan"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="ame"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="cu"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
jQuery(document).ready(function($) {
$('[data-fancybox="locmap"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="general"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="interior"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="floorplan"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="ame"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
$('[data-fancybox="cu"]').fancybox({
//slide effect- zoom-in-out
transitionEffect: "slide",
loop: false,
buttons: [
//'slideShow',
//'share',
'zoom',
'fullScreen',
'close'
//'download'
],
thumbs: {
autoStart: false
}
});
});
</script>
<script type="text/javascript">
function save_landing_pageinfo(elm) {
var dupCookie = (document.cookie.match(/(^|;\s*)checkduplicate=([^;]+)/) || [])[2];
if (dupCookie) {
dupCookie = decodeURIComponent(dupCookie);
}
var rawMobile = jQuery('#' + elm + ' input[name="mobile"]').val() || '';
var normalizedMobile = rawMobile.replace(/[^0-9]/g, '');
if (dupCookie && normalizedMobile && dupCookie === normalizedMobile) {
jQuery('#' + elm + ' input[type=submit], #' + elm + ' button').prop('disabled', false);
jQuery('#pageloader').fadeOut();
jQuery('.modal.in').not('#duplicate-lead-modal').modal('hide');
jQuery('#duplicate-lead-modal').modal('show');
return false;
jQuery(function($) {
$(document).on('keypress', 'input[name="mobile"]', function(e) {
var ch = String.fromCharCode(e.which);
if (e.which < 32) return;
if (!/[0-9]/.test(ch)) {
e.preventDefault();
}
});
$(document).on('input paste', 'input[name="mobile"]', function() {
this.value = this.value.replace(/[^0-9]/g, '').slice(0, 10);
});
});
function save_landing_pageinfo(elm) {
var dupCookie = (document.cookie.match(/(^|;\s*)checkduplicate=([^;]+)/) || [])[2];
if (dupCookie) {
dupCookie = decodeURIComponent(dupCookie);
}
var rawMobile = jQuery('#' + elm + ' input[name="mobile"]').val() || '';
var normalizedMobile = rawMobile.replace(/[^0-9]/g, '');
if (dupCookie && normalizedMobile && dupCookie === normalizedMobile) {
jQuery('#' + elm + ' input[type=submit], #' + elm + ' button').prop('disabled', false);
jQuery('#pageloader').fadeOut();
jQuery('.modal.in').not('#duplicate-lead-modal').modal('hide');
jQuery('#duplicate-lead-modal').modal('show');
return false;
}
jQuery('#' + elm + ' input[type=submit], #' + elm + ' button').prop('disabled', true);
setTimeout(function() {
jQuery('#' + elm + ' input[type=submit], #' + elm + ' button').prop('disabled', false);
}, 5000);
var name = jQuery('#' + elm + ' input[name="fname"]').val();
var mobileno = jQuery('#' + elm + ' input[name="mobile"]').val();
var emailid = jQuery('#' + elm + ' input[name="email"]').val();
var unit = jQuery('#' + elm + ' select[name="unit_type"] option:selected').val();
var message = jQuery('#' + elm + ' textarea[name="message"]').val();
var fsource = jQuery('#' + elm + ' input[name="source"]').val();
var gcaptha = jQuery('#' + elm + ' textarea[name="g-recaptcha-response"]').val();
var mob_error = jQuery('#mob-error').html();
if (mob_error != '') {
jQuery('#' + elm + ' input[type=submit], #' + elm + ' button').prop('disabled', true);
setTimeout(function() {
jQuery('#' + elm + ' input[type=submit], #' + elm + ' button').prop('disabled', false);
}, 5000);
var name = jQuery('#' + elm + ' input[name="fname"]').val();
var mobileno = jQuery('#' + elm + ' input[name="mobile"]').val();
var emailid = jQuery('#' + elm + ' input[name="email"]').val();
var unit = jQuery('#' + elm + ' select[name="unit_type"] option:selected').val();
var message = jQuery('#' + elm + ' textarea[name="message"]').val();
var fsource = jQuery('#' + elm + ' input[name="source"]').val();
var gcaptha = jQuery('#' + elm + ' textarea[name="g-recaptcha-response"]').val();
var mob_error = jQuery('#mob-error').html();
if (mob_error != '') {
jQuery('#' + elm + ' input[type=submit], #' + elm + ' button').prop('disabled', true);
return false;
}
// var captxt = "You can't leave Captcha Code empty";
// if (gcaptha == "" || gcaptha == null) {
return false;
}
// var captxt = "You can't leave Captcha Code empty";
// if (gcaptha == "" || gcaptha == null) {
// $('.captcha').text(captxt);
// return false;
// }
// $('.captcha').text(captxt);
// return false;
// }
// Set_Cookie('gcapchta', gcaptha);
// Set_Cookie('gcapchta', gcaptha);
var current_url = location.hostname;
var current_url = location.hostname;
if (name == "") {
//alert("Please Enter Your Name");
return false;
}
if (name == "") {
//alert("Please Enter Your Name");
return false;
}
if (unit == "") {
//alert("Please Enter Your Name");
return false;
}
if (unit == "") {
//alert("Please Enter Your Name");
return false;
}
mobileno = mobileno.replace(/[^0-9]/g, '');
if (mobileno.length != 10) {
//alert("Please Enter 10 Digit Mobile Number");
return false;
}
mobileno = mobileno.replace(/[^0-9]/g, '');
if (mobileno.length != 10) {
//alert("Please Enter 10 Digit Mobile Number");
return false;
}
if (message == undefined) {
message = "";
}
if (message == undefined) {
message = "";
}
if (elm == 'download-brochure') {
document.getElementById('layoutpdf1').click();
}
if (elm == 'download-brochure') {
document.getElementById('layoutpdf1').click();
}
if (name != "" && mobileno != "" && emailid != "" && unit != "") {
$("#pageloader").fadeIn();
if (name != "" && mobileno != "" && emailid != "" && unit != "") {
$("#pageloader").fadeIn();
return true;
}
return false;
return true;
}
return false;
}
function submitForm(elm) {
document.createElement('form').submit.call(document.getElementById(elm));
}
function submitForm(elm) {
document.createElement('form').submit.call(document.getElementById(elm));
}
</script>
<script>
document.addEventListener("DOMContentLoaded", () => {
const counters = document.querySelectorAll(".stats-number");
const startCounting = (counter) => {
const target = +counter.getAttribute("data-target");
const duration = 2000; // Duration in milliseconds (2 seconds)
const steps = 60; // Number of steps (updates)
const increment = Math.ceil(target / steps);
const interval = duration / steps; // Time per step
let current = 0;
const originalText = counter.textContent.replace(/[0-9]/g, "").trim(); // Extract symbols like +
const updateCounter = () => {
if (current < target) {
current += increment;
if (current > target) {
current = target;
}
counter.textContent = current + originalText;
setTimeout(updateCounter, interval);
} else {
counter.textContent = target + originalText;
document.addEventListener("DOMContentLoaded", () => {
const counters = document.querySelectorAll(".stats-number");
const startCounting = (counter) => {
const target = +counter.getAttribute("data-target");
const duration = 2000; // Duration in milliseconds (2 seconds)
const steps = 60; // Number of steps (updates)
const increment = Math.ceil(target / steps);
const interval = duration / steps; // Time per step
let current = 0;
const originalText = counter.textContent.replace(/[0-9]/g, "").trim(); // Extract symbols like +
const updateCounter = () => {
if (current < target) {
current += increment;
if (current > target) {
current = target;
}
};
updateCounter();
counter.textContent = current + originalText;
setTimeout(updateCounter, interval);
} else {
counter.textContent = target + originalText;
}
};
// Create an Intersection Observer
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
const counter = entry.target;
startCounting(counter);
observer.unobserve(counter); // Stop observing once counting starts
}
});
}, {
threshold: 0.5 // Trigger when 50% of the element is in view
});
updateCounter();
};
// Observe each counter
counters.forEach(counter => {
observer.observe(counter);
// Create an Intersection Observer
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
const counter = entry.target;
startCounting(counter);
observer.unobserve(counter); // Stop observing once counting starts
}
});
}, {
threshold: 0.5 // Trigger when 50% of the element is in view
});
// Observe each counter
counters.forEach(counter => {
observer.observe(counter);
});
});
</script>
<script>
document.querySelector('.navbar-brand').addEventListener('click', function(event) {
event.preventDefault(); // Prevent the default anchor behavior
document.querySelector('#home').scrollIntoView({
behavior: 'smooth'
});
document.querySelector('.navbar-brand').addEventListener('click', function(event) {
event.preventDefault(); // Prevent the default anchor behavior
document.querySelector('#home').scrollIntoView({
behavior: 'smooth'
});
});
</script>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!