jQuery - As soon as a element is visible - Like Document.Ready
<p>with jQuery is there a way to say, instead of doc ready, as soon as this item is visible do XXXXXXX?</p>

<p>Reason why is I have an app with 3 panels. The first panel by default is hidden and has a carousel. The carousel breaks if it is initiated when not visible. So I'd like to say as soon as the carousel or the div is visible, initiate the carousel.</p>

<p>Thanks</p>
