Hello there,
I am using a modal box library called Fallr with Jquery. What I am wishing to do, is inside of the Fallr call script, have another script that gets the ids of divs with the class “heriyah”. This all works fine, except I get a Firebug error. I think I know what the problem is, but I’m not sure how to sort it out.
Error:
uncaught exception: Can't create new message with content: "<iframe width=620" height="600" src="http://www.brandonrray.com/Heriyah/admin/manage_content.php?id=1&div=sermons_home"></iframe>", past message with content "<iframe width=620" height="600" src="http://www.brandonrray.com/Heriyah/admin/manage_content.php?id=1&div=up_events_home"></iframe>" is still active
Code:
function newcontent() {
$('div.heriyah').each(function() {
$.fallr('show', {
content : '<iframe width=620" height="600" src="<? echo $URL ?>/manage_content.php?id=<? echo $pageID; ?>&div='+ this.id +'"></iframe>',
width : 620 + 5, // 100 = for width padding
height : 600,
closeKey : true,
closeOverlay : true,
buttons : {
}
});
});
}