Gynta Hello, thank you very much for change.
Excuse me but I was looking at the source and saw that the drink you've handled using a META tag-> REFRESH. 8-)
Sorry, not to be pushy :oops: , but maybe (without knowing in detail the source code), you could handle refresh the page via javascript with something like:
var cant_sec = parseInt (document.getElementById ("lst_time_refresh"), 10) / / refresh time in seconds
setInterval (load, cant_sec * 1000);
hereiam.js where you start in the javascript code:
// original code
...
form.submit (function () {
return false;
});
load ();
var read = 0;
....
// new code
...
form.submit (function () {
return false;
});
var id_interval = 0;
setRefreshTime();
var read = 0;
....
setRefreshTime function () {
var cant_sec = parseInt( document.getElementById ( "lst_time_refresh" ).value, 10 ); //refresh time in seconds
if( id_interval > 0 ) clearInterval( id_interval );
id_interval = setInterval( load, cant_sec * 1000 );
}
We should also add the selection-list in the html code:
<select id="lst_time_refresh" name="lst_time_refresh" onchange="setRefreshTime();" >
<option value="5"> 5 sec </option>
<option value="10" selected> 10 sec </option>
<option value="30"> 30 sec </option>
<option value="120"> 2 min </option>
<option value="300"> 5 min </option>
</select>
This would be the basis, I believe lack review and testing. It is only to make a suggestion. :oops:
Greetings and thanks for the change to 90s!
