Closed (fixed)
Project:
Colorbox
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2011 at 17:00 UTC
Updated:
25 Jul 2011 at 20:26 UTC
Hi,
I am having an issue using colorbox with inline content. Regardless of how I structure the URL colorobox Loads a duplicate of the sites theme inside the box without an iframe.
I read and re-read the README and structured my HTML as:
<p><a href="?width=700&height=400&inline=true&#artist-info" class="colorbox-load">meet the artist</a></p>
<div style="display: none;">
<div id="artist-info">
<p>blah blah</p>
</div>
</div>
Yet colorbox will not load my DIV - it only loads a duplicate of the site (almost as if it's framing it in), see screenshot.
Any advice would be greatly appreciated.
Bret
| Comment | File | Size | Author |
|---|---|---|---|
| Screen shot 2011-07-21 at 10.57.20 AM.png | 231.44 KB | bretglassett |
Comments
Comment #1
bretglassett commentedNote: I have both "Enable Colorbox load" and "Enable Colorbox inline" checked in the extra settings.
Comment #2
frjo commentedI found two errors in your code. After fixing them the code works well for me.
Errors:
* The class need to be "colorbox-inline" for inline function.
* There should not be an ampersand before the fragment "#artist-info".
Comment #3
bretglassett commentedAh, thank you very much.
Bret