Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Trends Page Error
Moderator: daj
-
6719jason
- Posts: 519
- Joined: Wed 08 Apr 2009 12:38 pm
- Weather Station: La-Crosse WS3502
- Operating System: Windows 7
- Location: Holland On Sea, Essex UK
Trends Page Error
Dear Steve,
I am having trouble, getting the trends graph thumbnails to display on my webpage, would you be able to take a look at the webpage and let me know what I am doing wrong?
Regards
Jason
http://www.weeleyweatherstation.info
I am having trouble, getting the trends graph thumbnails to display on my webpage, would you be able to take a look at the webpage and let me know what I am doing wrong?
Regards
Jason
http://www.weeleyweatherstation.info
-
6719jason
- Posts: 519
- Joined: Wed 08 Apr 2009 12:38 pm
- Weather Station: La-Crosse WS3502
- Operating System: Windows 7
- Location: Holland On Sea, Essex UK
Re: Trends Page Error
Thanks for quick reply Steve.
The problem I am having is, when I go to click on one of the thumbnails to view a larger view of the Trend Graph, It fails to display and an error message appears in a little box in the bottom left hand corner.
Regards
Jason
The problem I am having is, when I go to click on one of the thumbnails to view a larger view of the Trend Graph, It fails to display and an error message appears in a little box in the bottom left hand corner.
Regards
Jason
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Trends Page Error
I think your problem is missing quotes on the changeImage() calls. Compare yours:
with mine:
Code: Select all
<td class="td_thumbnails"><a onclick=changeImage("images/wind.png")><img src="images/windsm.png" alt="Wind Graph Thumbnail" width="150" height="100" border="0" /></a></td>Code: Select all
<td class="td_thumbnails"><a onclick='changeImage("images/wind.png")'><img src="images/windsm.png" alt="Wind Graph Thumbnail" width="150" height="100" border="0" /></a></td>Steve
-
6719jason
- Posts: 519
- Joined: Wed 08 Apr 2009 12:38 pm
- Weather Station: La-Crosse WS3502
- Operating System: Windows 7
- Location: Holland On Sea, Essex UK
Re: Trends Page Error
Right, I have changed the code as you suggested. Still not working correctly so, I have attached my TrendT.htm page.
Regards
Jason
Regards
Jason
You do not have the required permissions to view the files attached to this post.
-
6719jason
- Posts: 519
- Joined: Wed 08 Apr 2009 12:38 pm
- Weather Station: La-Crosse WS3502
- Operating System: Windows 7
- Location: Holland On Sea, Essex UK
Re: Trends Page Error
I have now put the Quotes in as required and still no joy.
Regards
Jason
Regards
Jason
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Trends Page Error
You've got a closing bracket missing:
Should be:
Code: Select all
<script type="text/javascript">
function changeImage(im) {
document.images["graphs"].src = im + "?" + new Date().getTime();
</script>Code: Select all
<script type="text/javascript">
function changeImage(im) {
document.images["graphs"].src = im + "?" + new Date().getTime();
}
</script>
Steve
-
6719jason
- Posts: 519
- Joined: Wed 08 Apr 2009 12:38 pm
- Weather Station: La-Crosse WS3502
- Operating System: Windows 7
- Location: Holland On Sea, Essex UK
Re: Trends Page Error
Thanks Steve, working correctly now. Many Thanks.
Jason
Jason