Browser showing white block

by 5:04 AM 1 comments
Hi friends so many time we found that while browsing video or other objects the white or black box sticks on the screen.


After googling this on internet and in my mind as well i found this workout..


This issue basically found in iframe or div objects so whenever it seems on your browser the following tip can solve your problem.


<html>
<iframe id="iFrameId">
</iframe>
<script>
   
window.onbeforeunload = function() {
          document.getElementById("iframeordivID").style.visibility = "hidden";
    }
</script> </html>


Happy javaScripting...!

ravi tuwar

Developer

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

1 comment: