You need to sign in to do that
Don't have an account?
rtandon17@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>
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: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