Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 classuser-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.
Supporting organizations:
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Ecosystem: Colorbox
- 9,993 sites report using this module
- Created by Sam152 on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.