Ich mache das lieber mit CSS so: http://www.1ngo.de/web/infobox.html.
hi ingo -
sehr geile lösung - aber wie mach ich es wenn ich echte links mit einer infobox belegen will...
vielleicht geht es mit einer zusätzlich span tag
span.infobox { border-bottom: 1px dashed #c30; text-decoration:none; }
span.infobox:hover { cursor:help; color:#c30; background:white; }
span.infobox span { visibility:hidden; position:absolute; left:16em;
margin-top:1.5em; padding:1em; text-decoration:none; }
span.infobox:hover span { visibility:visible; border:1px solid #c30;
color:blue; background:white; }
</style>
<!--[if IE 5]><style type="text/css">
span.infobox span { display:none; }
span.infobox:hover span { display:block; }
</style><![endif]-->
<!--html-->
<a href="#"><span class="Infobox">Link</span></a>
und noch ne frage - stichtwort barrierefreiheit -
wie interpretiert ein screenreader z.b. jaws diese lösung?