+ Start a Discussion
Raja Sekhara Reddy M VRaja Sekhara Reddy M V 

Need help on Help text.

Hi all,
 

Need help on getting help text with out using any objects or fields. Please look in to this code snippet

 <apex:page controller="ActionSupFunController">
    <apex:form >
        Click me to call action function method  
        <apex:inputcheckbox onmouseover="openMemberPop()" /><br></br> <br></br>  
        <apex:image onmouseover="openMemberPop()" onmouseout="clearMemberPop()" url="http://www.google.co.in/url?sa=i&rct=j&q=&esrc=s&frm=1&source=images&cd=&cad=rja&uact=8&docid=jdG1dmgwZ2M29M&tbnid=cv1BApg8TUznjM:&ved=&url=http%3A%2F%2Fbyronmiki.com%2F%3Fp%3D432&ei=jvvhU4rTOpKyyATyqoDQDA&bvm=bv.72197243,d.aWw&psig=AFQjCNHTmRYsHjNp76Hvb89XUGuYxNJbKw&ust=1407405327250741 (http://www.google.co.in/url?sa=i&rct=j&q=&esrc=s&frm=1&source=images&cd=&cad=rja&uact=8&docid=jdG1dmgwZ2M29M&tbnid=cv1BApg8TUznjM:&ved=&url=http%3A%2F%2Fbyronmiki.com%2F%3Fp%3D432&ei=jvvhU4rTOpKyyATyqoDQDA&bvm=bv.72197243,d.aWw&psig=AFQjCNHTmRYsHjNp76Hvb89XUGuYxNJbKw&ust=1407405327250741)" />
       
        <script>
            function openMemberPop()
            {
                document.getElementById('MemberPopUp').style.display = 'block';
                document.getElementById('MemberPopUpText').innerHTML = "Commercial associates must authenticate with 2 of the following and Medicare associates must authenticate with 3 ";
            }
            function clearMemberPop()
            {
                document.getElementById('MemberPopUp').style.display = 'none';
                document.getElementById('MemberPopUpText').innerHTML = "";
            }
        </script>
    </apex:form>
</apex:page>

Rahul_sgRahul_sg
see if you can use <apex:pageBlockSectionItem helpText=""> or else refer to this site http://michaelwelburn.com/2014/01/13/customization-of-salesforce-com-help-text-bubbles-in-visualforce/

This should help
Raja Sekhara Reddy M VRaja Sekhara Reddy M V
HI Rahul,

Hello help text bubble this we should not hard code it, we have must retrive from Static Resource.

  <apex:pageBlockSectionItem helpText="Hello help text bubble">