You really shouldn't be using Coffee Cup to install this script if you don't know what boxes in Coffee Cup do whatever and, even if you did know, it might still not work or be the best way. What you should use is a text editor, like Notepad. Once you have your page looking like you want it to without this script in Coffee Cup, save it and close Coffee Cup, then open the page in Notepad or Simple Text or your favorite text only editor.
Follow the instructions on the demo page. In the text editor you should be able to find the <head></head> and the <body></body> sections of the code referred to on the demo page that are bounded by these respective tags (the tag names are not case sensitive). The only difference is that instead of using something like this (from the demo page step 2):
Code:
<a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">Link 1</a>
as your trigger, if you want a button, use something like this:
Code:
<input type="button" onmouseover="doTooltip(event,0)" onmouseout="hideTip()" value="Link 1">
Make sure to complete all 3 steps.
Once you are finished editing in the text editor, save the file and view/test it in the browser. It might not be safe to open the page again in Coffee Cup - this may automatically change something essential to the script's operation. Make a backup copy both before editing in the text editor and another backup copy after editing the script and before editing it in Coffee Cup again.
The script does have an onload event but, it is included - nothing special is required on your part to institute it unless your page already has another onload event.
Bookmarks