|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Aug 2000
Messaggi: 1209
|
Visualizzare una scritta su una cella di una tabella al pass
A me serve un link che al passaggio del mouse mi visualizza in un altera cella della tabella un discorso, es:
<table> <tr> <td><a href="#">Nome-link</a></td> <td>### punto dove visualizzare il discorso, bla bla bla bla ###</td> </tr> </table> come si fa ??? |
|
|
|
|
|
#2 |
|
Member
Iscritto dal: Dec 2001
Messaggi: 20
|
L'ho fatto un po' in fretta però provalo.
<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x; } function MM_showHideLayers() { //v3.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible' obj.visibility=v; } } function MM_setTextOfLayer(objName,x,newText) { //v3.0 if ((obj=MM_findObj(objName))!=null) with (obj) if (navigator.appName=='Netscape') {document.write(unescape(newText)); document.close();} else innerHTML = unescape(newText); } //--> </script> </head> <body bgcolor="#FFFFFF" text="#000000"> <table border="1" height="200" width="311"> <tr> <td width="147">&nbsp;</td> <td width="148">&nbsp;</td> </tr> <tr> <td width="147" onMouseOver="MM_showHideLayers('Layer1','','show');MM_setTextOfLayer('Layer1','','Testo')" onMouseOut="MM_showHideLayers('Layer1','','hide')">LINK</td> <td width="148">&nbsp;</td> </tr> </table> <div id="Layer1" style="position:absolute; width:137px; height:76px; z-index:1; left: 174px; top: 121px"></div> <p>&nbsp;</p> </body> </html> |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 07:21.



















