Page 6 of 8

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Sun 10 Jun 2018 11:04 pm
by Nevizio
dazza1223 wrote:i use <span class="ajax" id="LastRainTipISO"></span>


but what script you use to up date your tags?


link to your website be good!
Hi,I use this script below:

<script src="jquery.js" type="text/javascript"></script>
<script src="realtimereader.js" type="text/javascript"></script>

this script updates everything automatically except for the date and time of the last rain and the time of the maximum daily temperature
I can not understand why :roll:
how could I solve the problem? :oops:

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 11:07 am
by dazza1223
ok send me the realtimereader.js and ur reltime.txt and i will have a look later

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 12:14 pm
by Nevizio
Here are the 2 files

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 12:40 pm
by dazza1223
ok i take a look later when im at home what your website?

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 1:30 pm
by Nevizio
Ok thanks for the interest, I look forward :(

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 1:37 pm
by dazza1223
p:s i need the link to your website as i need to re do you reiltime.txt and i need to see what you got?

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 3:21 pm
by Nevizio
I think I have solved, the TtempTH tag has been modified badly by the author of the script in fact inserting <span id = "Ttemp TH"> </ span> nothing appears in the section, instead inserting <span id "tTempTH"> </ span> the script updates automatically, it was a syntax error from the author in fact in the file realtimereader.js the tag is modified as I wrote.
Instead for the time and date of the last rain on the file realtimereader.js does not appear on this tag, I think we should try to change this file what do you think? :?:
Another question:-I would like the image of the web cam to update itself automatically there is a script that performs this function?

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 3:48 pm
by dazza1223
well done... but im using cumulus.xml it more better layed out and i use it on my site as well i do use realtimereader.js but it ony for some over things but the main one i use is cumulus.xml .... and let sort this one out fist then i will try and help u wth the cam but if u do use this cumulus.xml you will have to replace the tags


and if you not geting the tag to work check if thay are in the realtime.txt

but i keek asking for the website you working on as then i can see more in to it



and i cant see the <#LastRainTipISO> in realtimereader.js or in the reiltime.txt

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 4:48 pm
by Nevizio
in fact I would like to insert the tag <#LastRainTipISO> in realtime.txt and then create the change in the file realtimereader.js, but I do not know how to do it :oops: to automatically update the web cam I will work in the future for now on my site to update it just update the page

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 5:04 pm
by dazza1223
ok i do it later to night ok but i will have to make a other reailtime.txt file as cumulus re right the file

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 5:58 pm
by Nevizio
Ok,thanks a lot :clap:

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Mon 11 Jun 2018 6:08 pm
by dazza1223
Can u send me your index page and I will mod that

As well

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Tue 12 Jun 2018 10:57 pm
by dazza1223
it all done and ive zip the new files up for you

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 9:53 am
by Nevizio
Ok thank you,send me the zip file (private message) ;)

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:23 am
by dazza1223
:D