File: index.html
File: moove.jsCodice PHP:<html> <head> <title>SAS - SoftAir</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="moove.js"></script> <style type="text/css"> </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">[url="index.html"][img]images/site.jpg[/img][/url]</td> <td width="122">[url="index.html"][img]images/forum.jpg[/img][/url]</td> <td width="122">[url="index.html"][img]images/email.jpg[/img][/url]</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>
Passando Sopra con il mouse dovrebbe cambiare l'immagine ma non lo fa.Codice PHP: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];}
Ho controllato e mi sembra giusto solo che sono un po fuori allenamento. HELP!!!

