hello to all
i want to repeat the all four image on single image on timer tick
my code:
jewel.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
jewel.aspx.cs:
string[] aa = new string[4];
protected void Page_Load(object sender, EventArgs e)
{
aa[0] = "image/1.gif";
aa[1] = "image/2.gif";
aa[2] = "image/3.gif";
aa[3] = "image/4.gif";
}
protected void Timer1_Tick(object sender, EventArgs e)
{
chang();
}
public void chang()
{
for (int i = 0; i <= 3; i++)
{
ImageButton1.ImageUrl = aa[i];
}
}
it showing only first and last image
Abhimanyu K VatsaPosted Jul 3, 2010, 9:52 AM
there are lots of way to create it as like using javascript.
find here : http://www.dynamicdrive.com/dynamicindex4/index.html
as dynamic drive is very good website to get such. you have to search item there yourself.
vishal jadavPosted Jul 3, 2010, 4:41 AM
vishal jadavPosted Jul 3, 2010, 4:25 AM
kshama parasharPosted Jul 3, 2010, 4:02 AM
vishal jadavPosted Jul 3, 2010, 3:25 AM