IamShipon1988
New Member
- Messages
- 942
- Reaction score
- 0
- Points
- 0
my friend encountered a problem when adding the x10hosting ads,
when you add the x10hosting ads, please use the following code (if you got the x10corporate plan)
if you want to center your text use the <div> tags, do not use <p> tags. it oddly does not center your text, here is a sample of the code,
add the following to forum/templates/template_name/overall_header.tpl
excl:forum name and template name may differ:excl
to see a sample visit http://iamshipo.x10hosting.com/forum/index.php :homestar:
:excl:importantly, leave the codes as the way it is, do not try to minimize the spaces, or increase the line break, if you do change it, the code might not work:excl:
when you add the x10hosting ads, please use the following code (if you got the x10corporate plan)
if you want to center your text use the <div> tags, do not use <p> tags. it oddly does not center your text, here is a sample of the code,
add the following to forum/templates/template_name/overall_header.tpl
excl:forum name and template name may differ:excl
Code:
<div align="center">
<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:1&target=_blank");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a></noscript>
</div>
to see a sample visit http://iamshipo.x10hosting.com/forum/index.php :homestar:
:excl:importantly, leave the codes as the way it is, do not try to minimize the spaces, or increase the line break, if you do change it, the code might not work:excl: