Wolfgang Schuster schrieb:
2007/7/15, WolfgangZ
: Hello,
how can I use a the background of a framed for a hyperlink? I wan't to achive that the area (of a colored box) is handled as link.
Many thanks Wolfgang
\setupinteraction[state=start]
\defineoverlay[knuthref][\overlaybutton{sec:knuth}]
\starttext
\section[sec:knuth]{Knuth}
\input knuth
\page
\button{Knuth}[sec:knuth]
\button[width=4cm,height=2cm]{Knuth}[sec:knuth]
\framed[width=4cm,height=2cm,background=knuthref]{Knuth}
\stoptext
Wolfgang
Hello Wolfgang your example inspired me to searche a bit more and I found a solution for what I wanted to achive: \setupinteraction[state=start] \useURL[ntg-www] [http://www.ntg.nl] \starttext \gotobox{\framed[width=4cm,height=4cm]{gotobox}}[URL(ntg-www)] \stoptext regards Wolfgang