I am completely new to scripting. I have customised a toolbar button in the skin and while it is easy enough to place a hyperlink to be activated on click, I would also like to display a text caption when the user rolls over the button before clicking.
Can anyone provide or point me to an example of the required syntax?
You have to modify the title attribute of the link. The browser will show that text when you hover the link. I believe that WebHelp uses the text of the button as the title.
If that doesn't work for you, you can use the onMouseOver event to show and hide a tooltip. Check out Walter Zorn's tooltip script: http://edwardsmark.com/proofOfConcept/walterZorn/ It has some good examples of how to set up the script.