scusa se mi faccio sentire solo oggi ma ieri non potevo rimanere ulteriormente collegato.
lo script della pagina è
codice:
<SCRIPT language=Javascript id=MSODSC_Validation>
validateBrowser();
function validateBrowser() {
strVers=navigator.appVersion
strName=navigator.appName
strPlat=navigator.platform
intIndex1=strVers.indexOf("MSIE");
intIndex1=intIndex1+5
intIndex2=strVers.lastIndexOf(";");
intVer=strVers.substring(intIndex1, intIndex2)
intVer=parseInt(intVer)
if (strName=="Microsoft Internet Explorer" && strPlat=="Win32" && intVer>="5") {
validateOWC();
}
else {
strMsgGetIE="<TABLE cellSpacing=0 cellPadding=0 width='95%' border=0 height='8'><TR>"
strMsgGetIE+="<TD bgColor='#336699' height=25 width=15></TD><TD bgColor='#666666' width=500px><FONT face=Tahoma "
strMsgGetIE+="size=4 color=white>Notifica pagina di accesso ai dati</FONT></TD></TR>"
strMsgGetIE+="<TR><TD bgColor='#cccccc' width=15></TD><TD bgColor='#cccccc' width=500px>
"
strMsgGetIE+="
<font face='Tahoma' size='2'>"
strMsgGetIE+="La pagina richiede Windows Internet Explorer 5.0 o versione successiva.</p>"
strMsgGetIE+="<a href='http://www.microsoft.com/isapi/redir.dll?Prd=Office&Sbp=Access&Pver=10&Ar=DPdesigner&Sba=IEhome&Plcid=1040'><p align='center'>"
strMsgGetIE+="Fare clic qui per installare l'ultima versione di Internet Explorer.</a></font></p>
</TD></TR></TABLE>"
document.write(strMsgGetIE)
}
}
function validateOWC() {
if (MSODSC.object==null) {
strMsgGetOWC="<TABLE width='95%' cellpadding=0 cellspacing=0 border=0 height='8'>"
strMsgGetOWC+="<TR><TD bgColor='#336699' height=25 width=15></TD><TD bgColor='#666666' width=500px>"
strMsgGetOWC+="<FONT face=Tahoma color=white size=4>"
strMsgGetOWC+="Notifica pagina di accesso ai dati</FONT></TD></TR><TR><TD bgColor='#cccccc' width=15></TD>"
strMsgGetOWC+="<TD bgColor='#cccccc' width='500px'>
"
strMsgGetOWC+="
<font face='Tahoma' size='2'>La pagina richiede Microsoft Office Web Components.</p>"
strMsgGetOWC+="</font>
<font face='Tahoma' size='2'>See the Microsoft Office Web site for more information. "
strMsgGetOWC+="</font></p>
</TD></TR></TABLE>"
document.write(strMsgGetOWC)
}
}
</SCRIPT>
grazie
bgiordy