Grazie ora funziona!!

Se servisse a qualcuno posto il codice delle due pagine funzionanti qui di seguito


pagina.html :

Codice PHP:
<html
<
head
<
script type="text/javascript" src="alt.js"></script> 
</head> 
<body> 
<span class="test" name="descript" wrap="virtual" id="descript"> 
</body> 
</html> 

alt.js

Codice PHP:
/* This script and many more are available free online at 
The JavaScript Source!! [url="http://javascript.internet.com"][url]http://javascript.internet.com[/url][/url] 
Created by: Sandeep Gangadharan | [url="http://sivamdesign.com/scripts/"][url]http://sivamdesign.com/scripts/[/url][/url] */ 
var text 0

var 
message=new Array(); 
  
message[0] = "Benvenuti su HTML.it" 
  
message[1] = "Sezione Javascript" 
  
message[2] = "Scaricate centinaia di script" 
  
message[3] = "Arrivederci..." 

function changeText() { 
  if (
message.length 0) { 
    
document.getElementById('descript').innerHTML=message[text]; 
    
text++; 
  } 
  if (
text == 4) {text 0; }  // change the # 4 at the left to the maximum # of message lines you want included 
    
window.setTimeout("changeText()"3500); }  // change the # on the left to adjust the speed of the 
                                               // scroll. The smaller the # the faster the speed 

// Multiple onload function created by: Simon Willison 
// [url="http://simon.incutio.com/archive/2004/05/26/addLoadEvent"][url]http://simon.incutio.com/archive/20...26/addLoadEvent[/url][/url] 
function addLoadEvent(func) { 
  var 
oldonload window.onload
  if (
typeof window.onload != 'function') { 
    
window.onload func
  } else { 
    
window.onload = function() { 
      if (
oldonload) { 
        
oldonload(); 
      } 
      
func(); 
    } 
  } 


addLoadEvent(function() { 
  
changeText(); 
});