W3C home > Mailing lists > Public > www-smil@w3.org > July to September 1999

Re: Hello! Automatic links, anyone?

From: Lloyd Rutledge <Lloyd.Rutledge@cwi.nl>
Date: Thu, 15 Jul 1999 13:13:04 +0200
Message-Id: <UTC199907151113.NAA63072.lloyd@klipper.cwi.nl>
To: www-smil@w3.org
cc: alaser@techempower.com

On Fri, Jun 25 1999 "Alan J. Laser" wrote:

> find on this new markup language, and as of yet cannot find any
> reference
> to automically jumping from a smil file to another web page,
> ala self.location= in javascript.  I have found references to loading 
> various media in regions defined by the smil file, but I want to leave
> the
> page that embeds the smil file entirely, and go to a new page.  

This is encoded in SMIL with the A or anchor element whose show
attribute is set to "replace".  For example, the following code shows
an image.  When the user clicks on the image, the presentation is
replaced with the presentation of another SMIL file called "new.smil".

  <smil>
    <head>
      <layout>
	<region id=main/>
      </layout>
    </head>
    <body>
      <a href="new.smil" show="replace">
	<img src="new.jpg" region="main" dur="indefinite"/>
      </a>
    </body>
  </smil>

Is this the behavior you want?

-Lloyd

--
Lloyd Rutledge                              vox: +31 20 592 41 27
CWI (Centrum voor Wiskunde en Informatica)  fax: +31 20 592 41 99
PO Box 94079                                net: Lloyd.Rutledge@cwi.nl
NL-1090 GB Amsterdam, The Netherlands       Web: http://www.cwi.nl/~lloyd
Received on Thursday, 15 July 1999 07:13:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:22 UTC