I'm running silverstripe version 2.4 with following encoding and doctype definition:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
Now I am trying to implement some tags from my advertising system AdvertPro, but I can't get the script part to work. It looks like this:
<script language="JavaScript" type="text/javascript">
<!--
document.write('<scr'+'ipt src="http://ads.advertpro.no/advertpro/servlet/view/banner/javascript/zone?zid=2&pid=0&random='+Math.floor(89999999*Math.random()+10000000)+'&millis='+new Date().getTime()+'" language="JavaScript" type="text/javascript"></scr'+'ipt>');
//-->
</script>
But the ads does not display. If I use the noscript advertising tags, it works... But then I get limited functionality to the zone.
Anyone having any ideas to how this can be solved?
Thanks! :)