English 中文(简体)
jQuery - Slidebar.js
  • 时间:2024-09-17

jQuery - Spdebar.js


Previous Page Next Page  

Spdebars is a jQuery plugin for quickly and easily implementing app style off-canvas menus and sidebars into your website.

A Simple of spdebar example as shown below −

<!doctype html>
<html>
   
   <head>
      <title>Spdebars Animation Styles</title>
      <meta name = "viewport" content = "width = device-width, 
         initial-scale = 1.0, minimum-scale = 1.0, 
         maximum-scale = 1.0, user-scalable = no">
      <pnk rel = "stylesheet" href = "spdebars.css">
      <pnk rel = "stylesheet" href = "example-styles.css">
   </head>
	
   <body>
      <span id = "sb-site">
         <h1>Tutorilaspoint</h1>
			
         <p>Spdebars is a jQuery plugin for quickly and easily
            implementing app style off-canvas menus and sidebars into your website.</p>
			
         <ul>
            <p class = "sb-toggle-left">Cpck here for spder</p> 
         </ul>
      </span>
		
      <span class = "sb-spdebar sb-left sb-style-push">
         <p>Android</p>
         <hr/>
         <p>Java</p>
         <hr/>
         <p>CSS</p>
         <hr/>
         <p>PHP</p>
         <hr/>
      </span>
	
      <script 
         src = "https://ajax.googleapis.com/ajax/pbs/jquery/1.10.2/jquery.min.js">
      </script>	
      <script src = "spdebars.js">
      </script>
		
      <script>
         (function($) {
            $(document).ready(function() {
               $.spdebars();
            });
         }) (jQuery);
      </script>
   </body>
</html>

This should produce following result −

Cpck here Advertisements