Giter VIP home page Giter VIP logo

arslanameer / ui-component-minimal-slider Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 13.8 MB

A Simple ๐Ÿ‘Œ Elegent ๐Ÿ’Ž and Minimal ( โ› Customized) *Responsive* ๐Ÿ“ฑ Slider Made with HTML CSS & JQuery.

Home Page: https://arslanameer.github.io/Ui-Component-Minimal-Slider/

License: GNU General Public License v3.0

HTML 44.12% CSS 55.88%
imageslider slider slideshow carousel-js carousel-component html5 css3 javascript jquery

ui-component-minimal-slider's Introduction

๐Ÿ–ผ Image Slider ๐Ÿ–ผ

CDNJS GitHub license GitHub repo documentation Open Source Love License: GPL v3

forthebadge Author

A Simple ๐Ÿ‘Œ Elegant ๐Ÿ’Ž and Minimal ( โ› Customized) Slider Made with HTML CSS & JQuery.

Many Thanks To ๐Ÿ™ ( https://github.com/viljamis/ResponsiveSlides.js ) ๐Ÿ™‡โ€โ™‚๏ธ


DEMO

Slider Demo

๐Ÿ‘‰ Try Live Demo


โœ About ๐Ÿ’ก:

This slider is made with html css and js. It uses jquery to fade between images automatically and through navigation buttons or through pagination bullets. This Slider is Made/Customized for standard use, as a banner or ad slider.

NOTE: I set slider's css and settings for Demo purpose.

Try & modify it as you need.

๐Ÿ’ก How To Use ๐Ÿ”ฌ :

โž• Add CSS (styling File) and JS (script File) links inside <head> tag of your html file. These files can be found in assets/css and assets/js folders.

<link rel="stylesheet" href="assets/css/slider.css">
<link rel="stylesheet" href="assets/css/main.css">

And because this slider is JQuery dependent. You can either download Jquery from website or use bellow cdn link.

(JQuery minified javascript file is included in assets/js)

Add this link inside of <head> tag.

<!-- Main Slider Script Linking -->
<script src="assets/js/slider.min.js"></script>

<!-- Jquery Script Linking -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  OR
<script src="assets/js/jquery-3.3.1.min.js"></script>

โž• Add Markup in your body:

<body>
  <div class="container"><!-- This is Main Container for My Page. U may need it or not. Create or Modify as per your Need -->
     <div class="rslides_container">
       <ul class="rslides" id="slider">
         <li><img src="assets/images/demoimage (1).jpg" alt="1"></li>
         <li><img src="assets/images/demoimage (2).jpg" alt="2"></li>
         <li><img src="assets/images/demoimage (3).jpg" alt="3"></li>
         <li><img src="assets/images/demoimage (4).jpg" alt="4"></li>
         <!-- Add many Images As you need -->
       </ul>
     </div>
  </div>
  <script>
    // Will Add Slider Initializing Script Here
  </script>
</body>

Finally โž• Add this script to your file within separate <script>...</script> tag to initialize your Image Slider.

$(function () {    
    // Slideshow
    $("#slider").responsiveSlides({
        auto: true,                     // Auto Slide Start
        pager: true,                    // Bullets on Bottom
        nav: true,                      // Prev & Next Button 
        speed: 700,                     // Slide Transition Speed (ms)
        timeout: 2700,                  // Time Interval Between Eac Slider (ms)
        maxwidth: 800,                  // Slider Width Max
        namespace: "centered-btns"      // Navigation button Location
    });
});

YOU'RE DONE! ๐ŸŽ†๐ŸŽ‡๐ŸŽ‰๐Ÿ‘๐Ÿ‘


Additional Settings ๐Ÿ˜Ž

You can add or modify slider settings in script file. following are complete list of settings you can apply.

$(".rslides").responsiveSlides({
  auto: true,             // Boolean: Animate automatically, true or false
  speed: 500,            // Integer: Speed of the transition, in milliseconds
  timeout: 4000,          // Integer: Time between slide transitions, in milliseconds
  pager: false,           // Boolean: Show pager, true or false
  nav: false,             // Boolean: Show navigation, true or false
  random: false,          // Boolean: Randomize the order of the slides, true or false
  pause: false,           // Boolean: Pause on hover, true or false
  pauseControls: true,    // Boolean: Pause when hovering controls, true or false
  prevText: "Previous",   // String: Text for the "previous" button
  nextText: "Next",       // String: Text for the "next" button
  maxwidth: "",           // Integer: Max-width of the slideshow, in pixels
  navContainer: "",       // Selector: Where controls should be appended to, default is after the 'ul'
  manualControls: "",     // Selector: Declare custom pager navigation
  namespace: "rslides",   // String: Change the default namespace used
  before: function(){},   // Function: Before callback
  after: function(){}     // Function: After callback
});

For Further Guidance and Information Please Visit: http://responsiveslides.com/

๐Ÿ“„ License ๐Ÿ”

Ui-Component-Minimal-Slider (Image Slider) Copyright (C) 2018 - Arslan Ameer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/

ui-component-minimal-slider's People

Contributors

arslanameer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ui-component-minimal-slider's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.