Quote:
<script language="javascript" type="text/javascript"> var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday") var montharray=new Array("January","February","March","April","May"," June","July","August","September","October","Novem ber","December") document.write("<small><font color='FFFFFF' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>") </script> |
Any way I can do what I want? I saw a thread earlier about putting text in the /functions/bfa_ata_header_config.php file where the bar code is, but I don't know how to put Javascript there without ending up with an ugly parse error.