update
This commit is contained in:
92
footer.php
92
footer.php
@@ -107,7 +107,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="https://x.com/home">
|
||||
<i class="fa-brands fa-x-twitter"></i>
|
||||
<i class="fa-brands fa-x-twitter"></i>
|
||||
</a>
|
||||
<li><a href="https://www.instagram.com/pathfinders_international_edu/">
|
||||
<i class="feather-instagram"></i>
|
||||
@@ -131,10 +131,11 @@
|
||||
|
||||
<div class="certification-logos">
|
||||
<img src="./assets/images/photos/usa-feature1.png" alt="Education Ministry">
|
||||
<img src="assets/images/certifications/ielts.png" alt="IELTS Partner">
|
||||
<img src="assets/images/certifications/pte.png" alt="PTE Partner">
|
||||
<img src="assets/images/certifications/british-council.png" alt="British Council">
|
||||
<img src="assets/images/certifications/iso.png" alt="ISO Certified">
|
||||
<img src="./assets/images/photos/usa-feature1.png" alt="Education Ministry">
|
||||
<img src="./assets/images/photos/usa-feature1.png" alt="Education Ministry">
|
||||
<img src="./assets/images/photos/usa-feature1.png" alt="Education Ministry">
|
||||
<img src="./assets/images/photos/usa-feature1.png" alt="Education Ministry">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -229,15 +230,15 @@
|
||||
<i class="feather-facebook"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="https://x.com/home" target="_blank"></a>
|
||||
<i class="fa-brands fa-x-twitter"></i>
|
||||
<li><a href="https://x.com/home" target="_blank">
|
||||
<i class="fa-brands fa-x-twitter"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="https://www.instagram.com/pathfinders_international_edu/" target="_blank"></a>>
|
||||
<li><a href="https://www.instagram.com/pathfinders_international_edu/" target="_blank">
|
||||
<i class="feather-instagram"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="#" target="_blank"></a>>
|
||||
<li><a href="#" target="_blank">
|
||||
<i class="feather-linkedin"></i>
|
||||
</a>
|
||||
</li>
|
||||
@@ -284,6 +285,79 @@
|
||||
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
// Initialize only **visible sliders**
|
||||
$('.tab.active-tab .uni-slider').slick({
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 1,
|
||||
arrows: true,
|
||||
prevArrow: $('.tab.active-tab .uni-prev'),
|
||||
nextArrow: $('.tab.active-tab .uni-next'),
|
||||
autoplay: true,
|
||||
autoplaySpeed: 2500,
|
||||
responsive: [{
|
||||
breakpoint: 992,
|
||||
settings: {
|
||||
slidesToShow: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 576,
|
||||
settings: {
|
||||
slidesToShow: 1
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
// On tab click
|
||||
$('.tab-btn').on('click', function() {
|
||||
// Remove active from tabs
|
||||
$('.tab-btn').removeClass('active-btn');
|
||||
$(this).addClass('active-btn');
|
||||
|
||||
// Hide all tabs
|
||||
$('.tab').removeClass('active-tab').hide();
|
||||
|
||||
// Show target tab
|
||||
var target = $(this).data('tab');
|
||||
$(target).addClass('active-tab').show();
|
||||
|
||||
// Initialize Slick if not already
|
||||
if (!$(target).find('.uni-slider').hasClass('slick-initialized')) {
|
||||
$(target).find('.uni-slider').slick({
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 1,
|
||||
arrows: true,
|
||||
prevArrow: $(target).find('.uni-prev'),
|
||||
nextArrow: $(target).find('.uni-next'),
|
||||
autoplay: true,
|
||||
autoplaySpeed: 2500,
|
||||
responsive: [{
|
||||
breakpoint: 992,
|
||||
settings: {
|
||||
slidesToShow: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 576,
|
||||
settings: {
|
||||
slidesToShow: 1
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
} else {
|
||||
// Refresh if already initialized
|
||||
$(target).find('.uni-slider').slick('refresh');
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- Fancybox JS -->
|
||||
|
||||
Reference in New Issue
Block a user