Module Description
colorbox_inline allows you to open content already on the page within a colorbox. If you would like to load content via AJAX, you can use colorbox_load.
To create an element which opens the colorbox on click:
* Enable the module. No other options or configuration exist.
* Add the attribute data-colorbox-inline to an element and make its value a selector for the element you wish to open. Eg, <a data-colorbox-inline=".user-login">User Login</a> will open a popup with the first element with the class user-login as the content.
* Optional add data-width and data-height to the anchor to control the size of the modal window.
This module requires colorbox.
To create an element which opens the colorbox on click:
* Enable the module. No other options or configuration exist.
* Add the attribute data-colorbox-inline to an element and make its value a selector for the element you wish to open. Eg, <a data-colorbox-inline=".user-login">User Login</a> will open a popup with the first element with the class user-login as the content.
* Optional add data-width and data-height to the anchor to control the size of the modal window.
This module requires colorbox.
Module Link
Project Usage
8682
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
colorbox_inline module allows opening content on the page within a colorbox by adding data-colorbox-inline attribute to an element.
Data Name
colorbox_inline