<div class="container">
    <div class="banner" id="banner">
        <div class="banner-slide">
            <ul>
                @{
                    foreach (dynamic item in Html.AttachmentDataList(new { ParentTable = "pa_site", ParentField = "banner", ParentId = Html.CurrentSiteId() }))
                    {
                        <li>
                            <img src="@item.Path" />
                        </li>
                    }
                }
            </ul>
        </div>
        <a class="prev" href="javascript:void(0)"></a>
        <a class="next" href="javascript:void(0)"></a>
    </div>
</div>
<script type="text/javascript">
    jQuery("#banner").slide({ mainCell: ".banner-slide ul", effect: "left", autoPlay: true });
</script>