can some one help me to slide this pictures from left to the right? i would like to display 3/7 of but the must be sliding from left to the right. 6pictures visible and the other 4 hidden inside the slider.
And if possible how to can I use them as thumbnails so that when clicked or "mouse over" on one display it to another control in a big size?
Gracien
Member
42 Points
125 Posts
Slideshow
Jan 09, 2013 12:35 PM|LINK
Hi there,
can some one help me to slide this pictures from left to the right? i would like to display 3/7 of but the must be sliding from left to the right. 6pictures visible and the other 4 hidden inside the slider.
And if possible how to can I use them as thumbnails so that when clicked or "mouse over" on one display it to another control in a big size?
<asp:DataList ID="Repeater1" runat="server" DataKeyField ="Id" DataSourceID="SqlDataSource6r" RepeatDirection="Horizontal" RepeatColumns="6">
<ItemTemplate>
<div style="padding-bottom: 2px; padding-right: 25px">
<span>
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='<%# Eval("PictureUrl","{0}") %>' Width ="200" Height ="120" />
</span>
</div>
<div style="height: 5px; clear: both; margin-bottom: 2px;"><!-- --></div>
<div style="padding-bottom: 2px; padding-right: 25px">
<asp:LinkButton ID="LinkButton2" runat="server" Text='<%# Eval("Title") %>' OnClientClick='<%#Eval("Id","javascript:document.getElementById('frame1').src= 'Reader.aspx?Id={0}'; return false;")%>' />
</div>
</div>
</ItemTemplate>
<ItemStyle VerticalAlign="Top" />
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource6r" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT TOP 6[Id],[PictureUrl], [Title] FROM [eyinda] ORDER BY [Date] DESC , [Id] DESC">
</asp:SqlDataSource>
Afzaal.Ahmad...
Contributor
2662 Points
1040 Posts
Re: Slideshow
Jan 10, 2013 05:37 PM|LINK
Ok, that can be done by using the position.
You can use position for the images you dont want to be as display: none
than the other images will be shown
~~! FIREWALL !~~
Gracien
Member
42 Points
125 Posts
Re: Slideshow
Jan 11, 2013 11:18 AM|LINK
i didn't get that sorry mate
vijay_myl
Contributor
5070 Points
1068 Posts
Re: Slideshow
Jan 11, 2013 11:29 AM|LINK
Hi...
Refer the below link to show slideshow using datalist Control...
http://www.dotnetcode.in/2011/07/slide-show-images-using-datalist.html
My .NET blog
Submit Article