hi
how to change image url with transition or effect
I put button and image on the page and I want when users click on the button it will change the image's image URL so I wrote the below codes:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
.DivImg {
float: right;
width:400px;
height:300px;
border: 1px solid red;
}
.image {
width:400px;
height:300px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div>
<asp:ImageButton ID="Imgchange" runat="server" ImageUrl="~/Image/main/vorod1.png" OnClick="Imgchange_Click" />
<div class="DivImg" runat="server">
<asp:Image ID="Img1" runat="server" CssClass="image" ImageUrl="~/image/slideshow/02.jpg"/>
</div>
</div>
</div>
</form>
</body>
</html>
and
protected void Imgchange_Click(object sender, ImageClickEventArgs e)
{
Img1.ImageUrl = "~/image/slideshow/03.jpg";
}
here it will change the image url but I want it does with transition or effect on the image
How I can do it?
Best regards
Neda