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

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?







The Code




<apex:page standardController="Account" sidebar="false" showHeader="false">
    <apex:pageBlock title="Activity History">
        <apex:form >
        <table border="0" cellspacing="4">
        <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="{!}" />
                <apex:column >
                    <apex:facet name="header"><b>Status</b></apex:facet>


     <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:facet name="stop">
                <apex:detail subject="{!$CurrentPage.parameters.cid}" relatedList="false" title="false" />


Some of the events are not working with actionsupport...did you try other events and see if they are working like onclick...I was having issues with onselect...I am thinking of switching to Java script.