Ciao O'NEIL,
quello script si riferisce al div chiamato news.
Se vuoi un altro div da scrollare devi fare un po' di modifiche per rendere più parametrizzabile la funzione...
tipo così
si capisce come creare altri div scrollabili?codice:<head> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin // change this to where you store the blank.gif image var blank = "http://www.mysite.com/blank.gif"; topedge = new Array(); leftedge = new Array(); boxheight = new Array(); boxwidth = new Array(); scrollheight = new Array(); topedge['news'] = 130; // location of news box from top of page leftedge['news'] = 10; // location of news box from left edge boxheight['news'] = 150; // height of news box boxwidth['news'] = 210; // width of news box scrollheight['news'] = 240; // total height of all data to be scrolled topedge['news1'] = 130; // location of news box from top of page leftedge['news1'] = 200; // location of news box from left edge boxheight['news1'] = 150; // height of news box boxwidth['news1'] = 210; // width of news box scrollheight['news1'] = 240; // total height of all data to be scrolled function scrollnews(cliptop,div) { if (document.layers) { newsDiv = eval('document.'+div); newsDiv.clip.top = cliptop; newsDiv.clip.bottom = cliptop + boxheight[div]; newsDiv.clip.left = 0; newsDiv.clip.right = boxwidth[div] + leftedge[div]; newsDiv.left = leftedge[div]; newsDiv.top = topedge[div] - cliptop; } else { newsDiv = eval(div+'.style'); newsDiv.clip = "rect(" + cliptop + "px " + (boxwidth[div] + leftedge[div]) + "px " + (cliptop + boxheight[div]) + "px 0px)"; newsDiv.pixelLeft = leftedge[div]; newsDiv.pixelTop = topedge[div] - cliptop; } cliptop = (cliptop + 1) % (scrollheight[div] + boxheight[div]); newsDiv.visibility='visible'; setTimeout("scrollnews(" + cliptop + ",\'"+div+"\')", 150); } // End --> </script> </head> <body OnLoad="scrollnews(0,'news');scrollnews(0,'news1');"> <div ID="news" style="position:absolute; visibility:hidden;top:1; left:1; height:600;clip:rect(10,100,100,10); border-width:0px;"> <table border=0 cellpadding=1 cellspacing=0 bgcolor="white"> <tr> <td> <script language="javascript"> document.write('[img] + blank + [/img]'); </script> </td> </tr> <tr> <td> Testo 1 Testo 2 Testo 3 Testo 4 Testo 5 Testo 6 xxxxxx@hotmail.com </td> </tr> <tr> <td> <script language="javascript"> document.write('[img] + blank + [/img]'); </script> </td> </tr> </table> </div> <div ID="news1" style="position:absolute; visibility:hidden;top:1; left:200; height:600;clip:rect(10,100,100,10); border-width:0px;"> <table border=0 cellpadding=1 cellspacing=0 bgcolor="white"> <tr> <td> questo testo si trova nel div news1 questo testo si trova nel div news1 questo testo si trova nel div news1 questo testo si trova nel div news1 questo testo si trova nel div news1 questo testo si trova nel div news1 questo testo si trova nel div news1 questo testo si trova nel div news1 </td> </tr> </table> </div> </BODY> </HTML>

Rispondi quotando