<?xml version="1.0" encoding="ISO-8859-1"?>

<html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:time="http://www.x-smiles.org/2004/timesheet"
          xmlns:ev="http://www.w3.org/2001/xml-events"
          xmlns:xforms="http://www.w3.org/2002/xforms">
          
	<head>
		<title>Timesheets Slides</title>
		
		<style type="text/css">
			body { height: 1450px; background-image: url("img/bg.jpg");background-repeat:repeat;font-size:20pt;}
/*			div.slide { text-align: center; }*/
			div.linksection {text-align: center; }
			h1 { 
            	background-color:#ffffff;
            	margin-bottom: 60px; 
                text-align: center; 
                border-style:solid;
                padding-left:170px;
                padding-right:100px;
                border-color:#5533ff;
                border-width: 3px;
                }
			h2 { text-align: center; }
			div.image { text-align: center; }
            div.header {position:absolute;left:10px;top:30px;width:300px;height:100px;}
            /*div.header > p {border-style:solid;}*/
            ul {margin-left:40pt;}
		</style>


		<time:timesheet>
			<time:seq id="slidesequence">
				<time:item select="#slide1"/>
				<time:item select="#slide2"/>
				<time:item select="#slide3"/>
				<time:item select="#slide4"/>
				<time:item select="#slide5"/>
				<time:item select="#slide6"/>
			</time:seq>
		</time:timesheet>

	</head>
	
	<body>
		<div class="linksection">	
			<p>			
			<a href="sdc">
				Previous
				<xforms:dispatch name="select-prev" target="slidesequence" 
						ev:event="DOMActivate" ev:defaultAction="cancel"/>
			</a>
			-
			<a href="">
				Home
				<xforms:dispatch name="select-first" target="slidesequence" 
						ev:event="DOMActivate" ev:defaultAction="cancel"/>				
			</a>
			-
			<a href="">
				Next
				<xforms:dispatch name="select-next" target="slidesequence" 
						ev:event="DOMActivate" ev:defaultAction="cancel"/>							
			</a>
			</p>
		</div>
        
    		<div class="header">
            	<p>
                    <img src="img/xsmiles_small.png"/>
            	</p>	
		</div>

		<div class="slide" id="slide1">
			<h1>Timesheets</h1>
			<p/><p/>
			
			<h2>Teppo Jalava</h2>
			<h2>Mikko Honkala</h2>
			<h2>Mikko Pohja</h2>
			<h2>Helsinki University of Technology</h2>
		</div>
		
		<div class="slide" id="slide2">
			<h1>Timesheets</h1>
			<ul>
				<li>SMIL Problems</li>
				<ul>
			  		<li>Mixing contents with timeline, makes big documents hard to read and edit</li>
				  	<li>Using formatted text (like html) difficult</li>
				  	<ul>
				  		<li>to add an html element to timeline, an external document is needed</li>
				  	</ul>
				</ul>
			</ul>						  	
		</div>
		
		<div class="slide" id="slide3">
			<h1>Timesheets</h1>
			<ul>
				<li>Timesheets are like CSS</li>
				<ul>
			  		<li>Separate temporal layout from the contents of the document</li>
				  	<li>Use the same timeline in multiple documents</li>
			  	</ul>
		  		<li>Layout and formatting of the document is done normally with style sheets</li>
			</ul>						  	
		</div>
		
		<div class="slide" id="slide4">
			<h1>Timesheets</h1>
			<ul>
				<li>Document is divided to three sections</li>
				<ul>
			  		<li>Content, the "body" part</li>
				  	<li>Formatting, the "stylesheet" part</li>
				  	<li>Timing, the "timesheet" part</li>				  	
			  	</ul>
		  		<li>Formatting controls the spatial layout of the content</li>
		  		<li>Timing controls the temporal layout of the content and formatting properties of the stylesheet</li>
			</ul>		
			<div class="image">
				<img src="sections.png"/>				  	
			</div>
		</div>
		
		<div class="slide" id="slide5">
			<h1>Timesheets</h1>
			<pre>
&lt;head&gt;
&lt;style type="text/css"&gt;
  :red { color: red; }
  :blue {color: blue; }
&lt;/style&gt;

&lt;timesheet&gt;
    &lt;par&gt;               
        &lt;item select="#bullet1" begin="2s"/&gt;
        &lt;item select="#bullet2" begin="4s"/&gt;
        &lt;item select="#bullet3" begin="6s"/&gt;
        &lt;seq repeat="indefinite" begin="8s"&gt;
            &lt;!-- Change the color of "bullet4" every two seconds --&gt;
            &lt;item select="#bullet4" dur="2s" class="red"/&gt;
            &lt;item select="#bullet4" dur="2s" class="blue"/&gt;
        &lt;/seq&gt;
    &lt;/par&gt;
        &lt;/timesheet&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;div id="content"&gt;
    &lt;p id="title"&gt;Introduction&lt;/p&gt;
    &lt;p id="bullet1"&gt;o Some intro to WLAN&lt;/p&gt;
    &lt;p id="bullet2"&gt;o Some intro to WLAN&lt;/p&gt;
    &lt;p id="bullet3"&gt;- Subbullet&lt;/p&gt;
    &lt;p id="bullet4"&gt;- Subbullet&lt;/p&gt;
    &lt;p id="pagenum"&gt;2&lt;/p&gt;
        &lt;/div&gt;
&lt;/body&gt;
			</pre>	
		</div>	
	
		<div class="slide" id="slide6">
			<h1>Timesheets</h1>
			<ul>
				<li>A simple implementation is being developed under X-Smiles project 
				(<a href="http://www.xsmiles.org">http://www.xsmiles.org</a>)</li>
			</ul>
		</div>
	</body>
</html>