You need to sign in to do that
Don't have an account?
OnMouseOver Not Working?
I have built a simple sort of mini-view to provide details of a record when a link is hovered over with the mouse. It works fine in my dev environment but the onMouseOver doesn't seem to work in production.
Basicly I have a table of ActivityHistories with an OnMouseOver event on the subject field, when you hover over the subject the Activity loads into an output panel to the right. It works fine, in dev.
In production I get the list of ActivityHistories but the OnMouseOver does not work. I'm not getting any javascript errors or anything.
I'm not aware of any settings within Salesforce that turn Javascript on/off but maybe I'm just missing something. Can anyone give me any idea what I'm missing?
Thanks
Jon
The Code
<apex:page standardController="Account" sidebar="false" showHeader="false">
<apex:pageBlock title="Activity History">
<apex:form >
<table border="0" cellspacing="4">
<tr>
<td valign="top" width="375">
<apex:dataTable value="{!account.ActivityHistories}" var="open" cellPadding="1" cellspacing="4" border="0">
<apex:column width="200">
<apex:facet name="header"><b>Subject</b></apex:facet>
<apex:outputPanel >
<apex:actionSupport status="requesting" event="onmouseover" rerender="detail" >
<apex:param name="cid" value="{!open.id}" />
</apex:actionSupport>
<b>{!open.Subject}</b>
</apex:outputPanel>
</apex:column>
<apex:column >
<apex:facet name="header"><b>Status</b></apex:facet>
{!open.Status}
</apex:column>
</apex:dataTable>
</td>
<td>
<apex:outputPanel id="detail">
<apex:actionStatus id="requesting" >
<apex:facet name="start">
<apex:outputPanel > <!-- Using a panel to make the facet work - only allows one child... -->
<apex:image url="{!$Resource.AjaxRoller}" alt="loading..."/>
<apex:outputText > ... Loading ... </apex:outputText>
</apex:outputPanel>
</apex:facet>
<apex:facet name="stop">
<apex:detail subject="{!$CurrentPage.parameters.cid}" relatedList="false" title="false" />
</apex:facet>
</apex:actionStatus>
</apex:outputPanel>
</td>
</tr>
</table>
</apex:form>
</apex:pageBlock>
</apex:page>