ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to use a \framed for a hyperlink
@ 2007-07-15 19:54 WolfgangZ
  2007-07-16  7:05 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: WolfgangZ @ 2007-07-15 19:54 UTC (permalink / raw)
  To: ntg-context

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to use a \framed for a hyperlink
  2007-07-15 19:54 how to use a \framed for a hyperlink WolfgangZ
@ 2007-07-16  7:05 ` Wolfgang Schuster
  2007-07-16  7:57   ` WolfgangZ
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2007-07-16  7:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/7/15, WolfgangZ <wollez@gmx.net>:
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to use a \framed for a hyperlink
  2007-07-16  7:05 ` Wolfgang Schuster
@ 2007-07-16  7:57   ` WolfgangZ
  0 siblings, 0 replies; 3+ messages in thread
From: WolfgangZ @ 2007-07-16  7:57 UTC (permalink / raw)
  To: ntg-context

Wolfgang Schuster schrieb:
> 2007/7/15, WolfgangZ <wollez@gmx.net>:
>> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-16  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-15 19:54 how to use a \framed for a hyperlink WolfgangZ
2007-07-16  7:05 ` Wolfgang Schuster
2007-07-16  7:57   ` WolfgangZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).