My idea would be to pleace something at the beginning of every content returned to the iframe, something like a content title.
If the title is not there, then is the content not comming from the server, then the output should be suppressed and the refresh rate lowered.
Of course does the title not need to be displayed to the user.
Main Topics
Browse All Topics





by: robotman757Posted on 2004-11-19 at 02:58:23ID: 12623729
You can try soemthing like this...create a variable and then get the html of the iFrame. ].innerHTM L;
var txt = window.frames["youriframe"
check the txt variable for "The page cannot be displayed"...if it contains this text, tell the script to refresh, and if not then do nothing. I can see this working in my head, but have no way to test it, so I am not totally sure..