2

我正在做一个项目,我必须在其中实现闪存卡,用户可以添加图像或文本,然后像 power point 演示一样在线播放它们例如像这样

我使用过 Jquery Cycle 插件,但它没有播放像这个链接这样的文件,有人能建议我如何实现这个功能吗?下面是我的代码

<span id="prev">Prev</span></a> <a href="javascript:void(0);"><span id="next">Next</span></a>
<div class="pics" id="slideshow">

                    @foreach (var item in Model.CardContent)
                    {
                        if (item.ImagePath != null)
                        {
                        <img src="../../FlashCardsImages/@item.ImagePath" width="200" height="200" />
                        }
                        <p>@item.Answer</p>
                    }            
            </div>


  $('#slideshowsssss').cycle({ fx: 'scrollHorz', timeout: 0, prev: '#prev', next: '#next' });

问候

4

0 回答 0