[jQuery] livequery + facebox loading after an ajax call
Been trying to add a facebox after ajax the page has been loaded via
ajax...
$(function() {
$('a[rel*=facebox]')
.livequery('click', function(event) {
jQuery.facebox({
loading_image : 'loading.gif',
close_image : 'closelabel.gif'
});
return false;
});
});
demo at http://gh.phiz.net/_explore1618/provider-details.html
the facebox does start to load but then the script loads in its own
window rather than in the facebox.
Error: [Exception... "Node cannot be inserted at the specified point
in the hierarchy" code: "3" nsresult: "0x80530003
(NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location: "http://gh.phiz.net/
js/jquery/jquery.js Line: 12"]
Source File: http://gh.phiz.net/js/jquery/jquery.js
Line: 12
any help would be appreciated.
thanks.