New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

livebox

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livebox

Livebox - a jQuery lightbox plugin

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

LiveBox - A jQuery Lightbox Plugin

Be aware of beta version

Key features

  • Clear documentation full of editable demos
  • Supports variety of content types, such as html, images, video, iframe, ajax and others
  • Drag&drop and auto resize
  • Overlaying LiveBoxes (open one on top of another)
  • API for controlling LiveBox, including resizing and catching events
  • Chaining content (slideshow) including mixed content
  • Image preloading
  • Highly customizable look
  • JavaScript knowledge not required

Install

bower install livebox

If you do not use bower you can download files from this repository and include it in your project.

Some examples

Simple HTML

$(function () {

    $.livebox({
        type: 'html',
        content: 'Hello, World!'
    });
});

Content from DOM element, reaction on event

$(function () {

    $.livebox({
        content: '#divWithContent',
        width: 500,
        height: 300,
        events: {
            show: function () {
                console.log('Window is open')
            }
        }
    });
});

Full documentation and demos on website - liveboxjs.com

Keywords

lightbox

FAQs

Package last updated on 03 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts