3 Replies Latest reply on Apr 24, 2012 2:58 PM by thinksteep

    Anyway to show a tooltip on page load?

    netricsoft

      Ive tried using rich:componentControl below but the show() method looks like it needs a mouse event passed to show the tooltip. Expected behavior would be to display the tooltip relative to the target based on the target's layout if event is null or unavailable. Want to use as a solution for introducing elements of a web interface to a first time user, etc...

       

      Any Ideas?

       

      {code:xml}

      <span id="myid">Need a hint bubble for new user here.</span>


      <rich:toolTip attached="false" value="Tool tip content."

                    for="myid" id="myidtip" styleClass="bubble"/>

       

      <rich:componentControl attachTiming="onload" for="myidtip" operation="show"/>

      {code}