Go back to the Lobby Click here to Go Back to Main Listing Click here to post new thread Click here to see help Click here to Search the Forum
[ LOBBY | MAIN | POST | HELP | SEARCH ]

"I hate the {anchor} element!"


Table of Contents
...................................................................
I hate the {anchor} element!, Chad Hendron, 23:27:51, 10/28/98
Re: hating the anchor element, Philipp Hoschka, 13:08:46, 10/29/98, (#1)

...................................................................


"I hate the {anchor} element!"
Posted by Chad Hendron on 23:27:51 10/28/98
Include Original
Message on Reply
As I see it, {anchor} has two completely different, and opposite, effects!First, it can be used as a target for another presentation *to link to*, allowing you to specify a temporal sub-section to start at. Fine.Second, it can be used to divide up a media object (spatially or temporally) *to link FROM*.This is not good programming practice! There should be an {anchor} tag used for the first functionality, and something else (I think even {a} would be better than {anchor}) for the second functionality!Further, what about this situation (I use "{" instead of "<" ):{a href="file1.htm"...} {video src="blah.vid"...} {anchor begin="0s" end="5s" href="file2.htm" /} {/video}{/a}If the user clicks on the video in the first five seconds, which file does it go to????
Click to Send Alert Message to the Administrator Click to goto the Table of Contents
| ALERT | REPLY | TOP | MAIN | LOBBY

1. "Re: hating the anchor element"
Posted by Philipp Hoschka on 13:08:46 10/29/98
Include Original
Message on Reply
>As I see it, {anchor} has two
>completely different, and opposite, effects!First, it
>can be used as a target
>for another presentation *to link to*,
>allowing you to specify a temporal
>sub-section to start at. Fine.Second,
>it can be used to divide
>up a media object (spatially or
>temporally) *to link FROM*.This is not
>good programming practice!

This is something SMIL links have inherited from HTML. In HTML, you can use the "a" element both for
1) inserting links to other destinations in a document, using the "src" attribute
2) inserting link end points into a document, using the "name" and the "id" attribute

For 2), SMIL uses the "id" attribute only

>Further, what about this situation (I
>use "{" instead of "<" ):{a
>href="file1.htm"...} {video src="blah.vid"...}
> {anchor begin="0s" end="5s" href="file2.htm" /}
> {/video}{/a}If the user clicks on
>the video in the first five
>seconds, which file does it go
>to????

i checked the SMIL spec, and it doesnŽt seem to discuss this, although i remember that we discussed it in the working group. i guess the second link will overwrite the first one, so youŽll go to link "file2.html". more generally, the behaviour should be the same as with an HTML image enclosed within an "a" element that also contains an image map.

iŽll bring this as an error to the SMIL group, and will see that it gets added to the errata.

-Philipp Hoschka, W3C

Click to Send Alert Message to the Administrator Click to goto the Table of Contents
REMOVE | ALERT | REPLY | TOP | MAIN | LOBBY




Archive This Thread: Admin and Moderator Only Remove This Thread: Admin and Moderator Only

Jump to Another Forum

[ SMILZone Lobby ] [ Just SMIL ] [ Great SMIL ]  


Just SMIL  http://JustSMIL.com
Questions or comments regarding this
bulletin board should be directed to Just SMIL.

©1997-1998 by DCScripts. All rights reserved.

Great SMIL  http://GreatSMIL.com