From: Adeola A. <awo...@ya...> - 2004-01-16 14:31:51
|
I haven't actually done this yet but what you can do is: 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=20= 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=3D"#" title=3D"Haste makes waste!"=20 onmouseover=3D"showTip(mousex,mousey,this.title);"=20 onmouseout=3D"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, > =A0 > I wish to implement tooltip like function in a layer (Dynapi 3x). > Does anyone know how can I do that? > =A0 > Thanks in advance. > =A0 > Regards, > Chris > --=20 "Pride only breeds quarrels, but wisdom is found in those who take=20 advice" (Proverbs 13:10). |