When iframe is loading I use a css class 'active' when is stop loading I switch to 'inactive' class.
<script type="text/javascript">
function frameload(){
document.getElementById("loadnav").className = "active";
}
document.getElementById("loadnav").className = "inactive";
</script>
<iframe src="https://www.wikipedia.org/" onload="frameload()"></iframe>
The problem is that after loading does not return to 'inactive'.