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/7DE2B9FD-F0F3-415F-93CD-8BED70C9FC63%40gmail.com.