I\'m using jQuery in my site and I would like to trigger certain actions when a certain div is made visible.
Is it possible to attach some sort of \"isvisible\" even
You can use jQuery's Live Query plugin. And write code as follows:
$('#contentDiv:visible').livequery(function() { alert("do something"); });
Then everytime the contentDiv is visible, "do something" will be alerted!