Thanks Matthew,
I tried this change in line 31 : no effect !  Could it be due to a conflict 
with cookies checking?

Le samedi 29 novembre 2025 à 12:53:57 UTC+1, matthew wall a écrit :

> hi! 
>
> take a look at the fuction 'setup' in the file seasons.js. at line 31 you 
> should see this:
>
> const state = get_state(widgets[i] + '.state', 'expanded');
>
> change 'expanded' to 'collapsed'
>
> note that this is a modification to javascript code, not a configuration 
> file. your changes will remain through any update/upgrade of weewx, since 
> updates/upgrades do not touch the skin files. but if you do a new 
> installation, you will have to make the change again.
>
> if you want some javascript programming practice, try modifying seasons.js 
> so that the initial state is obtained from a configuration file instead of 
> hard-coded.
>
> m
>
>
> > On Nov 29, 2025, at 06:25, [email protected] <[email protected]> 
> wrote:
> > 
> > This skin start always the widgets in open state.
> > How can i start weewx using the Seasons skin with the widgets on the 
> left (current conditons, etc...) in the closed condition by default, to 
> have a more compact presentation at start-up? 
> > Thanks for helping...
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "weewx-user" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
> > To view this discussion visit 
> https://groups.google.com/d/msgid/weewx-user/d1a1d628-8d21-493d-977e-2e08fd8ef4a5n%40googlegroups.com
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/3f614974-9f71-4d2c-93cd-268d42472fbdn%40googlegroups.com.

Reply via email to