One common change was,
<style>
.leftmenu
{
COLOR: #000000;
BACKGROUND-IMAGE: 'url(../images/ffcc00_208.gif)';
FONT-SIZE: 9pt;
FONT-WEIGHT: bold;
FONT-FAMILY: Tahoma, Arial, Verdana;
PADDING: 3px;
BORDER: 0px;
TEXT-DECORATION: none;
WIDTH: 208;
HEIGHT:20;
CURSOR: default;
}
.button2
{
COLOR: #000080;
BACKGROUND-COLOR: #ffd700;
FONT-SIZE: 9pt;
FONT-WEIGHT: bold;
FONT-FAMILY: Arial, Verdana;
PADDING: 3px;
BORDER: 2px;
BORDER-TOP-COLOR: #e0e0e0;
BORDER-LEFT-COLOR: #e0e0e0;
BORDER-BOTTOM-COLOR: #444444;
BORDER-RIGHT-COLOR: #444444;
BORDER-STYLE: solid;
TEXT-DECORATION: none;
WIDTH: 208;
HEIGHT: 16;
CURSOR: default;
}
.button3
{
COLOR: #000000;
BACKGROUND-COLOR: #e0f0ff;
FONT-SIZE: 9pt;
FONT-WEIGHT: bold;
FONT-FAMILY: Arial, Verdana;
PADDING: 1px;
BORDER: 2px;
BORDER-TOP-COLOR: #e0e0e0;
BORDER-LEFT-COLOR: #e0e0e0;
BORDER-BOTTOM-COLOR: #444444;
BORDER-RIGHT-COLOR: #444444;
BORDER-STYLE: solid;
TEXT-DECORATION: none;
WIDTH: 204;
HEIGHT: 16;
CURSOR: default;
}
</style>
Original HTML code:
-------------------
<a id="ref3Id" href="javascript:showResponse('Pro');" class="button2" style="color:#ffffff;" OnMouseOver="getElementById('ref3Id').style.color= '#ffd700'" OnMouseOut="getElementById('ref3Id').style.color=' #ffffff'">Company Profile...</a><br>
<div id="Pro"<% If StrComp(Right(Request.ServerVariables("URL"),9),"U sers.asp",1) = 0 Then %> style="DISPLAY: none"<% End if %>>
<a href="editprofile.asp" class="button3">Edit Company Information</a><br>
<a href="product.asp" class="button3">Edit Brand/Products</a><br>
<a href="employee.asp" class="button3">Edit Head Office Personnel</a><br>
<a href="rep.asp" class="button3">Edit Sales Representatives</a><br>
<a href="searchresults.asp?FromProfileLogin=1&SearchB y=2" class="button3">View Profile</a><br>
<a href="javascript:pop_upc('comments.asp?Comments=<% =cmts%>')" class="button3">Help on Profile</a><br>
</div>
<a id="ref4Id" href="AccountAgingbyCustomer_Result.asp?UserId=<%= UserId%>&TxtFormat=false&ShowCredits=1" class="button2" style="color:#ffffff;">Statement of Account</a><br>
Code (new form) so that it works for FireFox as well as I.E.
------------------------------------------------------------
<table border="0" cellpadding="0" cellspacing="0" style="width:208;height:22;">
<tr><td id="ref3Id" class="leftmenu" OnClick="javascript:showResponse('Pro');" OnMouseOver="getElementById('ref3Id').style.color= '#0066ff';" OnMouseOut="getElementById('ref3Id').style.color=' #000000';">
Company Profile...
</td></tr><tr><td height="2"></td></tr></table>
<table id="Pro" border="0" cellpadding="0" cellspacing="0"<% If StrComp(Right(Request.ServerVariables("URL"),9),"U sers.asp",1) = 0 Then %> style="DISPLAY: none"<% End if %>>
<tr><td id="submenu31Ida" class="button3" OnClick="window.location.href='editprofile.asp';" OnMouseOver="getElementById('submenu31Ida').style. color='#0066ff';" OnMouseOut="getElementById('submenu31Ida').style.c olor='#000000';">Edit Company Information</td></tr>
<tr><td id="submenu32Ida" class="button3" OnClick="window.location.href='product.asp';" OnMouseOver="getElementById('submenu32Ida').style. color='#0066ff';" OnMouseOut="getElementById('submenu32Ida').style.c olor='#000000';">Edit Brand/Products</td></tr>
<tr><td id="submenu33Ida" class="button3" OnClick="window.location.href='employee.asp';" OnMouseOver="getElementById('submenu33Ida').style. color='#0066ff';" OnMouseOut="getElementById('submenu33Ida').style.c olor='#000000';">Edit Head Office Personnel</td></tr>
<tr><td id="submenu34Ida" class="button3" OnClick="window.location.href='rep.asp';" OnMouseOver="getElementById('submenu34Ida').style. color='#0066ff';" OnMouseOut="getElementById('submenu34Ida').style.c olor='#000000';">Edit Sales Representatives</td></tr>
<tr><td id="submenu35Ida" class="button3" OnClick="window.location.href='searchresults.asp?F romProfileLogin=1&SearchBy=2';" OnMouseOver="getElementById('submenu35Ida').style. color='#0066ff';" OnMouseOut="getElementById('submenu35Ida').style.c olor='#000000';">View Profile</td></tr>
<tr><td id="submenu36Ida" class="button3" OnClick="javascript:pop_upc('comments.asp?Comments =<%=cmts%>');" OnMouseOver="getElementById('submenu36Ida').style. color='#0066ff';" OnMouseOut="getElementById('submenu36Ida').style.c olor='#000000';">Help on Profile</td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="width:208;height:22;">
<tr><td id="ref4Id" class="leftmenu" OnClick="window.location.href='AccountAgingbyCusto mer_Result.asp?UserId=<%=UserId%>';" OnMouseOver="getElementById('ref4Id').style.color= '#0066ff';" OnMouseOut="getElementById('ref4Id').style.color=' #000000';">
Statement of Account
</td></tr><tr><td height="2"></td></tr></table>
Jorge
|