Possible Duplicate:
jQuery event to trigger action when a div is made visible
How can I run some my code when element, wich was loaded by ajax, become visible(“display” is switching from “none” to “block”)?
Well, I need some event like
$('#element').live('show', function(){
// CODE
});
Or event that watching for deleting/adding some class to element
The problem was solved by using jquery-appear plugin
https://github.com/morr/jquery.appear