With jquery it is easy!
either enclose your code which loads the iframe within a
$()
or use
$(document).ready(function(){})
these both are the same and would execute your code after the DOM is ready! Meaning your website load first after completed then your iframe shows.e.g.
$(document).ready(function(){$('iframe#iframe_id').attr('src', 'iframe_url'); });
Complete script<iframe id='iframe_id'></iframe><script type='text/javascript'>$(document).ready(function(){$('iframe#iframe_id').attr('src', 'iframe_url'); });
</script>