W3C home > Mailing lists > Public > www-multimedia@w3.org > January to March 1998

Reusing anchors

From: Peter Scheyen <peters@iChannelTech.com>
Date: Tue, 31 Mar 1998 19:40:00 +0000
Message-ID: <3521468F.1C202416@iChannelTech.com>
To: SMIL <www-multimedia@w3.org>
The current (Feb. 2) SMIL draft introduces the notion of anchors
(the SMIL equivalent of an HTML client side image map).

My question is: how can I share anchors across media objects?

For example, say I have a slideshow of 20 images each of which
share 10 links whose spatial location and target never changes.
The SMIL draft has anchors contained within media objects.  If
I have to replicate these 10 links across 20 images, not only do
I now have 190 redundant anchors, but I also have a content
management nightmare if one of those links much change (the
same change must be made to the anchors in all 20 images).

For example, changing the position or target of the second link
in the example below would involve making 20 identical changes
to the second anchor of each of the 20 images.

<seq>
  <img src="slide1">
    <anchor href="http://link1.com/" coords="0,0,50,50"/>
    <anchor href="http://link2.com/" coords="50,50,100,100"/>
    ... remaining 8 links
  </img>

  <img src="slide2" being="5s">
    <anchor href="http://link1.com/" coords="0,0,50,50"/>
    <anchor href="http://link2.com/" coords="50,50,100,100"/>
    ...  remaining 8 links
  </img>

  ... remaining 18 images

</seq>

If SMIL had a concept similar to the HTML 4.0 MAP element then
my twenty images could all reference the same anchor information
using a USEMAP-like attribute (perhaps "anchorset" would be a
better name than map).

<seq>
  <img src="slide1" usemap="#links"/>
  <img src="slide2" begin="5s" usemap="#links"/>

  ... remaining 18 images

</seq>

<map name="links">
  <anchor href="http://links1.com/" coords="0,0,50,50"/>
  <anchor href="http://links2.com/" coords="50,50,100,100"/>

  ... remaining 8 links

</map>

Peter Scheyen, Virtual Modem/Interactive Channel
peters@iChannelTech.com
Received on Tuesday, 31 March 1998 14:40:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:42:36 UTC