I seemed to have the same problem a while ago when developing a site using dynapi 2.5.7 but I just ended up using overlib for the tooltips instead. but I guess I could have used the method Leif mentioned by creating a layer and having that displayed onmouseover and hidden 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" [... dynapi.library.include('dynapi.api'); ...] the tool tip does not appear in Mozilla Clients (Firefox, Mozilla 1.5, 1.6 etc. on W2k)


CODE-EXAMPLE:

<html>

<head>

  <title>Tooltip</title>

  <script type="text/javascript" src="/js/_dynapi/dynapi.js"></script>
  <script type="text/javascript">
    dynapi.library.setPath('/js/_dynapi/');
    dynapi.library.include('dynapi.api');
  </script>

  <style type="text/css">
    #testElementLayer {position:absolute; left:100px; top:10px; z-index:10;}
  </style>


</head>

<body>

<div id="testElementLayer" name="testElementLayer">
  <img src="img/image.gif" border="0" name="tafIcon" id="tafIcon" alt="Lorem Ipsum" title="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 snapshot is "dynapi3x_2003_11_03.zip 03-Nov-2003 11:11" :(



Best regards, Kevin

--
"Pride only breeds quarrels, but wisdom is found in those who take advice" (Proverbs 13:10).




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to