How do I check if the opacity of an element is 0, and then do something in jQuery?
You can do as
$(function() {
if ($('#foo').css('opacity') == 0)
alert('lol');
});
Demo : http://jsfiddle.net/9GEZ5/
if( $("#id_of_your_thing").css('opacity') == "0" )
do_stuffs();