Press "Enter" to skip to content

A Flashlight Plugin To Turn Out The Lights

flashlight.js is an interactive jQuery plugin that allows users to turn off the lights and explore your site with a flashlight.

Interactive Markers On An Image Or Blank Canvas | Planit.js

How to make use of it:

1. Include the desired style.css style sheet in the document.

<link rel="stylesheet" href="style/style.css">

2. Include the jQuery JavaScript library and flashlight.js script on your web page.

<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="scripts/jquery.flashlight.js"></script>

3. Call the plugin on the body tag.

// $('body').flashlight(width, darkness, gremlin);
$('body').flashlight(200, 0.75, true);

Interactive jQuery plugin To Turn Out The Lights, flashlight Plugin/Github


See Demo And Download

Official Website(jveens): Click Here

This superior jQuery/javascript plugin is developed by jveens. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

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