+ Start a Discussion
aditya3aditya3 

How to use onmouseover attribute in <apex:tabPanel>

Hi all,
Here Is a sample code,I need to work onmouseover tab,while I am moving the mouse the tab should change .
<apex:page id="thePage">
    <apex:tabPanel switchType="client" selectedTab="name2" id="theTabPanel" onmouseover="">
        <apex:tab label="One" name="name1" id="tabOne">content for tab one</apex:tab>
        <apex:tab label="Two" name="name2" id="tabTwo">content for tab two</apex:tab>
    </apex:tabPanel>
</apex:page>
 
NagaNaga (Salesforce Developers) 
Hi Aditya,

Please see the sample code below

User-added imagePlease let me know if this helps

Best Regards
NagaKiran
Mark HartnadyMark Hartnady
@NagaKiran,
Nice sample, but unfortunately it doesn't address the question, which is how to use the onmouseover attribute in <apex:tabPanel> not <apex:outputPanel>
Furthermore, it seems that onmouseover is not accessible in <apex:tab> 
Even putting <apex:tab onmouseover="alert('test');"> renders nothing :(