W3C home > Mailing lists > Public > www-svg@w3.org > October 2004

Re: SVG 1.2 Comment: 5 Multiple pages

From: Craig Northway <craign@cisra.canon.com.au>
Date: Thu, 28 Oct 2004 13:12:24 +1000
Message-ID: <41806398.7080401@cisra.canon.com.au>
To: Cameron McCormack <cam-www-svg@aka.mcc.id.au>, www-svg@w3.org

Hi Cameron,

Cameron McCormack wrote:

>Hi WG.
>
>First of all, well done on finally getting this out!
>
>In section 5, "Multiple pages", is it impossible to create a document
>that can skip, based on SMIL events, to a page that doesn't immediately
>follow the current one?  Say I (for lack of a better example that
>doesn't use clicks) wanted to have a table of contents where
>mouseovering some text will jump to another page.
>
>  <svg xmlns="http://www.w3.org/2000/svg" version="1.2">
>    <pageSet>
>      <page id="p1" end="link2.mouseover">
>        <text id="link2" y="100">Jump to page 2</text>
>        <text id="link3" y="200">Jump to page 3</text>
>      </page>
>      <page id="p2"/>
>      <page id="p3"/>
>    </pageSet>
>  </svg>
>
>I can make page 1 end upon link2's mouseover to cause the viewer advance
>to page 2, but how could I jump from page 1 to page 3?  Since I notice that
>SMIL 2.0 says that you can't use a begin for a seq child (and therefore
>a page) that is something other than a non-negative number, is my only
>option to have a mouseover event handler and then call p3.beginElement()
>from script?
>  
>

Okay, in this particular example you've given, I think you can't get to 
page 3. My understanding is, because there is no resolved duration for 
page 2, its duration will be indefinite. You cannot seek to the begin 
time of  page 3.

Thanks,
Craig

>Nitpicks:
>
>  - In 5.0, the second example uses "orientation" rather than
>    "page-orientation".
>
>  - In 5.6, the example uses "pageSeq" rather than "pageSet".
>
>More comments as I continue reading!
>
>Cameron
>
>  
>
Received on Thursday, 28 October 2004 03:12:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:55 UTC