bug-texinfo
[Top][All Lists]
Advanced

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

js-info contents page [patch]


From: Per Bothner
Subject: js-info contents page [patch]
Date: Sun, 14 Feb 2021 10:04:21 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

This fixes the second problem from the message "two small [Contents] button 
blemishes":

(2) If js-info is enabled then the [Contents] button seems to do nothing, since 
we
already have the navigation bar.

        * js/info.js: Fix [Contents] link by creating a fresh page-node for the 
ToC.
        This is done by cloning the ToC from the index.html.  Cloning is needed 
because
        the same table is used for the Sidebar.

There is one blemish in that the Contents page doesn't have a scrollbar.
That is fixed by the previous js-margin.patch fix, which fixes the problematic:

div[node] {
    ....
    overflow: hidden;
}
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/

Attachment: js-contents2.patch
Description: Text Data


reply via email to

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