Skip to content
jp Lightbox Tutorial

To use jp Lightbox, you will need to be familiar with the basic syntax:

(gbjp=image|my_image.jpg)  displays a single image.

(gbjp=gallery|my_image_folder) displays a gallery of images from a folder in images/stories folder. If your image folder is in a sub-folder in images/stories, (for example, "my_subfolder"),  you will need to replace the my_images_folder with my_subfolder/my_images_folder.

(gbjp=html|my_html_page) displays an HTML page. The my_html_page would reside in mambots/greyboxjp/pages folder. Do not use anything other than simple HTML and simple javascript. Also, if you do not want a link to open in the same grey box, please set the links to open in a new tab/window.

Each piece of syntax lets you define the width and the height. These are optional if you are using the mambot only for one type of content on a page but mandatory if you are using the mambot for both HTML and images. Otherwise the value of the parameters will be taken from the next mambot syntax. If you are using the mambot for images then the width and height would be taken from the thumbnail; if the syntax is calling an HTML page, then the two parameters would be for the width and height of the box containing the code.

The width and height parameters are integers and entered without "px" after the values. For example, if you want the box to be 400px wide and 500px high, the syntax for the HTML page would be written:

(gbjp=html|my_html_page|400|500)

You can define the height and width of the thumbnails in the same way when you are using the mambot to display a single image or a gallery of images.


 

Buy Now

Recommended

Search

Recommended

Joomla Templates

Member Login

Refreshing page..Please wait!
                       Lost Password?    Can't Login?