bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

js-info polishing


From: Per Bothner
Subject: js-info polishing
Date: Sat, 20 Feb 2021 22:03:49 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

I think I've gotten my changes to the js-info reader to a state where it
can be checked in.  See attachment.

In addition to the a "Hide sidebar"/"Show sidebar" button (lower left),
there is also magic to handle narrows screen better, including auto-hide
of the sidebar.

        * js/info.js: Add button to show/hide sidebar.  Other polishing.
        (Sidebar): Create show/hide button.
        (on_click): Handle clicks on show/hide button.
        Also automatically hide sidebar on click when narrow.
        (Sidebar): Copy _href property when copying ToC.
        * js/info.css: Various adjustments and tricks to make it work.

This is the DomTerm manual with some extra DomTerm css style tweaks.
https://per.bothner.com/tmp/DomTerm-txjs/

This is the same manual with just the default styling from info.css:
https://per.bothner.com/tmp/DomTerm-txjs-plain

Please try with different window sizes.
Suggestions/comments about either style appreciated.
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/

Attachment: jsinfo1.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]