+ Start a Discussion

Selectively display related list hover link


I am new to Visualforce, I would like to get to a simple visualforce page which show a detail view of my record and show only selected related lists below. But I am unable to make the related list hover link at the top of the page to be as per the selected list, it either shows all or none.


E.g. In a Accounts Details page, if I use the following code it shows all the related list links


<apex:page standardController="Account">
<apex:detail relatedListHover="true" relatedList="true"/>
<apex:relatedList list="Cases" />
<apex:relatedList list="Contacts" />


But I need only the hover links for Cases and Contacts at the top.


Please advise