SHARE
TWEET

reload page iframe

a guest Jul 29th, 2010 28 Never
  1. <script>
  2. function reloadIt()
  3. {
  4. frm=document.getElementsByName("grafiek")[0];
  5. frm.src=frm.src;
  6. setTimeout("reloadIt()",600000); // 10 mins
  7. }
  8. setTimeout("reloadIt()",60000); // Init : 1 minute
  9. </script>
  10. <iframe name="grafiek" src="http://www.site.com/path/" width="1200px" height="800px" frameborder="0" scrolling="no"></iframe>
RAW Paste Data
Top