jQuery colorbox plugin isn't loading inline content
- by Summer
Hi,
I'm trying to use the jQuery colorbox plugin to show a little warning when a warning icon is clicked.
Check out the problem:
- Go to http://dev.imagineelection.com/browse/zip/10011
- Click on one of the warning icons (scroll down to see one). See how the colorbox that pops up is empty?
I've tried to isolate the problem:
- If you click "View Source" -- the div id="address-alert" is in there
- If you click "View Generated Source" (for example, with Firefox Web Developer plugin) -- the div id="address-alert" has been taken out, but it has not been replaced inside the new div id="cboxCurrent" that colorbox has put at the top of the page
The jQuery call I'm doing is:
if (jQuery().colorbox) {
$(".warning-class").colorbox({width:"50%", inline:true, href:"#address-alert"});
}
What is going on? Why won't the inline content work?