Good morning or whatever you have now in Europe.
I'm preparing my slides. Every slide is divided to three parts (backgrounds): text, header, and bottom. I've got the navigation buttons in the bottom. Now I'd like to add one more button that would open a field on the current page---a field containing the list of content. I'd like it to go to the \Topic I want to discuss and disappear.
I tried this:
\definefield[Content][check][HelpSetup][content][content]
\setupfields[reset]
\setupfield[HelpSetup]
[width=fit,height=fit,frame=off,option={readonly,hidden}] %
\definesymbol[content][\SomeContentText]
\def\SomeContentText{%
\startframedtext
[width=\textwidth, height=fit, frame=on,
background=color, backgroundcolor=tmava,framecolor=svetla]%
\placecontent}
\stopframedtext
}
%
\setupbackgrounds
[text]
[%backgroundoffset=10pt,%.5cm,
background={contentmenu,nextpage}]
%
\defineoverlay
[ContentOnOff]
[{\goto{\framed[width=\overlaywidth,height=\overlayheight,frame=off]{\hss}}%
[JS(Toggle_Hide{Content})]}]%\overlaybutton{JS(Toggle_Hide{Content})}]
%
\startinteractionmenu[bottom]
\setupinteraction
[color=svetla,
contrastcolor=black]
\hbox to 600pt{%
\raise0.4em\hbox{%
\framed[width=3em, height=0.7em, frame=off, background={PageCounter,ContentOnOff}]{}}
\hss
\interactionbuttons[frame=off, width=8em]
[firstpage,
previouspage,nextpage,
lastpage,
PreviousJump,NextJump]%
\hbox to 1cm{\hss}%
\hbox to 44mm{%
\interactionbuttons[frame=off][CloseDocument]\hss}%
}
However, it doesn't work:
1. The list of content is placed only on one page, not at all of them as I would like.
2. The field supposed to show/hide it isn't clickable---it isn't interactive, and does nothing.
3. I use \Topic and \Subject as heads, and I don't know how to put them to the list of content.
Can you possibly help me to solve this problem?
Sincerely yours
Michal Kvasnicka