Author: ASPusers | Posted on: 1/21/2011 7:40:16 PM | Views : 342

 
Hi,
I wonder how it will be possible to have an imagebutton to switch between Image1.jpg and Image2.jpg with an interval of 1 second. It will loop like this Image1.jpg,Image2.jpg,Image1.jpg all the time.
For example in this case, the images will start switch if the public variable blinkImage is "true".
public String blinkImage = "true"; <%if( blinkImage == "true" %> <%{ %> <%//Begin to switch between 2 images with an interval for ImageButton6? %> <%} %> <asp:ImageButton ID="ImageButton6" runat="server" Height="12px" Width="16px" ImageUrl="~/images/Image1.jpg" onclick="ImageButton6_Click" /> ...

Go to the complete details ...