ahhh pensavo fosse qualcosa che si potesse capire al volo,dato che su un programma va (Mozilla) mentre nell'altro no!

Cmq ecco qua il codice che usano i due script presi da internet per l'ora e per il "text scrolling"

questo è il primo che è quasi subito nel listato:

Codice PHP:
<script type="text/javascript" src="liveclock.js"></script> 
Ecco il file liveclock


Codice PHP:
l
    
var myfont_face "Verdana";
    var 
myfont_size "7.5";
    var 
myfont_color "#000000";
    var 
myback_color "";
    var 
mypre_text "Benvenuto, sono le ";
    var 
mywidth 308;
    var 
my12_hour 0;
    var 
myupdate 1;
    var 
DisplayDate 1;
        var 
ie4=document.all
        
var ns4=document.layers
        
var ns6=document.getElementById&&!document.all
    
var dn "";
    var 
mn "";
    var 
old "";
    var 
DaysOfWeek = new Array(7);
        
DaysOfWeek[0] = "Domenica";
        
DaysOfWeek[1] = "Lunedì";
        
DaysOfWeek[2] = "Martedì";
        
DaysOfWeek[3] = "Mercoledì";
        
DaysOfWeek[4] = "Giovedì";
        
DaysOfWeek[5] = "Venerdì";
        
DaysOfWeek[6] = "Sabato";
    var 
MonthsOfYear = new Array(12);
        
MonthsOfYear[0] = "Gennaio";
        
MonthsOfYear[1] = "Febbraio";
        
MonthsOfYear[2] = "Marzo";
        
MonthsOfYear[3] = "Aprile";
        
MonthsOfYear[4] = "Maggio";
        
MonthsOfYear[5] = "Giugno";
        
MonthsOfYear[6] = "Luglio";
        
MonthsOfYear[7] = "Agosto";
        
MonthsOfYear[8] = "Settembre";
        
MonthsOfYear[9] = "Ottobre";
        
MonthsOfYear[10] = "Novembre";
        
MonthsOfYear[11] = "Dicembre";
    var 
ClockUpdate = new Array(3);
        
ClockUpdate[0] = 0;
        
ClockUpdate[1] = 1000;
        
ClockUpdate[2] = 60000;
    if (
ie4||ns6) { document.write('<span id="LiveClockIE" style="width:'+mywidth+'px; background-color:'+myback_color+'"></span>'); }
    else if (
document.layers) { document.write('<ilayer bgColor="'+myback_color+'" id="ClockPosNS" visibility="hide"><layer width="'+mywidth+'" id="LiveClockNS"></layer></ilayer>'); }
    else { 
old "true"show_clock(); }
    function 
show_clock() {
        if (
old == "die") { return; }
        if (
ns4)
                
document.ClockPosNS.visibility="show"
    
        
var Digital = new Date();
        var 
day Digital.getDay();
        var 
mday Digital.getDate();
        var 
month Digital.getMonth();
        var 
hours Digital.getHours();
        var 
minutes Digital.getMinutes();
        var 
seconds Digital.getSeconds();
        if (
mday == 1) { mn "st"; }
        else if (
mday == 2) { mn "nd"; }
        else if (
mday == 3) { mn "rd"; }
        else if (
mday == 21) { mn "st"; }
        else if (
mday == 22) { mn "nd"; }
        else if (
mday == 23) { mn "rd"; }
        else if (
mday == 31) { mn "st"; }

    
        if (
my12_hour) {
            
dn "AM";
            if (
hours 12) { dn "PM"hours hours 12; }
            if (
hours == 0) { hours 12; }
        } else {
            
dn "";
        }
        if (
minutes <= 9) { minutes "0"+minutes; }
        if (
seconds <= 9) { seconds "0"+seconds; }
        
myclock '';
        
myclock += '<font style="color:'+myfont_color+'; font-family:'+myfont_face+'; font-size:'+myfont_size+'pt;">';
        
myclock += mypre_text;
        
myclock += hours+':'+minutes;
        if ((
myupdate 2) || (myupdate == 0)) { myclock += ':'+seconds; }
        
myclock += ' '+dn;
        if (
DisplayDate) { myclock += ' di '+DaysOfWeek[day]+', '+mday+mn+' '+MonthsOfYear[month]; }
        
myclock += '</font>';
        if (
old == "true") {
            
document.write(myclock);
            
old "die";
            return;
        }

    
// Write the clock to the layer:
        
if (ns4) {
            
clockpos document.ClockPosNS;
            
liveclock clockpos.document.LiveClockNS;
            
liveclock.document.write(myclock);
            
liveclock.document.close();
        } else if (
ie4) {
            
LiveClockIE.innerHTML myclock;
        } else if (
ns6){
            
document.getElementById("LiveClockIE").innerHTML myclock;
                }            

    if (
myupdate != 0) { setTimeout("show_clock()",ClockUpdate[myupdate]); }



cmq ecco il secondo(quello che viene dopo) script che è quello che viene visualizzato su Internet Explorer

Codice PHP:
        <script type="text/javascript">
var 
delay 3000//set delay between message change (in miliseconds)
var maxsteps=30// number of steps to take to change from start color to endcolor
var stepdelay=40// time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(255,255,255); // start color (red, green, blue)
var endcolor=new Array(0,0,0); // end color (red, green, blue)

var fcontent=new Array();
begintag='<div style="font: normal 10px Verdana; padding: 5px;">'//set opening tag, such as font declarations
fcontent[0]="[b]FUTURA - Salisburgo (Austria) da Settembre 2006 [/b] - Salone Nazionale dei Beni di Consumo Elettronici, delle Tecnologie per i Casalinghi e delle Telecomunicazioni  elettrodomestici, sistemi satellitari, telecomunicazioni";
fcontent[1]="[b]BIAS - Milano (Italia) da Settembre 2006 [/b] - Mostra Convegno Internazionale dell'Automazione, Strumentazione, Microelettronica e ICT per l'Industria automazione di fabbrica e di processo, componentistica elettronica e tecnologie di produzione";
fcontent[2]="[b]LAMIERA - Bologna (BO) da Maggio 2007 [/b] - Mostra Internazionale delle Macchine, Impianti, Attrezzature per la Lavorazione della Lamiera macchine, impianti, attrezzature per la lavorazione di lamiera, tubi e similari";
closetag='</div>';

var 
fwidth='180px'//set scroller width
var fheight='140px'//set scroller height

var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////
var ie4=document.all&&!document.getElementById;
var 
DOM2=document.getElementById;
var 
faderdelay=0;
var 
index=0;


/*Rafael Raposo edited function*/
//function to change content
function changecontent(){
  if (
index>=fcontent.length)
    
index=0
  
if (DOM2){
    
document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
    
document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
    
if (fadelinks)
      
linkcolorchange(1);
    
colorfade(115);
  }
  else if (
ie4)
    
document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
  
index++
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
  var 
obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (
obj.length>0){
    for (
i=0;i<obj.length;i++)
      
obj[i].style.color=getstepcolor(step);
  }
}

/*Rafael Raposo edited function*/
var fadecounter;
function 
colorfade(step) {
  if(
step<=maxsteps) {    
    
document.getElementById("fscroller").style.color=getstepcolor(step);
    if (
fadelinks)
      
linkcolorchange(step);
    
step++;
    
fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    
clearTimeout(fadecounter);
    
document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    
setTimeout("changecontent()"delay);
    
  }   
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
  var 
diff
  
var newcolor=new Array(3);
  for(var 
i=0;i<3;i++) {
    
diff = (startcolor[i]-endcolor[i]);
    if(
diff 0) {
      
newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
    } else {
      
newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return (
"rgb(" newcolor[0] + ", " newcolor[1] + ", " newcolor[2] + ")");
}

if (
ie4||DOM2)
  
document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');

if (
window.addEventListener)
window.addEventListener("load"changecontentfalse)
else if (
window.attachEvent)
window.attachEvent("onload"changecontent)
else if (
document.getElementById)
window.onload=changecontent
</script>