hi,
I have some pb, i'm trying to find answer in FAQ but nothing. Could you help me?
thx
 
<script language="JavaScript" type="text/javascript">
function sp(_serial,_page) {
document.write('<a href="http://www.wanadoo.fr/Pages_Per'+
'so/estat/bin/pwpestat_stat.cgi"><img src'+
'="http://perso.estat.com/cgi-bin/perso/'
+_serial+'?'
+'&amp;n='+Math..round (Math.random () * 1000000000000000)
+'&amp;page='+escape(_page.length?_page:document.title)
+'&amp;referer='+escape(document.referrer)+'" BORDER=0></a>')
}
sp("395095177517", "NomDeVotrePage")
        </script>
===========================================================================================

1)Line 29, column 32: document type does not allow element "a" here

'so/estat/bin/pwpestat_stat.cgi"><img src'+

2)Line 29, column 41: an attribute value literal can occur in an attribute specification list only after a VI delimiter

'so/estat/bin/pwpestat_stat.cgi"><img src'+

Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".

3)Line 29, column 42: end tag for "img" omitted, but OMITTAG NO was specified

'so/estat/bin/pwpestat_stat.cgi"><img src'+

You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".

4)Line 29, column 33: start tag was here

'so/estat/bin/pwpestat_stat.cgi"><img src'+

=============================================================================================

5)Line 46, column 9: character "<" is the first character of a delimiter but occurred as data

if (year < 1000)

If you wish to include the "<" character in your output, you should escape it as "&lt;". Another possibility is that you forgot to close quotes in a previous tag.

 

===========================================================================================================

<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("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi")
var montharray=new Array("Janvier","Fevrier","Mars","Avril","Mai","Juin","Juillet","Aout","Septembre","Octobre","Novembre","Decembre")
document.write("<font color='#9900FF' face='verdana' size=1><b>"+dayarray[day]+" "+daym+" "+montharray[month]+" "+year+"</b></font>")
   </script>

==================================================================================================

7)Line 55, column 58: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified

... color='#9900FF' face='verdana' size=1><b>"+dayarray[day]+" "+daym+" "+montha

8)Line 55, column 59: document type does not allow element "font" here

...color='#9900FF' face='verdana' size=1><b>"+dayarray[day]+" "+daym+" "+monthar


Forfait AOL ADSL 5 Méga à 22.90EUR/mois !