ik heb zojuist een javascript toegepast op mijn pagina
zie;
http://www.webmatze.de/webdesign/javascript/tooltips.htm
en nu loop ik tegen het volgende probleem;
wanneer ik mouseover doe met mijn link, verschijnt het tekstvak perfect en mooi, alleen mijn framezit in het weggetje...
ik heb een framset vergelijkbaar met deze;
|--------------------------------|
| top.php |
|--------------------------------|
| l | |
|e | |
| f | |
| t | main.php |
| | |
| | |
| | |
|--------------------------------|
| bottom.php |
|--------------------------------|
beetje profosorisch maja... :)
mijn link met de tekstballon staat op bottom.php
maar;
de ballon wordt overlapt met main.php!
kan ik hier iets aan doen?
dit is mijn link script;
<?
<script>
<!--
wmtt = null;
document.onmousemove = updateWMTT;
function updateWMTT(e) {
x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
y = (document.all) ? window.event.y + document.body.scrollTop : e.pageY;
if (wmtt != null) {
wmtt.style.left = (x - 220) + "px";
wmtt.style.top = (y - 270) + "px";
}
}
function showWMTT(id) {
wmtt = document.getElementById(id);
wmtt.style.display = "block"
}
function hideWMTT() {
wmtt.style.display = "none";
}
//-->
</script>
<div class="tooltip2" id="2a">
//content
</div>
// link;
<a href="#" onMouseOver="showWMTT('2a')" onMouseOut="hideWMTT()">Aanwezig</a><br><br>
?>
en mijn frameset;
<?
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="80,*,40" frameborder="NO" border="0" framespacing="0">
<frame src="top.php" name="topFrame" scrolling="NO" noresize>
<frameset cols="180,*" frameborder="NO" border="0" framespacing="0">
<frame src="left.php" name="leftFrame" scrolling="NO" noresize>
<frame src="Algemeen/main.php" name="mainFrame">
</frameset>
<frame src="bottom.php" name="bottomFrame" scrolling="NO" noresize>
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>
?>