|
From: Adeola A. <awo...@ya...> - 2004-05-26 04:36:38
|
I seemed to have the same problem a while ago when developing a site=20
using dynapi 2.5.7 but I just ended up using overlib for the tooltips=20
instead. but I guess I could have used the method Leif mentioned by=20
creating a layer and having that displayed onmouseover and hidden=20
onmouseout.
Adeola.
On 25 May 2004, at 10:21, Kevin Breynck wrote:
>
> Hello,
>
> when the user rolls over an image i want to display a tool tip.
> I use the attributes ALT and TITLE inside of an image tag.
>
> The Problem:
> When i include the dynapi library "dynapi.api" [...=20
> dynapi.library.include('dynapi.api'); ...] the tool tip does not=20
> appear in Mozilla Clients (Firefox, Mozilla 1.5, 1.6 etc. on W2k)
>
> CODE-EXAMPLE:
>
> <html>
>
> <head>
>
> =A0 <title>Tooltip</title>
>
> =A0 <script type=3D"text/javascript" =
src=3D"/js/_dynapi/dynapi.js"></script>
> =A0 <script type=3D"text/javascript">
> =A0 =A0 dynapi.library.setPath('/js/_dynapi/');
> =A0 =A0 dynapi.library.include('dynapi.api');
> =A0 </script>
>
> =A0 <style type=3D"text/css">
> =A0 =A0 #testElementLayer {position:absolute; left:100px; top:10px;=20
> z-index:10;}
> =A0 </style>
>
> </head>
>
> <body>
>
> <div id=3D"testElementLayer" name=3D"testElementLayer">
> =A0 <img src=3D"img/image.gif" border=3D"0" name=3D"tafIcon" =
id=3D"tafIcon"=20
> alt=3D"Lorem Ipsum" title=3D"Lorem Ipsum" />
> </div>
>
> </body>
>
> </html>
>
> Can someone help me?
>
> And one more question:
> Is the dynapy 3.x project still alive? I ask because the latest=20
> snapshot is "dynapi3x_2003_11_03.zip 03-Nov-2003 11:11" :(
>
>
> Best regards,
> Kevin
--=20
"Pride only breeds quarrels, but wisdom is found in those who take=20
advice" (Proverbs 13:10).
|