JavaScript WDL version 1.0.0 alpha.

Nice job Yerren! =D> Had to Shift-F5 to get the screen refreshed. Looks very nice and the new green color is much easier to see - THANK YOU!

Oh sweet! :slight_smile: That makes life a little easier…

Good idea, I’ll add that in to the next update, it does look cleaner that way!

And for the TO DO pile, have the Graphs exclude the UV and/or Solar graphs if they have been disabled in the config.js file.

Hi Yerren

Not sure if you done it in the last update, but i note now the page auto scales when you rotate on a phone or table now and the whole page is displaying.

Looks good.

Aha, well spotted. Works for me too.

Mobile rotation was mentioned in the changelog :wink:

I am glad you’ve noticed it so fast!

You are not alone, IE11 here too, my favourite browser.
Must be updated version.
Hangs on collecting…
Used to work.

This one hangs
http://www.goldenbaynzweather.info/wdl/freshwdl.html
http://www.meteothes.gr/live/FWDL/FreshWDLmaster.html
http://www.mikeymsweather.com/FreshWDLmaster.html

This one loads fine.
http://www.leudalweer.nl/wdl/FreshWDLmaster.html
http://www.leudalweer.nl/wdl/FreshWDLmaster1.html

I checked out links in this thread and all are hanging except those two from leudalweer.nl

Is there a difference in versions?

Interesting, one big difference is that leudalweer.nl is hosting some of the javascript files on the local server.

The only thing I can’t stand about FF is the updates. Sometimes it is as bad as Flash updates. When I need some quick info I click on FF and get that annoying “please wait while FF installs updates”.

if the javascript files are copied to a local directory and the html code changed to point to those files
then it should work in a local directory? (i.e your own server on your pc or your own web site)?

Great job, Yerren. Worked out of the box on Chrome (but not IE11, as mentioned above).

Only problem is my UV bar seems to have slipped a bit. What have I done wrong?

P.S. Yes, I have UV but no solar!


I will check out what is going on with IE when I have time. Hopefully it’s a simple problem that can be fixed, it is nice to have full browser support :slight_smile:

Haha I hadn’t actually considered this combination… I’m sure it’s not something you are doing. I will check it out and get back to you :slight_smile:

I see from checking IE 11 in developers mode here are the errors I see.

SCRIPT445: Object doesn’t support this action
WidgetsHandlers.min.js (202,406)
SCRIPT5007: Unable to set property ‘displayDiv’ of undefined or null reference
WidgetsHandlers.min.js (248,30)

HTML1300: Navigation occurred.
wx

HTML1402: Character reference is missing an ending semicolon “;”.
wx (29,90)
HTML1402: Character reference is missing an ending semicolon “;”.
wx (29,90)
HTML1402: Character reference is missing an ending semicolon “;”.
wx (29,90)
HTML1503: Unexpected start tag.
wx (31,2)
HTML1512: Unmatched end tag.
wx (34,2)

Windgust (K1DED)

It’s appalling that MS cannot adhere to the same browser standards that everyone else does.

I haven’t used IE since version 6 (the default browser provided with Win XP). It has become more and more crappy with each subsequent release. The Edge browser provided with Win 10 goes a long way to make up for this sad decline, but it still has too much of the intrusiveness that is a hallmark of MS these days. They’ve completely ruined Skype also, but that’s another sad story…

Sweet, I’ll look in to that :slight_smile:

I noticed that some people seem to have had trouble with some browsers and because I always validate my HTML prior to putting it up on my website I thought I would check out the HTML for this. It threw up quite a few errors and a couple of warnings so I have re-arranged it to remove the errors and reduce the warnings (at present I see 1 warning). I post it here in case anyone else wants to give it a try and see if any of the problematic browsers now work…


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' lang="en">

<head> <!-- Include initially needed CSS -->
    <link rel="stylesheet" type="text/css" href="https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/css/stylesheet01.css" /> <!--Includes the project's css sheet -->    
    <link href="https://cdnjs.cloudflare.com/ajax/libs/opentip/2.4.6/css/opentip.css" rel="stylesheet" type="text/css" /> <!--Includes the tooltip's css sheet -->
    <!-- Modal code must be outside of body so it can be referenced-->
    <script type="text/javascript" src="https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/UpperContent.js"></script>
 	<meta http-equiv="Content-Script-Type" content="javascript" />
 	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
	<title>FreshWDL</title>
</head>
	<body onload='initAll();'> <!--Once the page is loaded, start the initialization functions -->
        <script type="text/javascript" src="https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/InnerContent.js"></script>
    <!-- Loading Screen Setup -->
    <div id="loadingScreen">
        <div id="loadingText">
            <p id="titleText">FreshWDL</p>
            <p id="loadingMessage">Collecting Data.</p>
        </div>        
    </div>
    
    <!-- First script that must be loaded -->
    <script type="text/javascript" src="https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/js_bundles/Loading.js"></script>
    
    <!-- Include remiaing Scripts -->
    <script type="text/javascript" src="config.js"></script> <!--Includes the local script that sets customisable variables-->
    <script type="text/javascript" src="https://code.createjs.com/easeljs-0.8.2.min.js"></script> <!--Includes the drawing part of CreateJS: EaselJS-->
    <script type="text/javascript" src="https://code.createjs.com/tweenjs-0.6.2.min.js"></script> <!--Includes the animation part of CreateJS: TweenJS-->
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/opentip/2.4.6/downloads/opentip-native.js"></script> <!--Includes the tooltip library: OpenTip-->
    <script type="text/javascript" src="https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/js_bundles/moment.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.min.js"></script>
    <script type="text/javascript" src="https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/js_bundles/Globals.js"></script> <!--Includes the script that sets global variables-->
    <script type="text/javascript" src="https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/js_bundles/WidgetsHandlers.min.js"></script> <!--Includes most of the Scripting-->
      
    </body>
</html>

Stuart

I have just noticed a problem with the Rainfall last 7 days and last 31 days graphs.

Here is todays totals (so far) along with the rainfall graphs. Only the 7 day and 31 day graphs appear wrong.

It’s no biggie and the script is getting better by the day.

The station is running here http://allerton-bywater.synology.me/weather/FreshWDLmaster.html


I can see from my own graphs that the legend on the Rain last 7 days is wrong, the actual day values are correct but the last 7 days should end with Sunday (today being Monday) however the actual values shown for me for Tuesday and Wednesday are correct. Hope that makes sense.

Not sure for me I can see anything wrong with the Rain Last 31 day graph, values and legend agree with my own graphs. So what exactly do you believe is wrong with your 31 day graph?

Stuart

WDL

Firstly I would like to thank Yerren and friends for the excellent work on the FreshDWL solution, it appears much improved over the earlier system.

I