From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63253 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Animations (again, but different) Date: Thu, 4 Nov 2010 22:49:38 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288907404 21688 80.91.229.12 (4 Nov 2010 21:50:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2010 21:50:04 +0000 (UTC) To: erik.margraf@gmail.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 04 22:50:00 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PE7h2-0008Uu-4B for gctc-ntg-context-518@m.gmane.org; Thu, 04 Nov 2010 22:50:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 583F4CA7D8; Thu, 4 Nov 2010 22:49:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16II9-S1iv0C; Thu, 4 Nov 2010 22:49:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62D6FCA7C1; Thu, 4 Nov 2010 22:49:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF21ACA7C1 for ; Thu, 4 Nov 2010 22:49:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6pt69V2rCFlD for ; Thu, 4 Nov 2010 22:49:44 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 416F7CA79F for ; Thu, 4 Nov 2010 22:49:44 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA4LnhcI018885 for ; Thu, 4 Nov 2010 22:49:43 +0100 Original-Received: by fxm2 with SMTP id 2so1952171fxm.14 for ; Thu, 04 Nov 2010 14:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=qPjq+5oEsZAmwN+kicnVMWafPDMDAyUdM0MzWsRfFl0=; b=vwKNSn12U3WW/7W2UpH5phfDQaXl/U33/7UPpVOiPs0Z5xROn3KeGRLRjfNDxHfXm3 YqiHLg9YQcdVk+Pb3nb8wPMujhXpJ7uDksDAf4kU90CYbmNXz4i+w1YU8NhC6SXolCvW F6bCBZuC553q/9ztF8JcP4FqmikX+epC7oDkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=KHBL1v+sBpH/i8mVIPkiYtOV67hLNu2vqZrOrcTafN3PLsATZX7sWIgQY7dhMrRc/H zxpJGcCIpLjgpVzzxW26AnV7ZCRDKnsRVENboAj/fzwp2/h8pJOFlR1zdua9hslOXoe1 imqk5t/ikhC5hdxPvlpgvTv4EdmeUd4Ab6ZaE= Original-Received: by 10.223.116.5 with SMTP id k5mr238068faq.123.1288907383584; Thu, 04 Nov 2010 14:49:43 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2938C8.dip.t-dialin.net [91.41.56.200]) by mx.google.com with ESMTPS id p18sm279993faa.40.2010.11.04.14.49.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Nov 2010 14:49:41 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDr9NHL5 - 9d159b796bb7 - 20101104 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:63253 Archived-At: Am 03.11.2010 um 17:38 schrieb Erik Margraf: > Dear Contexters! > In the last few days I could read a few posts about = > "animations" in a resulting PDF document. Some > statements mentioned java script as possible means > to create an animation. = > Is it possible to do the following (which is rather = > simple using html and javascript)? > = > -- Have a bunch of thumbnail pictures = > -- When you click on a thumbnail you see a = > larger version of the same picture = > -- With the next mouseclick the picture = > vanishes (you see the gallery of thumbnails again) > = > if yes, how? = > Any hints are welcome. Not perfect (it=92s not possible to close the big pictures) but it should g= ive you a first impression: \setupinteraction[state=3Dstart] \defineproperty [1] [layer] [state=3Dstop,global=3Dyes] \defineproperty [2] [layer] [state=3Dstop,global=3Dyes] \defineproperty [3] [layer] [state=3Dstop,global=3Dyes] \defineproperty [4] [layer] [state=3Dstop,global=3Dyes] \starttexdefinition properties \startoverlay {\startproperty[1]\overlayfigure{cow}\stopproperty} {\startproperty[2]\overlayfigure{mill}\stopproperty} {\startproperty[3]\overlayfigure{hacker}\stopproperty} {\startproperty[4]\overlayfigure{cow}\stopproperty} \stopoverlay \stoptexdefinition \defineoverlay[properties][\properties] \startTEXpage[background=3D{foreground,properties}] \bTABLE[width=3D4cm,height=3D4cm,offset=3Dnone] \bTR \bTD \goto{\overlayfigure{cow}}[VideLayer{1}] \eTD \bTD \goto{\overlayfigure{mill}}[VideLayer{2}] \eTD \eTR \bTR \bTD \goto{\overlayfigure{hacker}}[VideLayer{3}] \eTD \bTD \goto{\overlayfigure{cow}}[VideLayer{4}] \eTD \eTR \eTABLE \stopTEXpage Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________