Re: Hello! Automatic links, anyone?

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