Ejemplo n.º 1
0
 public ActionResult _ImageSliderPartial()
 {
     var viewModel = new CompanyImageSliderViewModel()
     {
         SlideIntervalMS = 5000,
         Images = new List<SlidingImage>()
         {
             new SlidingImage()
             {
                 ImageURL = @"../../Content/Company/img/header-bg9.jpg",
                 Caption = @""
             },
             new SlidingImage()
             {
                 ImageURL = @"../../Content/Company/img/header-bg4.jpg",
                 Caption = @""
             },
             new SlidingImage()
             {
                 ImageURL = @"../../Content/Company/img/header-bg.jpg",
                 Caption = @""
             }
         }
     };
     return PartialView(viewModel);
 }
Ejemplo n.º 2
0
 public ActionResult _ImageSliderPartial()
 {
     var viewModel = new CompanyImageSliderViewModel()
     {
         SlideIntervalMS = 5000,
         Images = new List<SlidingImage>()
         {
             new SlidingImage()
             {
                 ImageURL = @"../../Content/Company/img/header-bg9.jpg",
                 Caption = @"Credibility accounted for"
             },
             new SlidingImage()
             {
                 ImageURL = @"../../Content/Company/img/header-bg4.jpg",
                 Caption = @"Live your values & Build Relationship Capital"
             },
             new SlidingImage()
             {
                 ImageURL = @"../../Content/Company/img/header-bg.jpg",
                 Caption = @"Keep commitments, strengthen bonds - It's your reputation"
             }
         }
     };
     return PartialView(viewModel);
 }