Quantcast
Channel: perl.perlpoint
Viewing all articles
Browse latest Browse all 80

Placing HTML slide titles arbitrarily (was: Another "simple" problem) by Jochen Stenzel

$
0
0

> > This sounds (to me) as if it was built using templates (for header,
> > slide contents and footer).
>
>Yes. The HTML for a slide was something close to...
>
><TABLE>
><TR>
><TD ALIGN=CENTER VALIGN=TOP>
><!--Navigation Menu, with tailored buttons for key sections -->
><A HREF="slide0003.html"><IMG SRC="Images/services.gif"></A><BR>
> :
> :
><A HREF="slide0019.html"><IMG SRC="Images/contact.gif"></A><BR>
><!--End of menu-->
></TD>
><TD VALIGN=TOP><H1>Slide Title</H1>
>
> Here is the body of slide 1
> <P>
> Blah blah blah
>
></TD>
><TD VALIGN=TOP>
><IMG SRC="Images/Logo">
></TD>
></TR>
></TABLE>

>Where the indented lines were the slide body, and the two blocks
>of unindented lines come from the top and bottom templates. So
>the header "opens" a table environment, and the footer closes it.

Ah! That's a clever solution!

>The problem, of course, is doing the mapping from "contact" to "slide0019"...

I see. Each slide should be presented by a certain link in the menu.
That's easy to specify in a source but

>If I build the navigation menu in the slide body, the slide title from
>the header will alway come out ahead of it....

If pp2html could provide a -no_headers option to suppress page title
display on a slide (but not for navigation) ...

> > Hm. Maybe there should be an optional wildcard for the title as well
>You mean one that is visible within the body of the slide:
> \SLIDETITLE
>or some such? That would do...

.... in combination with a -no_headers setting to avoid headlines
displayed twice.

Jochen




Viewing all articles
Browse latest Browse all 80

Trending Articles