ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* interaction with radio buttons
@ 2003-11-01  9:50 Johannes Hüsing
  2003-11-01 21:50 ` Patrick Gundlach
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Hüsing @ 2003-11-01  9:50 UTC (permalink / raw)


Dear all,

using the example of radiobuttons in uptodate 1998-01, I fail to get
the buttons interactive. When using the pdf doc with Acrobat Reader,
the buttons are there but the cursor won't give me the finger when
it hovers over them, nor does clicking have any effect.

Is there anything I fail to observe?

Groetjes


Johannes

\setupoutput[pdftex]
\setupinteraction[state=start]

\setupcolors[state=start]

\useJSscripts[fld] 

\definesymbol [yes-a] [$\times$] 
\definesymbol [yes-b] [$\star$] 
\definesymbol [nop-a] [$\bullet$] 
\definesymbol [nop-b] [$-$]

\definefield [example-1] [radio] [setup 1] [ex-a,ex-b,ex-c] [ex-c]
\definesubfield [ex-a,ex-b,ex-c] [setup 1] [yes-a,nop-a]

\clonefield [ex-a] [ex-p] [setup 2] [yes-b,nop-b] 
\clonefield [ex-b] [ex-q] [setup 2] [yes-b,nop-b] 
\clonefield [ex-c] [ex-r] [setup 2] [yes-b,nop-b]

\copyfield [ex-a] [ex-x] 
\copyfield [ex-b] [ex-y] 
\copyfield [ex-c] [ex-z]

\setupfield [setup 1] [width=1cm,height=1cm,framecolor=red] 
\setupfield [setup 2] [width=.75cm,height=.75cm]

\starttext
\hbox to \hsize
{\field[ex-a]\hfil\field[ex-b]\hfil\field[ex-c]\hfil\hfil 
  \field[ex-p]\hfil\field[ex-q]\hfil\field[ex-r]\hfil\hfil 
  \field[ex-x]\hfil\field[ex-y]\hfil\field[ex-z]}

\stoptext
-- 
Johannes Hüsing   There is something fascinating about science. One gets
hannes@ruhrau.de  such wholesale returns of conjecture from such a 
                  trifling investment of fact.                Mark Twain

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

end of thread, other threads:[~2003-11-12 20:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-01  9:50 interaction with radio buttons Johannes Hüsing
2003-11-01 21:50 ` Patrick Gundlach
2003-11-02  5:58   ` Johannes Hüsing
2003-11-02 10:42     ` Johannes Hüsing
2003-11-12 20:00       ` Johannes Hüsing
2003-11-02 10:49     ` Patrick Gundlach
2003-11-03  9:13       ` Hans Hagen
2003-11-03 19:38       ` Johannes Hüsing

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).