I ran into a similar problem. I'm not sure if I understood the solution 100%, but I basically got it like this:
$.get('/ajax.php?action=roomList&restriction='+limit, function(data) { $('#roomList').html(data).fadeIn(); $('.cb').colorbox({maxWidth:500,maxHeight:700}); });
In my links, I have a class = cb to connect to colorbox. MaxWidth and maxHeight are, because in firefox, the new colorbox that appeared was HUGE for some reason ...
If anyone has a more elegant solution, please let me know. I remember when I used thick boxing, there was a similar process for the loaded ajax content, as the new material was not around when the original page loaded.
source share