Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\ShiXun\Control\Index\IndexVideoBySlider.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Index.IndexVideoBy" %> <div class="carousel"> <div class="slides"> <!-- BEGIN CAROUSEL --> <% foreach (var video in this.ListVideo) { %> <div> <%= new HtmlImg(SettingGroup.VideoCoverL(video), video.Name) { OnErrorImg=SettingGroup.DefaultSliderImg,} %> <div class="banner-inner"> <div class="bg"></div> <h2> <%if (video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? && CookieGroup.UserCode == null) { %> <a data-toggle="modal" class="clickAndShowLoginModal" data-target="#sharedModal" data-guid="" id="clickAndShowLoginModal" style="cursor:pointer" ><%=video.Name %></a> <% } else { %> <%= new HtmlAnchor(video.Name) { Title = video.Name, Target = "_blank", Href = WebUrl.VideoPlay(video.Guid) }%> <% } %> </h2> <p><%= video.Description %> </p> </div> </div> <% } %> </div> </div> <%= Import.CSS("lib/carousel/jquery.carousel.css")%> <%= Import.ScriptTheme("lib/carousel/jquery.wheel.js") %> <%= Import.ScriptTheme("lib/carousel/jquery.carousel.js") %> <script> $(document).ready(function () { var w = $('.carousel').parent().width(); $('.carousel').carousel({ carouselWidth: w, carouselHeight: 330, directionNav: true, shadow: true, buttonNav: 'bullets' }); }); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de