Colorbox Inline

Categories

Component ID

2664120

Component name

Colorbox Inline

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

7781

Component created

Component changed

Component body

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:

  1. Enable the module. No other options or configuration exist.
  2. Add a the attribute data-colorbox-inline to an element and make it's value a selector for the content you wish to open. Eg, <a data-colorbox-inline=".user-login">User Login</a>.
  3. Optional add data-width and data-height to the anchor to control the size of the modal window.

This module requires colorbox.