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
rtandon17@gmail.comrtandon17@gmail.com 

Help message not getting diplayed.

Hi,

I am using below script to display help icon and help message to be displayed to the user on a field.

When I had inserted this code in my vf page, it was working , but suddenly it has stopped working.

Please suggest. Thanks!

 

 

 

<span id="Buyer-_help" class="helpButtonOn">
<img class="helpOrb" title="" alt="" src="/s.gif"/>
<script type="text/javascript">
sfdcPage.setHelp('Buyer', 'MyText')</script>
</span>

Ashish_SFDCAshish_SFDC

Hi RTandon, 

 

Is there anything that has changed in your code recently?

 

You may try , <img src="/s.gif" alt="Help" class="helpIcon" title="Your inline text". 

 

Or use the code: 

<apex:page >

    <style>
        .vfHelpText a            {position:relative;}
        .vfHelpText a span       {display: none;}
        .vfHelpText a:hover span {display: block;
                                  position:absolute;
                                  top:1.25em;
                                  padding:2px 5px;
                                  left:-15em; width:15em;
                                  z-index:100;
                                  border:1px solid orange;
                                  background-color:#FEFDB9;
                                  color:black;
                                 }
    </style>
    <span class="vfHelpText">
        <apex:outputLink value="javascript&colon;return false;">
            <img src="/s.gif" alt="" class="helpOrb" />
            <span>{!$ObjectType.Contact.fields.AccountId.inlineHelpText}</span>
        </apex:outputLink>
    </span>
 
</apex:page>

- See more at: http://blog.internetcreations.com/2012/05/using-hover-help-text-in-visualforce/#sthash.CW6GCAbK.dpuf

 

http://blog.internetcreations.com/2012/05/using-hover-help-text-in-visualforce/

 

 

Regards,

Ashish