You need to sign in to do that
Don't have an account?
Dominic Sebastian 7
Mouse Over for Activity History
I had created the following code but it seems to not work for the Hover
I get the output as follows.
<apex:page standardController="Account" extensions="HoverActivityHistory1"> <apex:pageBlock title="Activity History List"> <apex:pageBlockTable value="{!Taskvalues}" var="acc"> <apex:column headerValue="{!$ObjectType.Task.Fields.Subject.Label}"> <a href="/{!acc.id}" id="lookup{!acc.id}opp4" onblur="LookupHoverDetail.getHover('lookup{!acc.id}opp4').hide();" onfocus="LookupHoverDetail.getHover('lookup{!acc.id}opp4', '/{!acc.id}/m?retURL=/{!acc.id}&isAjaxRequest=1').show();" onmouseout="LookupHoverDetail.getHover('lookup{!acc.id}opp4').hide();" onmouseover="LookupHoverDetail.getHover('lookup{!acc.id}opp4', '/{!acc.id}/m?retURL=/{!acc.id}&isAjaxRequest=1').show();"> {!acc.Subject} </a> </apex:column> <apex:column headerValue="{!$ObjectType.Task.Fields.Description.Label}" value="{!acc.Description}" /> </apex:pageBlockTable> </apex:pageBlock> </apex:page>And the Apex Class
public class HoverActivityHistory1{ public static List<Account> accounts; public static List<Task> acc; public HoverActivityHistory1(ApexPages.StandardController controller) { acc = [select Id, WhatId, Subject, Description from Task where WhatId =: ApexPages.currentPage().getParameters().get('id') ]; } public static List<Task> getTaskvalues(){ return acc; } }
I get the output as follows.
could you please share these javascript function LookupHoverDetail.getHover