ComicZockt ComicZockt - 8 months ago 42
HTML Question

How to make a HTML Frame Update itself Every X seconds without Meta or Header?

I am trying to include a Teamspeak Viewer on my Website. My plan until now is to split the Site in two pieces with two frames. The Code i use right now:

<frameset cols="85%,15%">
<frame name="content" src="the_real_page.html" /> <-- its not called like that...
<frame name="tsviewer" src="thetsviewer.php" />

followed by the noframe part.

Now, i try to make the tsviewer Frame Autoupdate every 10 Seconds, so that the clients listed are more or less up-to-date with the server itself. Meta Element does not work nor does the refresh header, as many browsers block autorefreshing on webpages and don't even notify the user when they block a frame update...

Any other idea how to make the website query itself again or make the browser query the frame again?




You could try the javascript approach from here. Just insert this code anywhere in thetsviewer.php:

<script type="text/javascript">
    location = ''