@using MvcSlideShow.Models
@{
ViewBag.Title = "Example1";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2 style="margin:0px;">Example 1</h2>
<table summary="sample">
<tr>
<td colspan="2">
@Html.Partial("YsaUserControls/_YsaSS", new YsaSSModel(xmlSource: "/xml/sites.xml", width: 728,
height:90, showNavigation: false))</td>
</tr>
<tr>
<td>
@Html.Partial("YsaUserControls/_YsaSS", new YsaSSModel(xpath: "site120x600",
xmlSource: "/xml/120x600.xml", width: 120,
height:600, showNavigation: false))</td>
<td valign="top">@Html.Partial("YsaUserControls/_YsaSS", new YsaSSModel(xpath: "site234x60",
xmlSource: "/xml/sites2.xml", width: 234,
height:60, showNavigation: false))
<br />
@Html.Partial("YsaUserControls/_YsaSS", new YsaSSModel(xpath: "site120x60",
xmlSource: "/xml/sites2.xml", width: 120,
height:60, showNavigation: false))
<br />
@Html.Partial("YsaUserControls/_YsaSS", new YsaSSModel(xpath: "site468x60",
xmlSource: "/xml/sites2.xml", width: 468,
height:60, showNavigation: false))
</td>
</tr>
</table>
@Html.ActionLink("Back", "Index", "Home", new { area = "" }, null)
<script src="@Url.Content("~/Scripts/simplegallery.js")" type="text/javascript"></script>
<br />