Er. Manish Insan
unread,Feb 15, 2011, 5:36:51 AM2/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetProfessionals-Group
Change the size, color of multiple link buttons using function--
Write this in javascript code----
function change(lnk,evt)
{
if(evt.type == "mouseover")
{
lnk.style.color = "#8D8D8D";
lnk.style.fontSize = "medium";
}
else if(evt.type == "mouseout")
{
lnk.style.color = "white";
lnk.style.fontSize = "large";
}
}
Linkbutton code--
<asp:LinkButton ID="lnkBtnPMessage" runat="server" Font-Bold="False"
onmouseover="change(this,event)" onmouseout="change(this,event)"
Font-Size="Large"
ForeColor="#FBFBFB" Font-Names="Calibri"
PostBackUrl="~/
PresidentMessage.aspx">aaaaaaaa</asp:LinkButton>