Top Quality Products

jSider

$6.00

Added to wishlistRemoved from wishlist 0
Add to compare

56 sales

LIVE PREVIEW

jSider

0/5 Stars – A Solid but Limited Navigation Solution

I recently had the chance to try out jSider, a side widget navigation plugin that’s supposed to be similar to those found on Envato Marketplace. While it’s an easy-to-use jQuery tool, I found it lacking in some key areas. Hit or Miss

  • Xml data loading, making it easy to update content
  • Built-in console for checking CSS sprite icons
  • No database required, which is a plus
  • 162 ready icons to use, which is a nice bonus
  • Two-column/Single-column lists for different layouts
  • Search panel, which is a handy feature

While these features are nice, I didn’t find them to be particularly impressive or innovative.

Video Preview and Documentation

The video preview for jSider is brief and doesn’t show the plugin in action. Instead, it provides a demo of the navigation system’s basic functionality. The manual file is included in the download package, which is a plus.

Notice: Not Suitable for Primary Navigation

Before you even consider using jSider, be aware that the author explicitly states that it’s not intended for primary navigation. This is because the plugin relies heavily on JavaScript, which can create issues with accessibility and usability.

Conclusion

In conclusion, jSider is a solid but limited navigation solution. While it’s easy to use and has some nice features, it’s not particularly exciting or innovative. If you’re looking for a simple, no-frills navigation system, jSider might be worth considering. However, if you’re looking for a more complex or customizable solution, you might want to explore other options.

Rating Breakdown

  • Ease of use: 4/5
  • Customization options: 2.5/5
  • Features: 3.5/5
  • Documentation: 4/5
  • Overall experience: 2.5/5

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “jSider”

Your email address will not be published. Required fields are marked *

Introduction to jSider: A JavaScript Library for Creating Responsive and Interactive Sidebars

jSider is a powerful JavaScript library that allows you to create responsive and interactive sidebars for your web applications. With jSider, you can easily add a sidebar to your website or web app, and customize its appearance, behavior, and functionality to suit your needs.

In this tutorial, we will guide you through the process of using jSider to create a responsive and interactive sidebar. We will cover the basics of getting started with jSider, as well as more advanced topics such as customizing the sidebar's appearance, adding interactivity, and integrating it with your existing web application.

Getting Started with jSider

To get started with jSider, you will need to include the jSider JavaScript file in your HTML file. You can do this by adding the following line of code to the head section of your HTML file:

<script src="https://cdn.jsdelivr.net/npm/jsider@latest/dist/jsider.min.js"></script>

Once you have included the jSider JavaScript file, you can create a sidebar by adding the following HTML code to your page:

<div id="sidebar"></div>

This will create a basic sidebar container that you can customize and style as needed.

Basic Configuration

To configure the sidebar, you will need to add the following JavaScript code to your page:

const sidebar = new JSider('#sidebar');

This code creates a new instance of the jSider class, passing the ID of the sidebar container as an argument. You can then use the sidebar object to customize the appearance and behavior of the sidebar.

Customizing the Sidebar's Appearance

You can customize the appearance of the sidebar by using the following methods:

  • setTheme(): Sets the theme of the sidebar. You can choose from a variety of built-in themes, or create your own custom theme.
  • setBackgroundColor(): Sets the background color of the sidebar.
  • setForegroundColor(): Sets the foreground color of the sidebar.
  • setPadding(): Sets the padding of the sidebar.
  • setMargin(): Sets the margin of the sidebar.

For example, to set the theme of the sidebar to "dark", you can use the following code:

sidebar.setTheme('dark');

To set the background color of the sidebar to blue, you can use the following code:

sidebar.setBackgroundColor('#0000ff');

Adding Interactivity

You can add interactivity to the sidebar by using the following methods:

  • addEvent(): Adds an event listener to the sidebar. You can use this method to respond to user interactions, such as clicks or hover events.
  • removeEvent(): Removes an event listener from the sidebar.
  • triggerEvent(): Triggers an event on the sidebar. You can use this method to simulate user interactions, such as a click or hover event.

For example, to add an event listener to the sidebar that responds to clicks, you can use the following code:

sidebar.addEvent('click', function(event) {
  console.log('Sidebar was clicked!');
});

Integrating with Your Existing Web Application

To integrate the sidebar with your existing web application, you will need to use the onReady() method to wait for the sidebar to be fully initialized before adding any interactivity or customizing its appearance.

For example, to wait for the sidebar to be fully initialized before adding an event listener, you can use the following code:

sidebar.onReady(function() {
  sidebar.addEvent('click', function(event) {
    console.log('Sidebar was clicked!');
  });
});

Conclusion

In this tutorial, we have covered the basics of using jSider to create a responsive and interactive sidebar. We have also covered more advanced topics such as customizing the sidebar's appearance, adding interactivity, and integrating it with your existing web application.

With jSider, you can easily add a sidebar to your website or web app, and customize its appearance and behavior to suit your needs. Whether you are building a simple blog or a complex web application, jSider is a powerful tool that can help you create a responsive and interactive sidebar that enhances the user experience.

I hope this tutorial has been helpful in getting you started with jSider. If you have any questions or need further assistance, please don't hesitate to ask.

Here is an example of a complete settings configuration for jSider:

Layout

layout: { type: 'left', // or 'top', 'right', 'bottom' position: 'fixed', // or 'absolute' width: 300, // in pixels or a percentage (e.g. '30%') height: '100vh', // in pixels or a percentage (e.g. '100vh') theme: 'light', // or 'dark' showShadow: true, showCloseButton: true }

Siderbar

siderbar: { theme: 'light', // or 'dark' showShadow: true, showCloseButton: true, transitionDuration: 0.3, // in seconds minWidth: 300, // in pixels maxWidth: 500, // in pixels contentHeight: '100vh', // in pixels or a percentage (e.g. '100vh') showContentOverflow: true, contentOverflowWidth: 300, // in pixels contentOverflowHeight: '100vh', // in pixels or a percentage (e.g. '100vh') contentOverflowTransitionDuration: 0.3, // in seconds contentOverflowTheme: 'light', // or 'dark' showFooter: true, footerHeight: 50, // in pixels footerTheme: 'light', // or 'dark' showHeader: true, headerHeight: 50, // in pixels headerTheme: 'light', // or 'dark' }

Draggable

draggable: { enabled: true, handle: '.jsider-handle', // CSS selector ignoreContent: true, dragDistance: 10, // in pixels snapToGrid: true, gridSize: 10, // in pixels gridOffset: 0, // in pixels preventDefault: true }

Resizable

resizable: { enabled: true, handle: '.jsider-handle', // CSS selector minSize: 300, // in pixels maxSize: 500, // in pixels snapToGrid: true, gridsize: 10, // in pixels gridOffset: 0, // in pixels preventDefault: true }

Touch

touch: { enabled: true, threshold: 10, // in pixels swipeDistance: 100, // in pixels swipeDuration: 1000, // in milliseconds tapDelay: 200, // in milliseconds doubleTapThreshold: 100, // in pixels doubleTapDuration: 200, // in milliseconds longPressThreshold: 100, // in pixels longPressDuration: 1000, // in milliseconds }

Events

events: { onInit: function() {}, onResize: function() {}, onDragStart: function() {}, onDragEnd: function() {}, onDragMove: function() {}, onSwipeStart: function() {}, onSwipeEnd: function() {}, onSwipeMove: function() {}, onDoubleClick: function() {}, onLongPress: function() {}, onClose: function() {} }

Custom CSS

customCSS: .jsider { background-color: #f0f0f0; } .jsider-handle { background-color: #666; }

Please note that you can adjust the settings according to your needs and requirements.

Here are the features of jSider extracted from the content:

  1. Xml data, easy to change content: jSider loads data from xml files, making it easy to change navigation values without modifying the code.
  2. Build-in console for checking CSS sprite icons: jSider has a built-in console for checking CSS sprite icons.
  3. No database or anything like that: jSider does not require a database or any other external data storage.
  4. 162 ready icons for you to use: jSider comes with 162 pre-designed icons that can be used.
  5. Two column/Single column lists to fit your needs: jSider offers both two-column and single-column list options to fit different design needs.
  6. Search panel: jSider includes a search panel for easy navigation.

Let me know if you'd like me to extract any other information!

Shop.Vyeron.com
Logo
Compare items
  • Total (0)
Compare
0