try this code
<HTML>
<HEAD>
<!--// Define the popup styles here. //-->
<style>
#example1 {
position:absolute;
width:150px;
height:100px;
color:blue;
background-color:#FDF5E6;
text-align:center;
visibility:hidden;
z-index:10;
}
#example2 {
position:absolute;
width:150px;
height:100px;
color:blue;
background-color:#FDF5E6;
text-align:center;
visibility:hidden;
z-index:10;
}
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
<!--// Begin
function ViewData(user,ValueShow,x)
var mousex = window.event.x; // mouse location capture event
var mousey = window.event.y; // mouse location capture event
var str;
user.style.visibility = ValueShow; // show or hide respective Example
user.style.left = mousex + 5; // place popup at the mouse X (left) location
user.style.top = mousey; // place popup at the mouse Y (top) location
//Allows user to change format on popup once and apply to all popups
str = '<table border="2" bordercolor="#FFA07A" width="148">\n<tr valign="middle">\n';
str = str + '<td height="98" align="center">\n<font color=Blue>\n' + x + '</font>\n</td>\n</tr>\n</
user.innerHTML = str;
}
// End -->
</script>
</HEAD>
<BODY>
Place your mouse over one of the Examples below..
<br><br>
<font color="Green">
<a onmouseover="ViewData(exam
<br><br>
<a onmouseover="ViewData(exam
<!-- Table Definition for Popup -->
<!-- All tables must have there own style sheet assigned to it -->
<!-- Example1 Popup Data -->
<div id="example1">
</div>
<!-- Example2 Popup Data -->
<div id="example2">
</div>
<!-- End Popup Definitions -->
</body>
</html>
Main Topics
Browse All Topics





by: mplungjanPosted on 2001-07-26 at 01:03:11ID: 6321098
You cannot influence the font or timeout..
ch?q=javas cript+tool tip
You can show and hide a layer instead if you want
http://www.google.com/sear
Michel