Modules

Chosen

Uniformly style all select fields between browsers.

Autoloading - API

Usage:
Automatically replaces all select fields.
Use hueChosen.init(); to load manually.

Example:

dayjs

Javascript date functions. Format, localize and calulate with dates.

Passive - API - Usage notes

glightbox

Opens images in a lightbox.

Auto loading - API

Usage:
Use class „lightbox-01“ as image class for enabling lightbox. Lightboxes with same id („-01“) on the same page open in same window.
Only 'lightbox' as class is possible and all images on the same page will open in the same window.
Pe:
printImage($image_id, 'image-size', 'lightbox-01');

Example:

horizontalscroll

Creates a horizontal scoller with navigation buttons. Auto hides nav.

Auto loading - Custom

Usage:
Wrap code with horizontalScrollBefore() & horizontalScrollAfter()

Example:

Isotope

Auto loading - API - Example

Usage:
Add class isotope-container to wrapper and class isotope-element to children.
Call hueIsotope.init() to load manually.

Marquee

Auto loading - API

Usage:
Add class marquee to wrapper.
Call hueMarquee.init() to load manually.

Example:

Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello

Zoom

Makes an image or container zoomable.

Auto loading - API

Usage:
Add zoom to container.
Or add class zoom as image class. (Class lightbox and class zoom zooms lightbox image instead of preview.) Pe: printImage($image_id, 'image-size', 'zoom');
Call hueZoom.init() to load manually.
Call hueZoom.disableScroll() to disable page srcolling.
Call hueZoom.enableScroll() to reenable page srcolling.

Example: