<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2006. Adobe Systems Incorporated.
All rights reserved.
The trademarks, logos, and service marks ("Marks") displayed in this sample
application are the property of Adobe or other third parties. You are not
permitted to use the Marks without the prior written consent of Adobe or such
third party that may own the Marks. Adobe and the Adobe logo are trademarks of
Adobe Systems Incorporated.
For a current list of Adobe's Marks, as well as certain third-party Marks,
please refer to trademark information. (http://www.adobe.com/misc/trademarks.html)
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Products Demo</title>
<link href="css/accordion.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../includes/xpath.js"></script>
<script type="text/javascript" src="../../includes/SpryData.js"></script>
<script type="text/javascript" src="../includes/SpryEffects.js"></script>
<script type="text/javascript" src="../includes/SpryAccordion.js"></script>
<script type="text/javascript">
<!--
var dsProducts = new Spry.Data.XMLDataSet("products.xml", "products/product")
var dsProductFeatures = new Spry.Data.XMLDataSet("products.xml", "products/product[name = '{dsProducts::name}']/features/feature")
-->
</script>
<link href="../css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<noscript><h1>This page requires JavaScript. Please enable JavaScript in your browser and reload this page.</h1></noscript>
<div id="wrap">
<div id="header">
<h1>Products Demo<span class="return"><a href="../index.html">Back to Demos</a></span><span class="source"><a href="source.html">View Source </a></span></h1>
</div>
<div spryregion="dsProducts" id="content">
<table id="products">
<caption>
Adobe Software
</caption>
<tr>
<th scope="col" onclick="dsProducts.sort('name');">Product</th>
<th scope="col" onclick="dsProducts.sort('category');">Category</th>
</tr>
<tbody spryrepeatchildren="dsProducts">
<tr spryif="({ds_RowNumber} % 2) == 0" class="even" onclick="dsProducts.setCurrentRow('{ds_RowID}');" spryhover="rowHover" spryselect="rowSelected">
<td>{name}</td>
<td>{category}</td>
</tr>
<tr spryif="({ds_RowNumber} % 2) != 0" onclick="dsProducts.setCurrentRow('{ds_RowID}');" spryhover="rowHover" spryselect="rowSelected">
<td>{name}</td>
<td>{category}</td>
</tr>
</tbody>
</table>
</div>
<div id="sidebar">
<p sprydetailregion="dsProducts" id="boxshot"><img src="{boximage}" alt="product box shot" width="238" height="130" /></p>
<div id="Acc1" class="Accordion">
<div class="AccordionPanel">
<div class="AccordionPanelLabel">
<h3>Product Overview</h3>
</div>
<div sprydetailregion="dsProducts" class="AccordionPanelContent">
<div>{desc}</div>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelLabel">
<h3>New Features </h3>
</div>
<div spryregion="dsProductFeatures" class="AccordionPanelContent">
<div>
<ul class="">
<li spryrepeat="dsProductFeatures">{feature}</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<p class="clear"></p>
</div>
<script type="text/javascript">
<!--
var Acc1 = new Spry.Widget.Accordion("Acc1");
-->
</script>
</body>
</html>