|
From: Kevin B. <Kev...@bb...> - 2004-05-25 09:21:19
|
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 |