Salve raga ho appena inserito un javascript di rotazione banner di tradedoubler solo che non è valido e non riesco a capire dove sta il problema!!![]()
il codice in javascript è il seguente:
<script language="javascript" type="text/javascript">
var uri = 'http://impit.tradedoubler.com/imp/pool/js/37713/986157?' + new String (Math.random()).substring (2, 11);
document.write('<sc'+'ript language="JavaScript" src="'+uri+'" charset="ISO-8859-1"></sc'+'ript>');
</script>
e gli errori sono questi:
Line 115, column 19: an attribute specification must start with a name or name token
document.write('<sc' +'ript language="JavaScript" src="'+uri+'" charset="ISO-8859
Check for stray quotes or incomplete attribute definitions.
✉
Line 115, column 19: element "sc" undefined
document.write('<sc' +'ript language="JavaScript" src="'+uri+'" charset="ISO-8859
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
✉
Line 115, column 88: delimiter "'" invalid: only S separators and TAGC allowed here
...c="'+uri+'" charset="ISO-8859-1"></sc' +'ript>');
ho anche provato a sostituirli con " ma non funzia lo stesso e poi in java è errato!
Grazie