Исходный текст | Переводы |
---|---|
<a href="@colorbox_contributed_screencasts_part1" target="blank">Drupal 7 Colorbox project</a> by Code Karate | |
<a href="@colorbox_contributed_screencasts_part2" target="blank">Creating and Theming a Node Photo Gallery with Drupal 7 and Colorbox</a> by High Rock Media. | |
<a href="@colorbox_contributed_screencasts_part3" target="blank">How to Build a Lightbox Portfolio in Drupal 7</a> by CMS Quickstart | |
Load Content in a Colorbox | |
Check the "Enable Colorbox load" option in Colorbox settings. | |
This enables custom links that can open content in a Colorbox. | |
Add the class "colorbox-load" to the link and build the url like this "[path]?width=500&height=500&iframe=true" or "[path]?width=500&height=500" if you don't want an iframe. | |
Other projects may activate this for easy Colorbox integration. | |
Load Images from custom links in a Colorbox | |
Add the class "colorbox" to the link and point its href attribute to the image you want to display in the Colorbox. |