I have designed custom detail-views using Visual-force to show on clicking custom tabs.
I want to change the color of the tab when selected.
As you can see in this picture, Here I have clicked on tab Relationship Management. On this, I want to change the color of Relationship Management tab, But when i click on this tab, Home tab is focused and it is looking like we have clicked Home Tab.
I am using this code to open a custom view on clicking this particular tab,
My Custom-Tab' Object properties are:
And My Custom-tab properties are:
My visual-force Code is:
<apex:page controller="RelationshipManagement_ApexClass" >
<apex:form id="RelationshipManagementForm">
<apex:commandButton action="{!GoToLeads}" value="Leads" id="Leads_Link" style="background:YellowGreen; height:30px;"/>
<apex:commandButton action="{!GoToContacts}" value="Contacts" id="Contacts_Link" style="background:YellowGreen; height:30px"/>
<apex:commandButton action="{!GoToAccounts}" value="Accounts" id="Accounts_Link" style="background:YellowGreen; height:30px"/>
<apex:commandButton action="{!GoToOpportunities}" value="Opportunities" id="Opportunities_Link" style="background:YellowGreen; height:30px"/>
<apex:commandButton action="{!GoToClient_Relationship}" value="Client Relationships" id="Client_Relationships_Link" style="background:YellowGreen; height:30px"/>
</apex:form>
Any way to do this? Please help.