标准版

您所在的位置: 首页 >>轮播图效果预览

调用示例

Html.Action("_ScrollImage", "_Article", new { area = "PartialView", mode = "scroll", viewArticle = new ViewArticle { //设置滚动模式
    Article = new Article { ColumnId = 272 },
    IsJumpTarget = true,
    ContentLength = 1, //设置一次滚动的个数
    SummaryLength = 1, //设置一屏显示个数
    Count = 12,
    TitleLength = 19, } })

中心模式:mode = "scroll",SummaryLength = 1,控制当前一屏显示个数 ContentLength = 1,控制当前一次滚动多少个

中心模式:mode = "fade",切换模式

中心模式:mode = "center,0px",中心模式,第二数表示左右2边显示的宽度