I am using facebox (http://famspam.com/facebox) to hold some content loaded via an ajax call. The content being loaded has a jquery ui slider element inside of it. In non-ajax loaded content I can use either the $(window).bind('load', function()) or $(document).ready(function()) methods in order to trigger the construction of the slider via a call like $('#targetDiv').slider(...);
However, when loading into facebox neither of these two methods appear to work. The only way I have been able to do this successfully is to have an image at the end of my content with an onload calling the readying function.
Is there some other, not-so-hackish, way to do this?