Simple way to create a custom fade slider using only jquery
It's very easy to create a custom fade slider which is looking more beautiful than other third party slider plugins in our website.
It Also:
We need a jquery link :
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Here is the HTML:
<section>
<div class="slider-box">
<img src="images/slider/arrow-left.png" class="prev" alt="Prev">
<img src="images/slider/arrow-right.png" class="next" alt="Next">
<div class="slideshow">
<img src="images/slider/slider1.jpg"/>
<img src="images/slider/slider2.jpg"/>
<img src="images/slider/slider3.jpg"/>
</div>
</div>
</section>
Here is all JS & CSS code:
It Also:
- No external java script
- Fully customize able
- Fully Responsive
- Browser friendly and supports all device
- Very simple coding
- Very lighting and easy to understand
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Here is the HTML:
<section>
<div class="slider-box">
<img src="images/slider/arrow-left.png" class="prev" alt="Prev">
<img src="images/slider/arrow-right.png" class="next" alt="Next">
<div class="slideshow">
<img src="images/slider/slider1.jpg"/>
<img src="images/slider/slider2.jpg"/>
<img src="images/slider/slider3.jpg"/>
</div>
</div>
</section>
Here is all JS & CSS code:
Nice and easy to coding.
ReplyDeleteThank you for sharing this on your blog! It is very helpful for my insight! Please update more posts about this. Would love to see more updates from you.
ReplyDeleteMelbourne Web Designer