Hi, I created my web page something like 8 years ago and have had it working well until recently. Suddenly the page has become somewhat disjointed, data seems ok it's just the presentation that has gone off. I can't find any difference in the file that is being uploaded. I am hoping that somebody has come across this situation before and known how to fix it, for I certainly don't.
I have attached the file being uploaded and supplied this url,
http://home.exetel.com.au/retnuh/weather/lite.htm
Thanks in advance,
Alan
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Web page scrambled
Moderator: daj
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Web page scrambled
Good grief !!!!
You have lots of dodgy javascript.
Disjointed elements
.... and some crazy declarations.
eg. style="font-size:1300%"
You are on your own
You have lots of dodgy javascript.
Disjointed elements
.... and some crazy declarations.
eg. style="font-size:1300%"
You are on your own
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 51
- Joined: Sun 14 Mar 2010 9:41 am
- Weather Station: WH1091
- Operating System: Win 7
- Location: Sydney
Re: Web page scrambled
A couple of things. The very large font size is intentional as the web page was designed for use on my laptop and be able to be read from across the room.
Dodgy javascript.. quite possible as I am not a programmer and have little knowledge. But, the thing is that that page has operated perfectly for 8 or so years. In fact beteljuice helped me with the original workings and indeed some of your work is within that file. It is only recently that the problem has presented itself. My hunch (limited) is that the problem may be in the processing by Cumulus of the file on it's way to the ISP.
Alan
Dodgy javascript.. quite possible as I am not a programmer and have little knowledge. But, the thing is that that page has operated perfectly for 8 or so years. In fact beteljuice helped me with the original workings and indeed some of your work is within that file. It is only recently that the problem has presented itself. My hunch (limited) is that the problem may be in the processing by Cumulus of the file on it's way to the ISP.
Alan
-
- Posts: 51
- Joined: Sun 14 Mar 2010 9:41 am
- Weather Station: WH1091
- Operating System: Win 7
- Location: Sydney
Re: Web page scrambled
That is very interesting. I have not done anything in the way of fixing yet.
Would it be at all possible to for you to post a screenshot of that web page from your system? It would be very much appreciated.
Would it be at all possible to for you to post a screenshot of that web page from your system? It would be very much appreciated.
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: Web page scrambled
As viewed on a PC running latest Firefox
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Web page scrambled
You need a hi-res screen! I tried with Edge (Chromium) and it isn't right
So I scaled your 1300% fonts back to 1000% and it looks like this
You do not have the required permissions to view the files attached to this post.
-
- Posts: 51
- Joined: Sun 14 Mar 2010 9:41 am
- Weather Station: WH1091
- Operating System: Win 7
- Location: Sydney
Re: Web page scrambled
Unfortunately there are still many things wrong.
I think beteljuice is correct with his statement about dodgy code. It worked perfectly for many years then suddenly the problem appeared on my PC but my laptop was still ok. Then I had a new OS installed on the laptop and it too then presented the problem.
My current thinking is that the dodgy code worked ok with older version of browsers but when they were update it exposed that dodgy code. Probably a code rework is the only answer.
Anyway thanks to you all for your effort.
I think beteljuice is correct with his statement about dodgy code. It worked perfectly for many years then suddenly the problem appeared on my PC but my laptop was still ok. Then I had a new OS installed on the laptop and it too then presented the problem.
My current thinking is that the dodgy code worked ok with older version of browsers but when they were update it exposed that dodgy code. Probably a code rework is the only answer.
Anyway thanks to you all for your effort.
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: Web page scrambled
Firefox does have a better reputation than Microsoft for keeping up with the latest CSS recommendations, I have not looked at your code, but if it is old it might be written to CSS 1 or CSS 2 standards, CSS 3 has been evolving for years, with some people labelling the latest recommendations that are not yet adopted into standard as CSS 4. JavaScript has had relatively few changes from its origins as "LIveScript" in netscrape days, although its rename suggested it might start changing to work more like Java. However, recently it has had some additions. Some browsers are more tolerant of bad JavaScript than others, and of course Internet Explorer used a different script language called Jscript until its final version.
Firefox does provide web pages that discuss changes and the extent to which different browsers implement them within https://developer.mozilla.org/....
I might read up on this, but it does not mean I am yet able to write to latest standards, or spot what others need to change.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Web page scrambled
The js sort of makes sense, but there are many html attribute type errors and 'bad' statements.
There is a strange use of <p> in some places and so on ...
Interesting than none of the screenshots show the 'intended' font colors.
... but thanks to them I have a better idea of the intended format !!!
Everything is just too big for my inherited knackered laptop.
There is a strange use of <p> in some places and so on ...
Interesting than none of the screenshots show the 'intended' font colors.
... but thanks to them I have a better idea of the intended format !!!
Everything is just too big for my inherited knackered laptop.
......................Imagine, what you will KNOW tomorrow !