Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Look 2.0.2 Minor update available for module look (2.0.2). Autocomplete Search Suggestions 4.1.3 Minor update available for module suggestion (4.1.3). Zoom on hover 1.1.4 Minor update available for module zoom_on_hover (1.1.4). Admin Navigation 1.1.0 Minor update available for module admin_navigation (1.1.0). Writesonic 1.0.4 Minor update available for module writesonic_ai_analytics (1.0.4). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs. Augmentor AI 1.2.3 Module augmentor updated after 12 months of inactivity (1.2.3).

This module allows you to open existing content on your page within a Colorbox modal. You can specify which element to display in the modal using a data attribute.

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 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.
  3. Optional add data-width and data-height to the anchor to control the size of the modal window.

This module requires colorbox.

Activity

Total releases
4
First release
Apr 2026
Latest release
2 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.1.1 Stable May 12, 2026
2.1.0 Stable May 9, 2026
2.1.x-dev Dev May 9, 2026
2.0.1 Stable Apr 29, 2026