| Topic : ASP.NET with C# Programming |
|
|
|
|
Activity:
Question posted: 04 18 2009 07:20:57 +0000,
1 answers, 213 views, last activity
07 06 2010 20:18:08 +0000
|
|
Hi friends,
How to change the image size whenever i hover the mouse on the images. I'm showing the images in the gridview control. The images are taken from the database. This is my code but it is not working properly.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[0].Attributes.Add("OnMouseOver","this.style.width='100px';");
e.Row.Cells[0].Attributes.Add("onmouseout", "this.style.width='80px';");
}
}
Can anyone solve my problem?
1 Answers for "How to change the image size when hover the mouse?"
Prev1NextShowing 1 - 1 of 1
http://www.astahost.com/info.php/dynamically-change-background-image-mouse-effects_t11156.html
Check out this link.....hope this helps you..
Prev1NextShowing 1 - 1 of 1
Found the question
"How to change the image size when hover the mouse?"
interesting?
Refer to your connections and communities

Career Portal For IT Products Sector!
- Create a confidential Career Profile and Resume/C.V. online
- Get advice for planning their career and for marketing of experience and skills
- Maximize awareness of and access to the best career opportunities
Viewers also viewed
|
|
|
|
|
|
Unanswered Questions (76)
|
|
|
|
|
|
Sponsored Jobs
More From Author
Hi friends, I'm new to Visual C++. And I want to know the real world applications which are developed by using VC++. If you know the answer, please post your answer here or http:\\computerprogramminghelp.blogspot.com |
How to change the image size when hover the mouse? |
How to call a stored procedure using SQL Server 2000 and C#.NET? |