try like this
<script type="text/javascript">
if($("#Label1").html()=="1"){
$("#popupCon").css("opacity","0.7");
}
</script></script>
but remember if you are using master page then the IDs for
popupCon
and
Label1
may be different, like
ctl00_ContentBody_Label1
etc, please confirm and use.