Asp.net Create Hover Label
Page 1 of 1
Asp.net Create Hover Label
Take a panel and a label inside the panel and make panel same size of the label and do the code in page load event
Label1.Attributes.Add("onmouseover", "document.getElementById('" & Label1.ClientID & "').style.color='" & "red" & "';")
Label1.Attributes.Add("onmouseout", "document.getElementById('" & Label1.ClientID & "').style.color='" & "blue" & "';")
Panel1.Attributes.Add("onmouseout", "document.getElementById('" & Label1.ClientID & "').style.cursor='" & "pointer" & "';")
Panel1.Attributes.Add("onmouseover", "document.getElementById('" & Label1.ClientID & "').style.cursor='" & "pointer" & "';")
Label1.Attributes.Add("onmouseover", "document.getElementById('" & Label1.ClientID & "').style.color='" & "red" & "';")
Label1.Attributes.Add("onmouseout", "document.getElementById('" & Label1.ClientID & "').style.color='" & "blue" & "';")
Panel1.Attributes.Add("onmouseout", "document.getElementById('" & Label1.ClientID & "').style.cursor='" & "pointer" & "';")
Panel1.Attributes.Add("onmouseover", "document.getElementById('" & Label1.ClientID & "').style.cursor='" & "pointer" & "';")
Similar topics
» Asp.net Click on Label and open popup
» Create Your Own Fonts
» HOW TO CREATE LIBRARY FILES IN C:
» CREATE NONCREATABLE FOLDERS IN WINDOWS:
» DOES YOU WANT TO CREATE A FILE WITH ANY SIZE YOU NEED? EXP: A TEXT FILE OF 100 MB WITHOUT A SINGLE TEXT!!!!!!
» Create Your Own Fonts
» HOW TO CREATE LIBRARY FILES IN C:
» CREATE NONCREATABLE FOLDERS IN WINDOWS:
» DOES YOU WANT TO CREATE A FILE WITH ANY SIZE YOU NEED? EXP: A TEXT FILE OF 100 MB WITHOUT A SINGLE TEXT!!!!!!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum