Mobile first Responsive Navigation Bar with jQuery CSS3 Paradeiser - Download Mobile-first Responsive Navigation Bar with jQuery and CSS3 - Paradeiser

Download Mobile-first Responsive Navigation Bar with jQuery and CSS3 – Paradeiser

Posted on

This time I will share jQuery Plugin and tutorial about Mobile-first Responsive Navigation Bar with jQuery and CSS3 – Paradeiser, hope it will help you in programming stack.

Mobile first Responsive Navigation Bar with jQuery CSS3 Paradeiser - Download Mobile-first Responsive Navigation Bar with jQuery and CSS3 - Paradeiser
File Size: 325 KB
Views Total: 4112
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Paradeiser is an easy navigation solution for mobile that automatically displays a top navigation bar to replace the boring hamburger / off-canvas menu on mobile devices (viweport size < 728px). 

Basic usage:

1. Load the core stylesheet paradeiser.min.css in the head section of the document.

1 <link rel="stylesheet" href="path/to/paradeiser.min.css">

2. Create a mobile navigation that is hidden on desktop.

01 <div class="paradeiser">
02   <a href="#">
03     <span>Home</span>
04   </a>
05   <a href="#">
06     <span>Blog</span>
07   </a>
08   <a href="#">
09     <span>Contact</span>
10   </a>
11   <a href="#">
12     <span>Works</span>
13   </a>
14   <span class="paradeiser_dropdown">
15     <span>More</span>
16     <ul class="paradeiser_children">
17         <li><a href="#">About</a></li>
18         <li><a href="#"><a href="https://www.jqueryscript.net/tags.php?/Portfolio/">Portfolio</a></a></li>
19         <li><a href="#">Jobs</a></li>
20     </ul>
21   </span>
22 </div>

3. Include the needed jQuery library at the bottom of the webpage.

1 <script src="//code.jquery.com/jquery-2.1.4.min.js"></script>

4. The jQuery script to enable the overflow dropdown button when there’s not enough space to place all your navigation items.

01 (function() {
02   var paradeiser_open;
03  
04   paradeiser_open = false;
05  
06   $('.paradeiser_dropdown :not(.paradeiser_children)').on('click', function(event) {
07     var paradeiser_dropdown;
08     paradeiser_dropdown = $(this);
09     if (paradeiser_dropdown.parents('.paradeiser_children').length) {
10  
11     } else {
12       event.preventDefault();
13     }
14     return $('.paradeiser_dropdown .paradeiser_children, #paradeiser-greybox').toggleClass('visible');
15   });
16  
17   $('<div id="paradeiser-greybox"></div>').insertAfter('.paradeiser').on('click', function(event) {
18     return $('.paradeiser_dropdown .paradeiser_children, #paradeiser-greybox').removeClass('visible');
19   });
20  
21 }).call(this);

Change log:

v0.2.9 (2015-09-08)

  • now prefixing the non-min version as well for better browser support
  • added more demos

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

source : jqueryscript.net