FILE Index.html
<html>
<head>
<title>...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="moove.js"></script>
<style type="text/css"> <---
body { margin-top: 0px; background-color: #F8F8FA; background-image: url(images/bg.jpg); margin-bottom: 0px;
}
</style>
</head>
<body>
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="1024" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="131" background="images/bgsx.jpg"></td>
<td width="762"><table width="762" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="5" valign="top">[img]images/indexup.jpg[/img]
</td>
</tr>
<tr>
<td colspan="5">[img]images/indexcn.jpg[/img]</td> </tr> <tr>
<td width="280">[img]images/menusx.jpg[/img]</td>
<td width="122">[img]images/site.jpg[/img]</td>
<td width="122">[img]images/forum.jpg[/img]</td>
<td width="122">[img]images/email.jpg[/img]</td>
<td width="116">[img]images/menudx.jpg[/img]</td> </tr> <tr>
<td colspan="5">[img]images/indexdw.jpg[/img]</td>
</tr> </table> </td>
<td width="131" background="images/bgdx.jpg"></td>
</tr></table></td></tr> </table>
</body>
</html>
File: Moove.js
function on1() {if (!document.images) return; document.site.src = "images/sitesel.jpg";} function on2() {if (!document.images) return; document.forum.src = "images/forumsel.jpg";} function on3() {if (!document.images) return; document.email.src = "images/emailsel.jpg";} function off1() {if (!document.images) return; document.site.src = "images/site.jpg";} function off2() {if (!document.images) return; document.forum.src = "images/forum.jpg";} function off3() {if (!document.images) return; document.email.src = "images/email.jpg";}
var imgslist = new Array( "images/site_sel.gif", "images/forum_sel.gif", "images/email_sel.gif",
var imgs=new Array(); for (x=0; x<imgslist.length; x++) if (document.images) {imgs[x]=new Image(); imgs[x].src = imgslist[x];}
Dovrebbe cambiare le immagini in grassetto al passaggio del mouse ma non va!!!
Spero adesso si capisca, non sono un esperto del campo, mi diletto solo per passatempo.