Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 81 additions & 2 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added img/p1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/p2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/p3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/p4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 74 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,68 @@ <h4>Arts</h4>
</div>
</section>
<!-- /.services -->


<!----------------------------------------------------------------------------------------------->
<section class="photo" id="photo">
<div class="ph">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<!-- Slideshow container -->
<div class="slideshow-container">

<!-- Full-width images with number and caption text -->
<div class="mySlides ">
<div class="numbertext">1 / 5</div>
<img src="img/p1.jpg" style="width:100%">
<div class="text">Caption Text</div>
</div>

<div class="mySlides ">
<div class="numbertext">2 / 5</div>
<img src="img/p4.jpg" style="width:100%">
<div class="text">Caption Two</div>
</div>

<div class="mySlides ">
<div class="numbertext">3 / 5</div>
<img src="img/p2.jpg" style="width:100%">
<div class="text">Caption Three</div>
</div>

<div class="mySlides ">
<div class="numbertext"> 4/ 5</div>
<img src="img/p3.jpg" style="width:100%">
<div class="text">Caption Three</div>
</div>

<div class="mySlides ">
<div class="numbertext">5 / 5</div>
<img src="img/sil.jpg" style="width:100%">
<div class="text">Caption Three</div>
</div>
<!-- Next and previous buttons -->
<a class="prev" onclick="plusSlides(-1)">&#10094;</a>
<a class="next" onclick="plusSlides(1)">&#10095;</a>
</div>
<br>

<!-- The dots/circles -->
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
<span class="dot" onclick="currentSlide(5)"></span>

</div>


</div>
</div>
</div>
</section>


<!----------------------------------------------------------------------------------------------->
<!-- contact us -->
<section class="contactus" id="contactus">
<div class="container">
Expand Down Expand Up @@ -255,6 +315,18 @@ <h4>club Office</h4>
</div>
</div>
</section>
<footer id="section-footer">
<div class="container">
<div class="row">
<div class="col-md-12 col-lg-12">

<p>&copy;&nbspCopyright 2020 - Mohamed Mubaris. All rights reserved.</p>
</div>
</div>
</div>
</footer>
<!-- /.footer -->




Expand Down
32 changes: 31 additions & 1 deletion js/custom.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
//////////////////////////////
var slideIndex = 1;
showSlides(slideIndex);

// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}

// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}

function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";

}
(function ($) {

new WOW().init();
Expand All @@ -6,7 +36,7 @@
jQuery("#preloader").delay(100).fadeOut("slow");
jQuery("#load").delay(100).fadeOut("slow");
});

/////////////////////

//jQuery to collapse the navbar on scroll
$(window).scroll(function() {
Expand Down