You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

js.lightbox

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js.lightbox

fanstatic jquery lightbox.


Maintainers
1

Readme

js.lightbox


Introduction

This library packages jquery lightbox_ for fanstatic_. It is aware of different modes (normal, minified).

.. _fanstatic: http://fanstatic.org .. _jquery lightbox: http://leandrovieira.com/projects/jquery/lightbox/

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.lightbox) are published to some URL.

How to use?

This should be setup before rendering a page. See fanstatic_ for more information::

from fanstatic import init_needed needed = init_needed(base_url='http://localhost')

You can import lightbox from js.lightbox and .need it where you want these resources to be included on a page::

from js.lightbox import lightbox lightbox.need()

Render the inclusion::

print needed.render()

CHANGES


0.1.1 (2012-02-26)

  • update manifest.ini (add gif) [amleczko]

0.1 (2012-02-25)

  • Initial release [amleczko]

Keywords

FAQs


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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc