Here are the steps,
Step 1: Create a basic project MVC with Controller, Model and View:

Step 2: Include required query libraries:

Step 3: Add Div multiple images as below:

Step 2: Include required query libraries:

Step 3: Add Div multiple images as below:
- <div id="SlideshowImages">
- <div> <img src="/Content/Images/IMG_7785.jpg" height="200" width="200"> </div>
- <div> <img src="/Content/Images/IMG_7788.jpg" height="200" width="200"> </div>
- <div> <img src="/Content/Images/IMG_7790.jpg" height="200" width="200"> </div>
- <div> <img src="/Content/Images/IMG_7799.jpg" height="200" width="200"> </div>
- <div> <img src="/Content/Images/IMG_7847.jpg" height="200" width="200"> </div>
- <div> <img src="/Content/Images/IMG_7849.jpg" height="200" width="200"> </div>
- </div>
- <style type="text/css" style="display: none !important;">
- #SlideshowImages {
- margin: 50px auto;
- position: relative;
- width: 200px;
- height: 200px;
- padding: 10px;
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
- }
- #SlideshowImages > div {
- position: absolute;
- top: 10px;
- left: 10px;
- right: 10px;
- bottom: 10px;
- }
- </style>
- <script type="text/javascript">
- $(document).ready(function()
- {
- $("#slideshow > div:gt(0)").hide();
- setInterval(function()
- {
- $('#SlideshowImages > div:first').fadeOut(1000).next().fadeIn(1000).end().appendTo('#SlideshowImages');
- }, 3000);
- });
- </script>

Hope you will understand how we can change the image in specific interval automatically or next and prev button.

Ajay GandhiPosted Jan 6, 2016, 12:59 AM
Thanks
Santhakumar MunuswamyPosted Jan 5, 2016, 11:29 PM
Thanks for nice share
Ajay GandhiPosted Jan 5, 2016, 8:53 AM
Thanks
Muhammad Aqib ShehzadPosted Jan 5, 2016, 7:41 AM
Nice one
Ajay GandhiPosted Jan 4, 2016, 11:23 PM
Thanks everyone
Ankit BansalPosted Jan 4, 2016, 6:21 AM
Nice one..
Raja TPosted Jan 3, 2016, 11:50 PM
Nice, Thanks for sharing
Humayun Kabir MamunPosted Jan 3, 2016, 11:38 PM
Nice...