<div class="slide com-bd">
    <div class="sfullSlide">
        <div class="bd">
            <ul class="clearfix">
                @{
                    int count = 0;
                    foreach (dynamic item in Html.InfoDataList(new { ColumnId = 4240, ShowNumber = 4, HasThumbnail = 1 }))
                    {
                        string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                        string thumbnail = item.Thumbnail;
                        <li>
                            <a href="@url">
                                <img src="@thumbnail" alt="@item.Title" />
                                <p>@item.Title</p>
                                <div class="bottom-bg"></div>
                            </a>

                        </li>
                        count++;
                    }
                }
            </ul>
        </div>
        <div class="hd">
            <ul>
                @for (int i = 1; i <= count; i++)
                {
                    <li>@i</li>
                }
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript">
    //banner/*鼠标移过，左右按钮显示*/
    jQuery(".sfullSlide").hover(function () { jQuery(this).find(".prev,.next").stop(true, true).fadeTo("show", 0.5) }, function () { jQuery(this).find(".prev,.next").fadeOut() });
    jQuery(".sfullSlide").slide({ titCell: ".hd li", mainCell: ".bd ul", effect: "fold", autoPlay: true, delayTime: 700 });
</script>