Tuesday, May 19, 2020

jQuery Slidebars.js Plugin



Hello guys! Welcome to a new section of my tutorial on jQuery. In this tutorial guide, i will be discussing about jQuery Slidebar.js plugin.

Slidebars is a jQuery plugin used for quick and easy implementation of the app style off-canvas menus and sidebars into your website.

Example

Below is a simple Slidebars.js example -

<!DOCTYPE  html  lang = "en">
<html   xmlns =  "https://www.w3.org/1999/xhtml">
     <head>
          <meta  name = "viewport"  content = "width =  device-width ,
               initial-scale = 1.0 ,  minimum-scale = 1.0 ,
               maximum-scale = 1.0 ,  user-scalable =  no">
          <title>Slidebar Animation Styles</title>

          <link  type = "text/css"  rel = "stylesheet"
               href = "slidebars.css">

          <link  type = "text/css"  rel = "stylesheet"
               href = "example-styles.css">
     </head>

     <body>
          <div  id = "sb-site">
               <h1>Web design tutorialz</h1>

               <p>Slidebars is a jQuery plugin used for quick and easy
                    implementation of the app style off-canvas menus and         
                    sidebars into your website.</p> 

               <ul>
                    <li  class = "sb-toggle-left">Click here for slider</li>
               </ul>
          </div>

          <div  class = "sb-slidebar  sb-left   sb-style-push">
               <p>Android</p>
               <hr />
               <p>Ios</p>
               <hr />
               <p>jQuery</p>
               <hr />
               <p>Python</p>
               <hr />
          </div>

          <script  type = "text/javascript"
               src = "https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">            
          </script> 

          <script  type = "text/javascript"
               src = "slidebars.js">            
          </script>

          <script  type = "text/javascript">
              ( function( $ )  {
                    $( document ).ready( function( )  {
                         $.slidebars( );
                    } );
               } )  ( jQuery );
          </script>
     </body>



</html>


Alright guys! This is where we are wrapping it up with this tutorial. In my next tutorial post, i will be discussing about the jQuery Rowgrid plugin. Feel free to ask your questions where necessary and i will attend to them as soon as possible.

If you found this tutorial helpful and interesting, kindly use the share button to share this tutorial. Follow us on our various social media platforms available to stay updated with our latest posts. Also subscribe to our newsletter to get all our tutorials delivered directly to your emails.

Thanks for reading and bye for now.
Share:

0 comments:

Post a Comment