function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AuyonAuyon 

Selectively display related list hover link

Hi,


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" />
</apex:page>

 

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

 

Please advise

 

Regards

Auyon