Morpheusweb.it - Risorse per webmaster: script, ASP.NET, C#, Visual Basic .Net, tutorial, asp, javascript, css, php, html, java, ADO, VBScript, forms, frames, Active Server Pages, Dynamic HTML, database, gratis per webmaster e webdesigner

Help

Descriptive text of the link for onmouseover event.


<html>
<head><title>058</title></head>
<script>
var nn = (document.layers) ? 1 : 0;
var ie = (document.all) ? 1 : 0;
var coord_x = 0;
var coord_y = 0;
var auto_close = null;
var inizio_hint = '';
var fine_hint = '';
var supporto = '<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
if (ie) document.write('<span id="hint_txt" style="position: absolute; top: 0; left: 0; visibility: hidden; z-index: 99"></span>');
if (nn) document.write('<layer id="hint_txt" top="0" left="0" visibility="hide" zindex="99"></layer>');
inizio_hint += '<table border="0" cellpadding="0" cellspacing="0">';
inizio_hint += '<tr>';
inizio_hint += '<td bgcolor="#E0E0E0" width="1" height="1" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#E0E0E0" height="1" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#E0E0E0" height="1" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#E0E0E0" height="1" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#000000" width="1" height="1" nowrap>' + supporto + '</td>';
inizio_hint += '</tr>';
inizio_hint += '<tr>';
inizio_hint += '<td bgcolor="#E0E0E0" width="1" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#FFFFE6" height="3" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#000000" width="1" nowrap>' + supporto + '</td>';
inizio_hint += '</tr>';
inizio_hint += '<tr>';
inizio_hint += '<td bgcolor="#E0E0E0" width="1" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#FFFFE6" width="5" nowrap>' + supporto + '</td>';
inizio_hint += '<td bgcolor="#FFFFE6" height="13"><font face="MS Sans Serif, Verdana, Arial" size="1" color="#000000">';
fine_hint += '</font></td><td bgcolor="#FFFFE6" width="5" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#000000" width="1" nowrap>' + supporto + '</td>';
fine_hint += '</tr>';
fine_hint += '<tr>';
fine_hint += '<td bgcolor="#E0E0E0" width="1" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#FFFFE6" height="3" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#000000" width="1" nowrap>' + supporto + '</td>';
fine_hint += '</tr>';
fine_hint += '<tr>';
fine_hint += '<td bgcolor="#000000" width="1" height="1" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#000000" height="1" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#000000" height="1" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#000000" height="1" nowrap>' + supporto + '</td>';
fine_hint += '<td bgcolor="#000000" width="1" height="1" nowrap>' + supporto + '</td>';
fine_hint += '</tr>';
fine_hint += '</table>';
if (ie) document.onmousemove = get_coord;
if (nn) document.captureEvents (Event.MOUSEMOVE); document.onmousemove = get_coord;
function get_coord (e) {
if (ie) {
coord_x = event.clientX + document.body.scrollLeft;
coord_y = event.clientY + document.body.scrollTop;
event.srcElement.onmouseout = off_hint;
}
if (nn) {
coord_x = e.pageX + window.pageXOffset;
coord_y = e.pageY + window.pageYOffset;
e.target.onmouseout = off_hint;
}
return true;
}
function hint (testo) {
if (typeof testo != 'undefined') {
if (testo == "") testo = "&nbsp;";
clearTimeout(auto_close);
auto_close = null;
if (ie) {
hint_txt.innerHTML = inizio_hint + testo + fine_hint;
hint_txt.style.pixelTop = coord_y + 15;
hint_txt.style.pixelLeft = coord_x;
hint_txt.style.visibility = "visible";
}
if (nn) {
document.layers.hint_txt.document.open();
document.layers.hint_txt.document.write(inizio_hint + testo + fine_hint);
document.layers.hint_txt.document.close();
document.layers.hint_txt.left = coord_x;
document.layers.hint_txt.top = coord_y + 15;
document.layers.hint_txt.visibility = "show";
}
auto_close = setTimeout("off_hint()", 10000);
}
}
function off_hint () {
if (ie) hint_txt.style.visibility = "hidden";
if (nn) document.layers.hint_txt.visibility = "hide";
}
</script>
<p><a href="javascript:void(0)" onmouseover="hint('INSERIRE QUI IL MESAGGIO')">PASSA CON IL MOUSE SUL LINK...</a></p>
</html>


Download code...


Print this page


 

Inizio pagina

risorse per webmaster

javascript


html javascript checked onclick rollover document javascripts foreach innerhtml frameset document write css getelementsbytagname javascript menus selected scrollbar onmouseover textarea substring example javascript iframe uppercase textbox javascript class onload indexof referrer dhtml navigation javascript javascript tree menu script close frame onclick script language javascript innerhtml text javascript onchange script html tutorial javascript onmouseover onblur frameset document write getelementbyid eval dhtml javascript script script popup script dhtml scripts javascript script scroller html script javascript java script javascript javascript include script script checkbox script in javascript script javascript script language javascript src script language javascript type

asp, scripts, tutorials,




Webmaster resources Morpheusweb.it - Webmaster resources
asp, dhtml

Morpheusweb.it - Webmaster resources" asp, javascript, php, tutorials, manuals, scripts