[l2h] Navigation Panel!!!! Please

Jacques B. Siboni jacsib at lutecium.org
Sun Feb 16 08:56:34 CET 2020


Hi Sébastien,

Thanks a lot, it works now.

Actually the main impossibility I met was due to the fact that somewhere were
still written $HTML_VERSION = '4.0' !!
Since I put 5, what happens is much more understandable for me!

Thanks to Julius too and
Merci Sébastien

Jacques


On Fri, 2020-02-14 at 14:14 +0100, Seb wrote:
> Hi Jacques,
> 
> 
> > I need to add a new button, always active, to the standard Next, Up, 
> > etc. Can someone be kind enough as to provide an example as exhaustive 
> > as possible to install this new button.
> 
> The thing to know is that you can insert any HTML code in the function 
> top_navigation_panel(), which you can place in .latex2html-init . Here is 
> a working example:
> 
> sub top_navigation_panel {
>      qq[
>          <style>
>          .nav_top {
>              display:flex; justify-content:space-between;
>              background-color:black;
>              border-radius:3px;
>              padding:0.25em 0.75em;
>              font-family: sans-serif;
>          }
>          .nav_top a {color:white;}
>          </style>
>          <div class="nav_top">
>              <div><a href="Table_des_Matieres.html">Sommaire</a></div>
>              <div><a href="Index.html">Index</a></div>
>              <div><a href="/">Retour à la page des auteurs</a></div>
>          </div>
>      \n].
> 
>      ($UP_TITLE
>          ? qq[<img src="/icones/arrowhead.top.w15px.png"> $UP_TITLE<br>\n]
>          : undef) .
> 
>      ($PREVIOUS_TITLE
>          ? qq[<img src="/icones/arrowhead.left.w15px.png">
> $PREVIOUS_TITLE<br>\n]
>          : undef) .
> 
>      ($NEXT_TITLE
>          ? qq[<img src="/icones/arrowhead.right.w15px.png"> $NEXT_TITLE<br>\n]
>          : undef) .
> 
>      "<BR> <P>\n"
> }
> 
> 
> Kind regards,
> Sébastien.
> 
> 
-- 
Jacques B. Siboni mailto:jacsib at Lutecium.org
8 pass. Charles Albert, F75018 Paris, France
Tel: +33 142 287 678 Port: +33 612 536 959
Home Page: http://jacsib.lutecium.org/  
Lutecium pages: http://www.lutecium.org




More information about the latex2html mailing list.