jQuery Lightbox for Text iframe Images Videos – VenoBox

The VenoBox is a cross-browser, multipurpose, and multi-functional lightbox plugin for jQuery. This jQuery plugin is useful to display text, iframe, images, videos and inline contents (div) in lightbox. The plugin comes with cool features for both basic and advance usage. You can easily integrate this lightbox for YouTube/Vimeo videos.

Moreover, the plugin supports touch and AJAX. It is highly configurable with its options and with additional CSS.

Plugin Overview

Plugin: VenoBox
Author: Nicola Franchini
Licence: MIT Licence
Published: January 17, 2024
Repository: Fork on GitHub
Dependencies: jQuery 1.3.1 or Latest version
File Type: zip archive (HTML, CSS & JavaScript )
Package Size: 262 KB

How to Use VenoBox (Lightbox for Text iframe Images)

1. To getting started with VenoBox lightbox, first of all load jQuery and plugin HTML CSS files into your webpage.

<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>

<!-- VenoBox JS -->
<script src="js/venobox.js"></script>

<!-- VenoBox CSS -->
<link rel="stylesheet" href="css/venobox.css" type="text/css" media="screen" />

2. After loading all plugin assets, create HTML structure for your gallery images.

<div class="thumbs">
   <div class="img-thumb">
      <a id="firstlink" class="venobox" data-gall="gall1" data-title="Breakfast Recipe - Basik" href="img/pic1.jpg">
      <img src="img/pic1.jpg">
   <div class="img-thumb">
      <a class="venobox" data-gall="gall1" data-title="Twhater - Basik" href="img/pic2.jpg"><img src="img/pic2.jpg"></a>
   <div class="img-thumb">
      <a class="venobox" data-gall="gall1" data-title="Z series - TomoZ" href="img/pic3.jpg"><img src="img/pic3.jpg"></a>
   <div class="img-thumb">
      <a class="venobox" data-gall="gall1" data-title="Under Fest - TomoZ" href="img/pic5.jpg"><img src="img/pic5.jpg"></a>
   <div class="img-thumb">
      <a class="venobox" data-gall="gall1" data-title="Zona MC - Burla2222" href="img/pic4.jpg"><img src="img/pic4.jpg"></a>

3. Finally, initialize the plugin in jQuery document ready function.


4. Some basic options for jQuery VenoBox Lightbox to display Text iframe Images and videos.

        framewidth: '400px',        // default: ''
        frameheight: '300px',       // default: ''
        border: '10px',             // default: '0'
        bgcolor: '#5dff5e',         // default: '#fff'
        titleattr: 'data-title',    // default: 'title'
        numeratio: true,            // default: false
        infinigall: true            // default: false

This awesome jQuery plugin is developed by Nicola Franchini . Please check the demo page or official website for more advance usage.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About CodeHim

Free Web Design Code & Scripts - CodeHim is one of the BEST developer websites that provide web designers and developers with a simple way to preview and download a variety of free code & scripts. All codes published on CodeHim are open source, distributed under OSD-compliant license which grants all the rights to use, study, change and share the software in modified and unmodified form. Before publishing, we test and review each code snippet to avoid errors, but we cannot warrant the full correctness of all content. All trademarks, trade names, logos, and icons are the property of their respective owners... find out more...

Please Rel0ad/PressF5 this page if you can't click the download/preview link