Page 7 of 7

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 25 Mar 2021 10:49 am
by flort
What do you mean by C1 page variant. My site is based on the old style web page and I'm using CumulusMX.

http://flor.byethost24.com/weather/index.htm

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 25 Mar 2021 10:58 am
by beteljuice
flort wrote: Thu 25 Mar 2021 10:49 am What do you mean by C1 page variant. My site is based on the old style web page and I'm using CumulusMX.
It maybe the old 'style' webpage but you need to use the mx variant of the page script ;)

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 25 Mar 2021 11:03 am
by flort
What is the MX variant of the page script? When I created it I just downloaded your file at the start of this post and modified it to suit my requirements. Everything worked fine except for the time and I fixed that by changing HH:MM to HH:mm.

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 25 Mar 2021 11:06 am
by flort
This is the start of the page I am using:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta name="description" content="<#location> weather data" />
<meta name="keywords" content="Cumulus, <#location> weather data, weather, data, weather station" />
<title><span data-cmxdata="location"></span> weather</title>
<!-- betejuice variant Cumulux MX ONLY - Oct 2019 (wet / dry fix) -->

<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="lib/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" />
<link href="weatherstyle.css" rel="stylesheet" type="text/css" />

<script src="lib/jquery/jquery-latest.min.js"></script>
<script src="lib/jquery/jquery.tmpl.js"></script>

<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<script src="js/setpagedata.js"></script>

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 25 Mar 2021 11:16 am
by beteljuice
The zip contains TWO files.

One for use with 'old' C1 Cumulus, the other for CuMX ...

hold on for a moment ....

You're right :o

How did that slip through and not be picked up :oops:

I'll fix it ....

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 25 Mar 2021 11:32 am
by flort
Thanks.

UPDATE - Alternative Monthly Extremes using <#webtag>s

Posted: Thu 25 Mar 2021 3:31 pm
by beteljuice
UPDATE 25 Mar 2021

URGENT MX versions ONLY, incorrect hours:mins format bug fix.
ALL versions - jQuery newer ver 'called', and future js bug fix.


Downloads on first post ...

Thanks to flort for reporting the MX bug ...

Alternative Monthly Extremes - 'new' mx 10.3

Posted: Thu 22 Apr 2021 1:20 am
by beteljuice
New mx 10.3 template version ONLY

The beteljuice is slowly trying out his playthings in the 'new' Neil Thomas templates ...

This one is a rewrite to use the websitedata.json file instead of having to be processed / uploaded by Cumulus.

Part of the README.txt file ...

zip file contents:-
alt_monthlyrecord.htm
alt_monthlyRESPONSIVE.htm /* NEW */
css/alt_mon.css
js/alt_monthlyrecdata.js /* UPDATED */
this README.txt

Upload the files to your website.

Menu:
There are two ways you can handle this:

1/ (NOT recommended) back-up your existing monthlyrecord.htm and rename alt_monthlyrecord.htm to monthlyrecord.htm.

2/ (Prefered) Copy and BACK_UP YOUR EXISTING js/ menu(type).js
Edit the filename in the (new) js/ menu file

That's it ...

Easter Egg ...

(You'll have to download the file to find out ;) )

betel_alt_mon.zip

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 22 Apr 2021 8:32 am
by mcrossley
Clever - one addition you may want to look at in a spare hour is the use of Apparent vs. Feels Like preference :twisted:

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Thu 22 Apr 2021 11:52 am
by beteljuice
Ahhh .........

Just realised I need to edit all the header info mouse-overs in the htm file for user UOM via data-cmxdata :groan:

I feel a headache coming on :bash:

Edit: All done ...

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Fri 16 Jul 2021 1:00 am
by griffo42
I have implemented the fully responsive pages from Neil Thomas' site which are referenced at https://weather.oaktreewebs.co.uk/ATR-1c.htm. They move the right-hand panel to the top of the page.

I have also installed @beteljuice scripts contained in the first post of this topic, for a choice of pages for the display of monthly extremes. They show the top of the right-hand panel down somewhat from the top of the page. I have looked at the coding and can't see how to change this, with my low level of competence, to the top of the page.

I would appreciate some help with this, please.

My websiteURL is https://www.kstwx.net/cumx/index.htm

Keith

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Fri 16 Jul 2021 7:49 am
by beteljuice
I have implemented the fully responsive pages from Neil Thomas ...
Bless him, I suppose the css files are not backwardly compatible either :?

Hospital today, so it will be a while before I can mess with things - his link for just the page templates doesn't work (404).

It should be just cut'n'paste stuff, but as you're a newbie and it's not obvious where to start, I'll try and get the page done for you to try.

Must say I don't like the way the 'now' page lays out ...

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Fri 16 Jul 2021 10:33 pm
by griffo42
Thanks @beteljuice. I downloaded the changed scripts direct from Neil Thomas’ site. I suspected that it might be connected with CSS.

Just when you are able , obviously, is OK by me. Hope your stay in hospital fixes up the health issue/s that you have: all the best with that.

Keith

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Fri 16 Jul 2021 11:48 pm
by beteljuice
New MX version now includes 'Responsive' variant

Zip file updated
NEW Neil Thomas responsive variant added DEMO
js file updated

In earlier post viewtopic.php?p=153487#p153487

Re: Alternative Monthly Extremes using <#webtag>s

Posted: Sun 18 Jul 2021 6:15 am
by griffo42
@beteljuice

Thanks for your very prompt work on my request. All good and implemented. Hope your hospital visit went well.

keith