golden hour
/home4/theinves/public_html/seshaasschool.com
⬆️ Go Up
Upload
File/Folder
Size
Actions
.ftpquota
16 B
Del
OK
.htaccess
896 B
Del
OK
.well-known
-
Del
OK
academics.php
12.75 KB
Del
OK
admissions.php
15.67 KB
Del
OK
alumni.php
3.61 KB
Del
OK
assets
-
Del
OK
atal.php
9.1 KB
Del
OK
breadcrumb.php
517 B
Del
OK
campus-information.php
9.55 KB
Del
OK
carousel.php
4.43 KB
Del
OK
comment_section_1735880143.php
3.93 KB
Del
OK
curriculum_pedagogy.php
4.79 KB
Del
OK
dav-partnership.php
5.47 KB
Del
OK
demo.php
2.98 KB
Del
OK
error_log
1016.41 MB
Del
OK
events-view.php
2.76 KB
Del
OK
extracurricular-clubs.php
20.86 KB
Del
OK
faculty.php
6.46 KB
Del
OK
flash-news-view.php
3.26 KB
Del
OK
form.php
1.31 KB
Del
OK
gallery.php
4.96 KB
Del
OK
gallery_list.php
5.33 KB
Del
OK
header.php
16.02 KB
Del
OK
homework.php
5.52 KB
Del
OK
how-to-apply.php
11.11 KB
Del
OK
html
-
Del
OK
index1.php
11.21 KB
Del
OK
mandatory_disclosure.php
11.45 KB
Del
OK
nios.jpg
556.49 KB
Del
OK
nios.php
21.05 KB
Del
OK
registration.php
18.55 KB
Del
OK
robots.txt
75 B
Del
OK
schedule-a-tour.php
6.3 KB
Del
OK
sdg.php
10.73 KB
Del
OK
sports_fitness.php
8.39 KB
Del
OK
student_life.php
13.29 KB
Del
OK
student_welfare.php
3.2 KB
Del
OK
style.php
26 B
Del
OK
t3x.php
195.94 KB
Del
OK
test.php
35.27 KB
Del
OK
transfer-certificate.php
4.51 KB
Del
OK
uniform.jpg
264.77 KB
Del
OK
uploads
-
Del
OK
vision-mission.php
7.22 KB
Del
OK
Edit: test.php
<?php include 'header.php' ?> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet"> <style> .slider-item.banner-bg-1 { background-image: url(icons/banner/banner1.jpeg); } .slider-item.banner-bg-2 { background-image: url(icons/banner/banner2.jpeg); } .slider-item.banner-bg-3 { background-image: url(icons/banner/banner3.jpeg); } .banner-area .container-fluid { padding: 0; padding-left: 0px; max-width: 1720px; margin-right: 0; margin-left: auto; height:250px; } .ptb-100 { padding-top: 50px; padding-bottom: 50px; } .carousel-indicators { position: absolute; right: 0; bottom: 0; left: 0; z-index: 0; display: flex; justify-content: center; padding: 0; margin-right: 15%; margin-bottom: 1rem; margin-left: 15%; } </style> <div id="carouselExampleDark" class="carousel carousel-dark slide" data-bs-ride="carousel"> <div class="carousel-indicators"> <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button> <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="1" aria-label="Slide 2"></button> <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="2" aria-label="Slide 3"></button> <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="3" aria-label="Slide 4"></button> </div> <div class="carousel-inner"> <div class="carousel-item active" data-bs-interval="10000"> <img src="icons/banner/banner1.jpeg" class="d-block w-100" alt="..."> <div class="carousel-caption d-none d-md-block"> <!--<h5>First slide label</h5> <p>Some representative placeholder content for the first slide.</p>--> </div> </div> <div class="carousel-item" data-bs-interval="2000"> <img src="icons/banner/banner2.jpeg" class="d-block w-100" alt="..."> <div class="carousel-caption d-none d-md-block"> <!--<h5>Second slide label</h5> <p>Some representative placeholder content for the second slide.</p>--> </div> </div> <div class="carousel-item"> <img src="icons/banner/banner3.jpeg" class="d-block w-100" alt="..."> <div class="carousel-caption d-none d-md-block"> <!--<h5>Third slide label</h5> <p>Some representative placeholder content for the third slide.</p>--> </div> </div> <div class="carousel-item"> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdlFa8aN0bE047bjzOjP4xdFDaXlwI_dD_0BYchZj0yS6v7rQ/viewform"><img src="icons/banner/banner4.jpeg" class="d-block w-100" alt="..."></a> <div class="carousel-caption d-none d-md-block"> <!--<h5>Third slide label</h5> <p>Some representative placeholder content for the third slide.</p>--> </div> </div> </div> <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="visually-hidden">Previous</span> </button> <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="visually-hidden">Next</span> </button> </div> <?php if($flash_news_totalDatas>0){ ?> <div class="campus-safety-area bg-f4f6f9" style="padding-top: 1px;"> <div class="container"> <div class="section-title" style="max-width: 450px;text-align: center;margin: -9px auto 8px;position: relative;"> <h2 style="margin-top: 25px;margin-bottom: -2px;color: rgb(154 51 52);font-family: 'Work Sans', sans-serif !important;font-size: 30px;"><i class="fa fa-file-text"></i> Flash News</h2> </div> <div class="counter-area"> <div class="row"> <marquee direction="left" onmouseover="this.stop();" onmouseout="this.start();" > <div class="col-md-12" style="display:flex;"> <h1 style="color: black !important; font-weight: 700;font-size: 21px;"> <?php foreach($flash_news_results as $flash){ $flash_news_name = str_replace(" ", "-", $flash['title']); $flash_id = $flash['id']; if($flash['last_id']==$flash['id']){ $icons = ""; }else{ $icons = "||"; } ?> <a href="flash-news-view.php?code=<?=$flash_id?>&news=<?=$flash_news_name?>" style="color: black;"><?=$flash['title']?></a><img src="icons/new.gif" style="width: 70px;"> <?=$icons?> <?php } ?> </h1> </div> </marquee> </div> </div> </div> </div> <?php } ?> <div class="courses-area ptb-100"> <div class="container"> <!--<div class="section-title"> <h2>Free Courses</h2> <p>Lorem ipsum dolor sit amet consectetur adipiscing elit ut elit tellus luctus nec ullamcorper mattis</p> </div>--> <div class="row justify-content-center"> <div class="col-lg-4 col-md-6" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="600" data-aos-once="true"> <div class="single-courses-card"> <div class="courses-img"> <a href="#"><img src="icons/history.jpg" alt="Image" style="height: 250px;"></a> </div> <div class="courses-content"> <div class="admin-profile"> </div> <a href="#"> <h3> History</h3></a> <div class="bottom-content"> <ul class="d-flex justify-content-between"> <li> <p> Our 13 years of experience in educating students enables us to balance the current needs of the child and the future expectations of the parent.</p> </li> </ul> </div> </div> </div> </div> <div class="col-lg-4 col-md-6" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200" data-aos-once="true"> <div class="single-courses-card"> <div class="courses-img"> <a href="#"><img src="icons/vision.jpg" alt="Image" style="height: 250px;"></a> </div> <div class="courses-content"> <div class="admin-profile"> </div> <a href="#"><h3> Vision</h3></a> <div class="bottom-content"> Our vision is to empower students with universal values, knowledge and skills to lead as a socially responsible individual and to enliven the challenges in their lives. </div> </div> </div> </div> <div class="col-lg-4 col-md-6" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="400" data-aos-once="true"> <div class="single-courses-card"> <div class="courses-img"> <a href="#"><img src="icons/campus.jpg" alt="Image" style="height: 250px;"></a> </div> <div class="courses-content"> <div class="admin-profile"> </div> <a href="#"></a> <div class="bottom-content"> <ul class="d-flex justify-content-between"> <li> <h3> Campus </h3> <p> Nestled at the heart of the foothills of Yercaud, Beautified by the lush greenery, An epitome of Triumph: Seshaas, a beacon for the voyagers in the ocean knowledge. </p> </li> </ul> </div> </div> </div> </div> </div> <!--<div class="more-courses text-center"> <p>Select From Hundreds of Options <a href="#" class="read-more-btn active">More on Courses <i class="flaticon-next"></i></a></p> </div>--> </div> </div> <div id="carouselExampleControls" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <div class="campus-information-area pb-70"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-6" data-aos="fade-right" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-content pr-20"> <div class="campus-title"> <h2 style="margin-top: 25px; margin-bottom: -2px; color: rgb(154 51 52);font-family: 'Work Sans', sans-serif !important; font-size: 30px;"><i class="fa fa-newspaper"></i> Latest Events</h2> <h2 style="margin-top: 5%; font-size: 29px;">111) First Day of the Cute Litiuygjkhtle Butterflies</h2> <p> It was the first Day of the cute little butterflies in Seshaas. The new PP1 kids came to the school on 22.4.23 and started their voyage in the ocean of knowledge. They were welcomed in the premises by crowning them and giving sweets. They were engaged by PP2 kids to reach their classes. The kids enjoyed singing rhymes and other activities. Parents had orientation session about the practices being followed in PP1. The kids were so happy and enjoyed their first day in school.</p> </div> <a class="default-btn" href="events-view.php" > Read More </a> </div> </div> <div class="col-lg-6" data-aos="fade-up" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-image pl-20"> <div class="slider-container"> <div class="slider"> <img src="icons/vision.jpg" alt="Image 1" style="width: 100%; height: 350px;"> <img src="icons/campus.jpg" alt="Image 2" style="width: 100%; height: 350px;"> <img src="icons/homelogoseshaas.png" alt="Image 3" style="width: 100%; height: 350px;"> </div> <!--<button class="prev-slide"></button> <button class="next-slide"></button>--> </div> </div> </div> </div> </div> </div> </div> <div class="carousel-item"> <div class="campus-information-area pb-70"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-6" data-aos="fade-right" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-content pr-20"> <div class="campus-title"> <h2 style="margin-top: 25px; margin-bottom: -2px; color: rgb(154 51 52);font-family: 'Work Sans', sans-serif !important; font-size: 30px;"><i class="fa fa-newspaper"></i> Latest Events</h2> <h2 style="margin-top: 5%; font-size: 29px;">First Day of the Cute Little Butterflies uittiutuuyyuyut</h2> <p> It was the first Day of the cute little butterflies in Seshaas. The new PP1 kids came to the school on 22.4.23 and started their voyage in the ocean of knowledge. They were welcomed in the premises by crowning them and giving sweets. They were engaged by PP2 kids to reach their classes. The kids enjoyed singing rhymes and other activities. Parents had orientation session about the practices being followed in PP1. The kids were so happy and enjoyed their first day in school.</p> </div> <a class="default-btn" href="events-view.php" > Read More </a> </div> </div> <div class="col-lg-6" data-aos="fade-up" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-image pl-20"> <div class="slider-container"> <div class="slider"> <img src="icons/vision.jpg" alt="Image 1" style="width: 100%; height: 350px;"> <img src="icons/campus.jpg" alt="Image 2" style="width: 100%; height: 350px;"> <img src="icons/homelogoseshaas.png" alt="Image 3" style="width: 100%; height: 350px;"> </div> <!--<button class="prev-slide"></button> <button class="next-slide"></button>--> </div> </div> </div> </div> </div> </div> </div> <div class="carousel-item"> <div class="campus-information-area pb-70"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-6" data-aos="fade-right" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-content pr-20"> <div class="campus-title"> <h2 style="margin-top: 25px; margin-bottom: -2px; color: rgb(154 51 52);font-family: 'Work Sans', sans-serif !important; font-size: 30px;"><i class="fa fa-newspaper"></i> Latest Events</h2> <h2 style="margin-top: 5%; font-size: 29px;">kugugu First Day of the Cute Little Butterflies</h2> <p> It was the first Day of the cute little butterflies in Seshaas. The new PP1 kids came to the school on 22.4.23 and started their voyage in the ocean of knowledge. They were welcomed in the premises by crowning them and giving sweets. They were engaged by PP2 kids to reach their classes. The kids enjoyed singing rhymes and other activities. Parents had orientation session about the practices being followed in PP1. The kids were so happy and enjoyed their first day in school.</p> </div> <a class="default-btn" href="events-view.php" > Read More </a> </div> </div> <div class="col-lg-6" data-aos="fade-up" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-image pl-20"> <div class="slider-container"> <div class="slider"> <img src="icons/vision.jpg" alt="Image 1" style="width: 100%; height: 350px;"> <img src="icons/campus.jpg" alt="Image 2" style="width: 100%; height: 350px;"> <img src="icons/homelogoseshaas.png" alt="Image 3" style="width: 100%; height: 350px;"> </div> <!--<button class="prev-slide"></button> <button class="next-slide"></button>--> </div> </div> </div> </div> </div> </div> </div> </div> <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> <div class="campus-information-area pb-70"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-6" data-aos="fade-right" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-image pl-20"> <img src="icons/71254199-2024-04-23-7.jpeg" alt="Image"> </div> </div> <div class="col-lg-6" data-aos="fade-up" data-aos-easing="ease-in-sine" data-aos-duration="1300" data-aos-once="true"> <div class="campus-content pr-20"> <div class="campus-title"> <h2>Why Seshaas?</h2> <p>We provide a comprehensive learning environment loaded with opportunities to guide our children through their developmental journey leading them towards success. We aim to nurture your child into a good human being in our society.</p> </div> <div class="counter"> <div class="row"> <div class="col-lg-4 col-4"> <div class="counter-card"> <!--<h1> <span class="odometer" data-count="65">00</span> <span class="target">+</span> </h1>--> <!--<p>Years Of Experience</p>--> </div> </div> <!--<div class="col-lg-4 col-4"> <div class="counter-card"> <h1> <span class="odometer" data-count="30">00</span> <span class="target heading-color">k</span><span class="target">+</span> </h1> <p>Global Students</p> </div> </div>--> <!--<div class="col-lg-4 col-4"> <div class="counter-card"> <h1> <span class="odometer" data-count="52">00</span> <span class="target">+</span> </h1> <p>Student Nationalities</p> </div> </div>--> </div> </div> </div> </div> </div> </div> </div> <div class="campus-life-area ptb-100" style="background-color: #f4f6f9;"> <div class="container"> <div class="section-title"> <!--<h2>Campus Safety</h2> <p>Lorem ipsum dolor sit amet consectetur adipiscing elit ut elit tellus luctus nec ullamcorper mattis </p>--> </div> <div class="counter-area"> <div class="row"> <div class="col-md-4" style="text-align:center;" > <div class="col"> <div class="counter-card"> <h1> <span class="odometer" data-count="120">00</span> <span class="target">+</span> </h1> <p>Students</p> <p>2010</p> </div> </div> </div> <div class="col-md-4" style="text-align:center;" > <div class="col"> <div class="counter-card"> <h1> <span class="odometer" data-count="13">00</span> <span class="target">+</span> </h1> <p>13 years</p> <p>Expertise in Education</p> </div> </div> </div> <div class="col-md-4" style="text-align:center;" > <div class="col"> <div class="counter-card"> <h1> <span class="odometer" data-count="1700">00</span> <span class="target heading-color"></span> <span class="target">+</span> </h1> <p>Students</p> <p>2023</p> </div> </div> </div> </div> </div> </div> </div> <div class="academic-area pt-100 pb-70" style="margin-top: -94px;"> <div class="container"> <div class="section-title"> <h2 style="margin-top: 71px;">How to Apply</h2> </div> <div class="row justify-content-center"> <div class="col-lg-4 col-md-6" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200" data-aos-once="true"> <div class="single-academics-card"> <div class="academic-top-content"> <i class="flaticon-college-graduation"></i> <a href="#"><h3>You apply</h3></a> </div> <p>Tell us a little about your child and we’ll invite you to our campus for an aptitude test appropriate for your child’s age on a pre-determined date.</p> </div> </div> <div class="col-lg-4 col-md-6" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="400" data-aos-once="true"> <div class="single-academics-card"> <div class="academic-top-content"> <i class="flaticon-graduation"></i> <a href="#"><h3>We Connect</h3></a> </div> <p>After your child completes the test and/or interview we declare your child’s results along with feedback and next steps.</p> </div> </div> <div class="col-lg-4 col-md-6" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="600" data-aos-once="true"> <div class="single-academics-card"> <div class="academic-top-content"> <i class="flaticon-writing-tool"></i> <a href="#"><h3>You Get Ready</h3></a> </div> <p style="font-size: 14px;">Once you’ve paid the school fees and have received the receipt from our admissions representative, your child’s admission into our institution is confirmed.</p> </div> </div> </div> </div> </div> <div class="podcasts-area pt-100 pb-70" style="margin-top:-72px"> <div class="container"> <div class="row"> <div class="col-lg-8"> <div class="section-title style2"> <h2>Academic Overview</h2> <p style="text-align: justify;">Seshaas School is committed to providing a holistic educational experience that nurtures intellectual growth, fosters character development, and encourages lifelong learning. Our curriculum is designed to cultivate critical thinking, creativity, and collaboration skills essential for success in the 21st century. </p> </div> <div class="single-podcasts-card" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200" data-aos-once="true"> <div class="row align-items-center"> <div class="col-lg-5 col-md-5"> <div class="podcasts-image"> <img src="icons/our_academics.jpeg" alt="Image"> </div> </div> <div class="col-lg-7 col-md-7"> <div class="podcast-content"> <span style="font-size: 24px;font-weight: 600;">Awards</span> <h3>Our students achieved in sports</h3> <p>At Seshaas School, we recognize the importance of sports and physical activity in promoting overall health and well-being</p> <!--<div class="play-icon"> <a class="popup-youtube play-btn" href="https://www.youtube.com/watch?v=6WQCJx_vEX4"><i class="ri-play-fill"></i><span>play Episode</span></a> </div>--> </div> </div> </div> </div> <div class="single-podcasts-card" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="400" data-aos-once="true"> <div class="row align-items-center"> <div class="col-lg-5 col-md-5"> <div class="podcasts-image"> <img src="icons/our_academics2.jpg" alt="Image"> </div> </div> <div class="col-lg-7 col-md-7"> <div class="podcast-content"> <span style="font-size: 24px;font-weight: 600;" >Lecture</span> <h3>Smart Class</h3> <p>Our smart class technology initiatives are designed to leverage digital tools and resources to transform traditional classrooms into innovative hubs of learning.</p> <!--<div class="play-icon"> <a class="popup-youtube play-btn" href="https://www.youtube.com/watch?v=6WQCJx_vEX4"><i class="ri-play-fill"></i><span>play Episode</span></a> </div>--> </div> </div> </div> </div> <div class="single-podcasts-card" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="600" data-aos-once="true"> <div class="row align-items-center"> <div class="col-lg-5 col-md-5"> <div class="podcasts-image"> <img src="icons/our_academics3.jpeg" alt="Image"> </div> </div> <div class="col-lg-7 col-md-7"> <div class="podcast-content"> <span style="font-size: 24px;font-weight: 600;" >Achievements</span> <h3>Our students in china</h3> <p>At Seshaas School, we take pride in celebrating the achievements of our students, faculty, and school community. Our commitment to excellence is reflected in the numerous accomplishments and accolades earned by individuals and teams across academic</p> <!--<div class="play-icon"> <a class="popup-youtube play-btn" href="https://www.youtube.com/watch?v=6WQCJx_vEX4"><i class="ri-play-fill"></i><span>play Episode</span></a> </div>--> </div> </div> </div> </div> </div> <div class="col-lg-4"> <div class="categories"> <h3>Student Life at Seshaas</h3> <ul> <li><a href="#"><i class="flaticon-briefcase"></i>Sports & Fitness</a></li> <li><a href="#"><i class="flaticon-fashion"></i>Extracurriculum Activities</a></li> <li><a href="#"><i class="flaticon-writing-tool"></i>Student Welfare</a></li> <li><a href="#"><i class="flaticon-web-development"></i>SDG</a></li> <li><a href="#"><i class="flaticon-audio-speaker"></i>Parents Testimony</a></li> </ul> </div> <div class="subscribe-area"> <div class="top-content"> <i class="flaticon-email"></i> <h3>Admission Form</h3> <!--<p>Get updates to news & events</p>--> </div> <form class="newsletter-form" data-toggle="validator"> <!--<input type="email" class="form-control" placeholder="Your Email" name="EMAIL" required autocomplete="off">--> <a class="default-btn" type="submit" href="registration.php" > Click here </a> <div id="validator-newsletter" class="form-result"></div> </form> </div> </div> </div> </div> </div> <?php include 'footer.php' ?> <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> --> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" /> --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script> <script> $(document).ready(function() { var galleryContent = $('#gallery_sections').text(); if (galleryContent.trim() === '') { $("#loading-div").show(); } else { $("#loading-div").hide(); } $.ajax({ type: 'POST', url: 'dashboard/ui-api/flash-news-fms.php', success: function(response) { console.log(response); $("#loading-div").hide(); $('#gallery_sections').append(response); } }); }); </script> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> <style> .w-100 { width: 100% !important; height: 350px; } </style> <style> .slider-container { position: relative; max-width: 100%; overflow: hidden; } .slider { display: flex; transition: transform 0.5s ease-in-out; } .slider img { width: 100%; height: auto; } .prev-slide, .next-slide { /*position: absolute; top: 50%; transform: translateY(-50%); padding: 10px; font-size: 24px; background-color: rgba(0, 0, 0, 0.5); color: white; border: none; cursor: pointer;*/ } .prev-slide { /*left: 10px;*/ } .next-slide { /*right: 10px;*/ } </style> <script> document.addEventListener('DOMContentLoaded', function() { const slider = document.querySelector('.slider'); /*const prevBtn = document.querySelector('.prev-slide'); const nextBtn = document.querySelector('.next-slide');*/ let slidePosition = 0; const slideWidth = slider.clientWidth; const slides = document.querySelectorAll('.slider img'); const totalSlides = slides.length; let slideIndex = 0; const slideInterval = 3000; // Interval in milliseconds (3 seconds) // Function to move to the next slide function nextSlide() { slideIndex++; if (slideIndex >= totalSlides) { slideIndex = 0; } slidePosition = -slideIndex * slideWidth; slider.style.transform = `translateX(${slidePosition}px)`; } // Function to move to the previous slide function prevSlide() { slideIndex--; if (slideIndex < 0) { slideIndex = totalSlides - 1; } slidePosition = -slideIndex * slideWidth; slider.style.transform = `translateX(${slidePosition}px)`; } // Automatic slideshow function function startSlideShow() { setInterval(nextSlide, slideInterval); } // Event listeners for manual navigation /*nextBtn.addEventListener('click', nextSlide); prevBtn.addEventListener('click', prevSlide);*/ // Start the automatic slideshow startSlideShow(); }); </script>
Save