How to create a custom mini page layout on mouse hover using visualforce page in salesforce?

908    Asked by ranjan_6399 in Salesforce , Asked on Feb 4, 2020
Answered by Admin admin

public class PopupController {

 public List leadList {get;set;}

    public PopupTest () {

        leadList =[select id,name,LeadSource,Status from Lead limit 10];

    }

}

                onmouseout="LookupHoverDetail.getHover('{!lead.Id}').hide();"

                onmouseover="LookupHoverDetail.getHover('{!lead.Id}', '/{!lead.Id}/m?retURL=/{!lead.Id}&isAjaxRequest=1').show();">

                {!lead.name}



Your Answer

Interviews

Parent Categories