Responsive Image Carousel With jQuery And HTML List - gSlider

Responsive Image Carousel With jQuery And HTML List - gSlider

A small and easy-to-use jQuery slider plugin which transforms a list of images into a responsive, infinitely looping carousel with next/prev navigation arrows.

1. Load the stylesheet gslider.css in the head section of the document.

<link rel="stylesheet" href="/css/gslider.css">

2. Insert images as slides to the slider.

<div id="slider">
  <a href="#" class="control_next">&gt;&gt;</a>
  <a href="#" class="control_prev">&lt;&lt;</a>
  <ul>
    <li><img src="1.jpg" alt="Img 01"></li>
    <li><img src="2.jpg" alt="Img 02"></li>
    <li><img src="3.jpg" alt="Img 03"></li>
    <li><img src="4.jpg" alt="Img 04"></li>
    <li><img src="5.jpg" alt="Img 04"></li>
  </ul>
</div>

3. Load jQuery library and the JavaScript gslider.js at the end of the document. That's it.

<script src="https://code.jquery.com/jquery-1.12.4.min.js" 
        integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" 
        crossorigin="anonymous">
</script>
<script src="/js/gslider.js"></script>

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

  • Publication date: 13.06.2019
  • Source

Whoops, looks like something went wrong.

(1/1) ErrorException

file_put_contents(): Only 0 of 251 bytes written, possibly out of free disk space

in Filesystem.php (line 122)
at HandleExceptions->handleError(2, 'file_put_contents(): Only 0 of 251 bytes written, possibly out of free disk space', '/home/p336588/web/ivanovdmitry.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 122, array('path' => '/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/Br0jvdp3SdYPUNOnd84l0OiuHtucFzkGwEBhZ9HC', 'contents' => 'a:3:{s:6:"_token";s:40:"pBADR32K5awxTJRB87tGZkp41IUX91QLvrP4gfcg";s:9:"_previous";a:1:{s:3:"url";s:93:"http://ivanovdmitry.com/blog/post/responsive-image-carousel-with-jquery-and-html-list-gslider";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
at file_put_contents('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/Br0jvdp3SdYPUNOnd84l0OiuHtucFzkGwEBhZ9HC', 'a:3:{s:6:"_token";s:40:"pBADR32K5awxTJRB87tGZkp41IUX91QLvrP4gfcg";s:9:"_previous";a:1:{s:3:"url";s:93:"http://ivanovdmitry.com/blog/post/responsive-image-carousel-with-jquery-and-html-list-gslider";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2)in Filesystem.php (line 122)
at Filesystem->put('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/Br0jvdp3SdYPUNOnd84l0OiuHtucFzkGwEBhZ9HC', 'a:3:{s:6:"_token";s:40:"pBADR32K5awxTJRB87tGZkp41IUX91QLvrP4gfcg";s:9:"_previous";a:1:{s:3:"url";s:93:"http://ivanovdmitry.com/blog/post/responsive-image-carousel-with-jquery-and-html-list-gslider";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true)in FileSessionHandler.php (line 83)
at FileSessionHandler->write('Br0jvdp3SdYPUNOnd84l0OiuHtucFzkGwEBhZ9HC', 'a:3:{s:6:"_token";s:40:"pBADR32K5awxTJRB87tGZkp41IUX91QLvrP4gfcg";s:9:"_previous";a:1:{s:3:"url";s:93:"http://ivanovdmitry.com/blog/post/responsive-image-carousel-with-jquery-and-html-list-gslider";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}')in Store.php (line 128)
at Store->save()in StartSession.php (line 88)
at StartSession->terminate(object(Request), object(Response))in Kernel.php (line 218)
at Kernel->terminateMiddleware(object(Request), object(Response))in Kernel.php (line 189)
at Kernel->terminate(object(Request), object(Response))in index.php (line 58)