Wolfgang Schuster schrieb:
2007/7/15, WolfgangZ [EMAIL PROTECTED]:
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
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___