Click here to Skip to main content
14,388,492 members
Rate this:
Please Sign up or sign in to vote.
See more:
I need a code of automatic slide show in ASP.NET C# or java script for my website, please guide me in this regard

thanks
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 1

Searches are pretty easy.

An ASP.NET Slide Show[^] was found right here on Code Project.

Google search[^] returned a measly 4.39 million results for the "C# Slideshow asp.net" query.
   
Comments
thatraja 9-Jul-11 15:03pm
   
Good one, 5!
Rate this:
Please Sign up or sign in to vote.

Solution 2

Google "lightbox". There are several variations of this code, at least one of which provides an actual automated slide-show feature.
   
Comments
thatraja 9-Jul-11 15:03pm
   
Ofcourse. 5!
Rate this:
Please Sign up or sign in to vote.

Solution 3

   
v2
Comments
thatraja 9-Jul-11 15:04pm
   
That list contains a bunch, 5!
Monjurul Habib 10-Jul-11 5:06am
   
Thank you.
Rate this:
Please Sign up or sign in to vote.

Solution 4

Try Some another links to create Slideshow using Asp.net and Javascript

Web-Based Image Slideshow using JavaScript[^]

if you are familiar with Ajax you could use Ajax Slide Show Extender then try
Asp.Net Slide Show Samples[^]
   
Comments
thatraja 9-Jul-11 15:04pm
   
Good one, 5!
RaviRanjanKr 10-Jul-11 0:40am
   
Thanks Raja :)
Rate this:
Please Sign up or sign in to vote.

Solution 5

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
<style type="text/css">
.slideshow { height: 135px; width: 900px; margin: auto }
.slideshow img { padding: 0px; border: 0px solid #ccc; background-color: #fff; }
</style>
   
    <script src="JScript.js" type="text/javascript"></script>//download this plugin from google
    <script src="cycle.js" type="text/javascript"></script>// download this plugin from google

 
<script type="text/javascript">
    $(document).ready(function() {
        $('.slideshow').cycle({
            fx: 'shuffle' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
        });
    });
</script>


</head>
<body>
<div class="slideshow">
<a href="#"><img src="img/a.png" width="900px" height="135px" /></a>
<a href="#"><img src="img/b.png" width="900px" height="135px" /></a>
<a href="#"><img src="img/c.png" width="900px" height="135px" /></a>
<a href="#"><img src="img/d.png" width="900px" height="135px" /></a>
<a href="#"><img src="img/e.png" width="900px" height="135px" /></a>
</div>
</body>
</html>
   
v3
Comments
RaviRanjanKr 9-Jul-11 6:41am
   
hey! Sachin always uncheck "Ignore HTML tags and entities" while using "pre" tags.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100