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
converting custom templates to html5
Moderator: daj
-
duke
Re: converting custom templates to html5
On a positive note, I have looked at your progress this morning and note that you only have 3 errors left, well done.
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
Slowly getting there...
Have Webuilder now, but having some issues with some things.
1. I have a script to output last day/hours/min it rained that runs on the actual line, the validator doesn't like at all
2. my email link has issues even if Webuilder created the linking???
http://www.users.on.net/~ace2/index3.htm
1.
2.
Have Webuilder now, but having some issues with some things.
1. I have a script to output last day/hours/min it rained that runs on the actual line, the validator doesn't like at all
2. my email link has issues even if Webuilder created the linking???
http://www.users.on.net/~ace2/index3.htm
1.
Code: Select all
Since it last Rained :<script type="text/javascript">
(function(){
var days = Math.floor(937/24/60);
var hrs = Math.floor(937/60%24);
var mins = Math.floor(937%60);
function plur(x){return x === 1 ? '' : 's'};
document.write(days + ' Day' + plur(days) + ' : ' + hrs + ' Hr' + plur(hrs) + ' : ' + mins + ' Min' + plur(mins));
}());
</script>Code: Select all
<span style="color: #1ACC32">I can also be contacted by EMAIL:
<a href="mailto:ace2.cb@gmail.com?subject=Weather station enquiries" title="ACE2 WEATHER"> ACE2 WEATHER</a></span></p>CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
I wish that were true, but all error after that third one are ignored!!!!!duke wrote:On a positive note, I have looked at your progress this morning and note that you only have 3 errors left, well done.
only a total of 6.....
see above post for the ones i'm stuck on
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: converting custom templates to html5
For the first code, you have " :" instead of " ". You also have that text directly inside a table; you either need to put it in a <tr>...</tr> or whatever, or move it out of the table. You can't just put text inside a table without telling it what you want to do with it.
For the second one, you need to encode those spaces in the subject as "%20".
For the second one, you need to encode those spaces in the subject as "%20".
Steve
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
Aaaaaaahhhhhhhh. I was staring at that for ages!!!!!steve wrote:For the first code, you have " :" instead of " ". You also have that text directly inside a table; you either need to put it in a <tr>...</tr> or whatever, or move it out of the table. You can't just put text inside a table without telling it what you want to do with it.
For the second one, you need to encode those spaces in the subject as "%20".
Tx Steve
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: converting custom templates to html5
That text looks like a candidate for putting in table header? ie between <th></th> tags.steve wrote:You also have that text directly inside a table; you either need to put it in a <tr>...</tr> or whatever, or move it out of the table. You can't just put text inside a table without telling it what you want to do with it.
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
I just took it out of the table area which resolved that.
So now I only have 2 errors, which have no solution.
One is my PayPal link that requires the address exact.
The other is my blink text which I use CSS for, but it doesn't like the tags.
I think they'll have to remain....
So now I only have 2 errors, which have no solution.
One is my PayPal link that requires the address exact.
The other is my blink text which I use CSS for, but it doesn't like the tags.
I think they'll have to remain....
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- SpaceWalker
- Posts: 67
- Joined: Sun 04 Mar 2012 2:54 am
- Weather Station: Davis Vantage
- Operating System: Windows XP
- Location: Eastern-Canada
- Contact:
Re: converting custom templates to html5
With HTML5 when you use JavaScript, you do not need to the following:
You only need to use:
For the PayPal account link, you need to replace the '&' character with '&' and not leave any spaces between commands. Also the <a> target attribute should contain one of 4 values: '_blank', '_self', '_parent', or '_top' - have a look at the HTML <a> target Attribute page on the W3Schools site. So your PayPal corrected link should look like this:
Now, for the blinking text - very annoying - blinking text was 'in style' years ago and should seldom be used (if never). Most likely, the '<blink>{some text}</blink>' (obsolete) HTML tag and/or the '<span style="text-decoration: blink;">{some text}</span>' CSS code are causing the error/warning message as neither is accepted nor recognized under HTML5.
Code: Select all
<script type="text/javascript">{the JavaScript code}</script>Code: Select all
<script>{the JavaScript code}</script>Code: Select all
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3K9E72FVNDNCU" target="_blank">R_o_B
There are no Time and Movement if there is no Space.
There are no Movement and Space without Time.
There are no Space and Time without Movement.
But if one of the three exists also the other two exist.
There are no Time and Movement if there is no Space.
There are no Movement and Space without Time.
There are no Space and Time without Movement.
But if one of the three exists also the other two exist.
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
Anyone have any idea on this one
I tried replacing the things that are not allowed, but i end up with 3 full size images side by side
page is http://www.users.on.net/~ace2/video2T.htm
I should also add, it needs to be automatic width so if i'm looking at it on my phone, it doesn't screw the alignment up.
Code: Select all
<!-- Start of Time Lapse setup -->
<div style="width: 100%;">
<table style="border-collapse: collapse; width: 100%;" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding: 5px;" align="center">
<a href="lapse1.htm"><img src="lapse1.jpg" alt="lapse1.jpg"width=100%> </a><font size="5" color="red"><#RecentTS format=ddddd d=1></font>
</td>
<td style="padding: 5px;" align="center">
<a href="lapse2.htm"><img src="lapse2.jpg" alt="lapse3.jpg"width=100%> </a><font size="5" color="red"><#RecentTS format=ddddd d=2></font>
</td>
<td style="padding: 5px;" align="center">
<a href="lapse3.htm"><img src="lapse3.jpg" alt="lapse3.jpg"width=100%> </a><font size="5" color="red"><#RecentTS format=ddddd d=3></font>
</td>
</tr>
</tbody>
</table>
</div>
<!-- End of Time Lapse setup -->page is http://www.users.on.net/~ace2/video2T.htm
I should also add, it needs to be automatic width so if i'm looking at it on my phone, it doesn't screw the alignment up.
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- SpaceWalker
- Posts: 67
- Joined: Sun 04 Mar 2012 2:54 am
- Weather Station: Davis Vantage
- Operating System: Windows XP
- Location: Eastern-Canada
- Contact:
Re: converting custom templates to html5
First, if you are going to make some efforts into updating your pages to HTML5 than you should read about the new standards - as I wrote previously, the W3Schools is a good start.
For example, both the 'HTML <table> cellpadding' and the 'HTML <table> cellspacing' attributes are not supported in HTML5 - using CSS is recommended.
Looking at this code, it is not surprising that you do not get the results you are expecting... The proper way to include an image onto a page is
It is my understanding that 'percentage' cannot/should not be used for images. A good way to control the size of an image would be to include that image within some <div> tags, such as:
For example, both the 'HTML <table> cellpadding' and the 'HTML <table> cellspacing' attributes are not supported in HTML5 - using CSS is recommended.
Code: Select all
<img src="lapse1.jpg" alt="lapse1.jpg"width=100%>Code: Select all
<img src="{image source}" alt="{alternate text}" style="width: {some pixels}; height: {some pixels}; border: none;">Code: Select all
<div style="width: {some pixels or percentage};">
<img src="{image source}" alt="{alternate text}" style="border: none;">
</div>
R_o_B
There are no Time and Movement if there is no Space.
There are no Movement and Space without Time.
There are no Space and Time without Movement.
But if one of the three exists also the other two exist.
There are no Time and Movement if there is no Space.
There are no Movement and Space without Time.
There are no Space and Time without Movement.
But if one of the three exists also the other two exist.
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
Big issue as soon as you have pixels instead of ℅ and open the page on a mobile device, it looks wrong for some reason. The images goes off the page/out of whack.
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
-
duke
Re: converting custom templates to html5
You could use media queries to control the size but try this first:
Code: Select all
img {
max-width: 100%;
height: auto;
}- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
duke wrote:You could use media queries to control the size but try this first:
Code: Select all
img { max-width: 100%; height: auto; }
No luck on that, might have to leave it as is with some small changes
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
I think I got it.
I put a little code into the CSS.(stolen and edited to suit)
Then called the div with id mydiv, performs the same as before on my mobile. only tested on my mobile, as it was my editing tool while at work..
validator finds no errors.
I put a little code into the CSS.(stolen and edited to suit)
Code: Select all
#myDiv
{
height:auto;
width:100%;
}
#myDiv img
{
max-width:100%;
max-height:auto;
margin:auto;
display:block;
}validator finds no errors.
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: converting custom templates to html5
doesn't work on IE or Firefox, ok in chrome.......
Now what.................
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used