1. create a hidden layer with no content 2. On mouseOver of your activation area have the layer displayed with content and use the mouse position for placing the layer.
The layer content could be passed from the link of maybe use the title attribute to store this.
<snip> <!-- in your header --> <script> function showTip(x,y,txt) { layer.moveTo(x,y); layer.setHTML(txt); layer.setVisible(true); }
function hideTip() { layer.setVisible(false); } </script>
<!-- in the body -->
<a href="#" title="Haste makes waste!" onmouseover="showTip(mousex,mousey,this.title);" onmouseout="hideTip();">haste</a>
</snip>
I hope this is what you're looking for? Good luck!
Adeola.
On 5 Jan 2004, at 00:57, chris chern wrote:
Hi guys, I wish to implement tooltip like function in a layer (Dynapi 3x). Does anyone know how can I do that? Thanks in advance. Regards, Chris
--
"Pride only breeds quarrels, but wisdom is found in those who take advice" (Proverbs 13:10).
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help