Easy Customizable jQuery Slideshow Plugin GSlideShow - Download Easy Customizable jQuery Slideshow Plugin - GSlideShow

Download Easy Customizable jQuery Slideshow Plugin – GSlideShow

Posted on

This time I will share jQuery Plugin and tutorial about Easy Customizable jQuery Slideshow Plugin – GSlideShow, hope it will help you in programming stack.

Easy Customizable jQuery Slideshow Plugin GSlideShow - Download Easy Customizable jQuery Slideshow Plugin - GSlideShow
File Size: 7.87 KB
Views Total: 1521
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

GSlideShow is a lightweight and simple-to-use jQuery slideshow plugin used to showcase your favorite images in the carousel fashion.

Key features:

  • Auto-rotation on initialize.
  • Cross-fade effect between transitions.
  • Custom prev / next navigation labels.
  • Endless looping like a carousel.
  • Image captions with counters.

How to use it:

1. Include the GSlideShow.css in the document’s head section that provides the basic styles for the slideshow.

1 <link href="GSlideShow.css" rel="stylesheet">

2. Simply wrap the images you want to present in a DIV container. The plugin will automatically displays image captions at the top left of the slideshow using img‘s title attribute.

1 <div id="demo" class="GSlideShow">
2   <img src="1.jpg" title="Image 1">
3   <img src="2.jpg" title="Image 2">
4   <img src="3.jpg" title="Image 3">
5 </div>

3. Include jQuery library and the jQuery GSlideShow plugin at the bottom of the document to improve the page load speed.

1 <script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
2 <script src="GSlideShow.js"></script>

4. Initialize the slideshow plugin with default options.

1 $("#demo").GSlideShow();

5. Setup your slideshow by passing the following options as an object to the GSlideShow() method.

01 $("#demo").GSlideShow({
02  
03   // <a href="https://www.jqueryscript.net/slideshow/">Slideshow</a>'s menu options
04   automaticSlide:true,
05   showButtons:true,
06   showTitle:true,
07  
08   // NavBar options
09   enableNavBar:true,
10  
11   // width of the slideshow
12   width:800,
13  
14   // height of the slideshow
15   height:400,
16  
17   navBarLines:1,
18  
19   // animation duration
20   effectDuration:800,
21  
22   // animation delay
23   slideTick:5000,
24  
25   // custom styles
26   borderColor:"rgba(0,0,0,1)",
27   buttonColor:"rgba(0,0,0,0.5)",
28   buttonBorderColor:"rgba(0,0,0,0.5)",
29   textColor:"#FFFFFF",
30   slideshowBorderWidth:1,
31   buttonBorderWidth:1,
32   borderRoundedRadius:0,
33   buttonRoundedRadius:0,
34   navBarRoundedRadius:5,
35   navBarContentRoundedRadius:0,
36  
37   // text for previous button
38   previousText:"<",
39  
40   // text for next button
41   nextText:">",
42    
43 });

Change log:

2015-11-03

2015-10-24

  • Add a pause/play button
  • Minor bug fixes.

This awesome jQuery plugin is developed by GuillaumeRives. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net