Fossil

Check-in [4d384ed8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the hamburger menu template from the documentation to ensure TH1 variables are properly HTMLized.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | js-hamburger-menu
Files: files | file ages | folders
SHA1: 4d384ed8754c5c22598842698aa17366cf6be346
User & Date: florian 2018-10-11 16:36:04
References
2018-10-14
06:46
Backout [4d384ed875] and [5677271a1c] to simplify the hamburger menu customization template. check-in: bf8946a1 user: florian tags: js-hamburger-menu
Context
2018-10-14
06:46
Backout [4d384ed875] and [5677271a1c] to simplify the hamburger menu customization template. check-in: bf8946a1 user: florian tags: js-hamburger-menu
2018-10-11
16:36
Recalculate the dimensions of the hamburger menu if the browser window is resized. check-in: 7c724cf7 user: florian tags: js-hamburger-menu
16:36
Fix the hamburger menu template from the documentation to ensure TH1 variables are properly HTMLized. check-in: 4d384ed8 user: florian tags: js-hamburger-menu
16:36
Enable customization of the hamburger menu through the default skin header.txt. check-in: 497dbb35 user: florian tags: js-hamburger-menu
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to www/customskin.md.

   170    170   
   171    171           <div id="hbdrop" data-anim-ms="400">
   172    172            <ul class="columns" style="column-width: 20em; column-count: auto">
   173    173             <!-- NEW GROUP WITH HEADING LINK -->
   174    174             <li>
   175    175              <a href="$home$index_page">Link: Home</a>
   176    176              <ul>
   177         -            <li><a href="$home/timeline">Link: Timeline</a></li>
   178         -            <li><a href="$home/dir?ci=tip">Link: File List</a></li>
          177  +            <th1>
          178  +             html "<li><a href='$home/timeline'>Link: Timeline</a></li>"
          179  +             html "<li><a href='$home/dir?ci=tip'>Link: File List</a></li>"
          180  +            </th1>
   179    181              </ul>
   180    182             </li>
   181    183             <!-- NEW GROUP WITH HEADING TEXT -->
   182    184             <li>
   183    185              Heading Text
   184    186              <ul>
   185         -            <li><a href="$home/doc/trunk/www/customskin.md">Link: Theming</a></li>
   186         -            <li><a href="$home/doc/trunk/www/th1.md">Link: TH1 Scripts</a></li>
          187  +            <th1>
          188  +             html "<li><a href='$home/doc/trunk/www/customskin.md'>Link: Theming</a></li>"
          189  +             html "<li><a href='$home/doc/trunk/www/th1.md'>Link: TH1 Scripts</a></li>"
          190  +            </th1>
   187    191              </ul>
   188    192             </li>
   189    193             <!-- NEXT GROUP GOES HERE -->
   190    194            </ul>
   191    195           </div>
   192    196   
   193    197   The custom `data-anim-ms` attribute can be added to the panel element to direct