ciao a tutti.
per la prima volta devo utilizzare un rollover su dei bottoni fatti da me.
ho trovato su questo sito uno script, funziona con mozilla, netscape, ma con ie 5 mi da dei problemi... ovvero sotto ad ogni bottone mi aggiunge uno spazio che va a sconvolgere tutta la tabella...
lo script è questo:
<SCRIPT LANGUAGE="javascript">
numeroimm=4;
imm=new Array();
for (i=0; i<numeroimm; i++)
{
imm[i]=new Image();
imm[i].src="home/bott"+(i)+".src";
}
var URL;
function cambia(n,URL)
{
document.images[n].src=URL;
}
</SCRIPT>
e lo uso così sui bottoni (come era indicato)
<table width="809" height="492" cellpadding="0" cellspacing="0">
<tr>
<td width="210" height="492" align="left" valign="top">
<table width="210" height="492" cellpadding="0" cellspacing="0">
<tr>
<td width="210" height="100" align="left" valign="top" background="home/top-left.jpg">
</td>
</tr>
<tr>
<td width="210" height="37" align="left" valign="top">
[img]home/bott1.jpg[/img]
</td>
</tr>
<tr>
<td width="210" height="10" align="left" valign="top" background="home/spazio1.jpg">
</td>
</tr>
<tr>
<td width="210" height="37" align="left" valign="top">
[img]home/bott3.jpg[/img]
</td>
</tr>
<tr>
<td width="210" height="10" align="left" valign="top" background="home/spazio2.jpg">
</td>
</tr>
etc etc etc...
qualcuno sa dirmi il motivo???
tnx!