Ad codes

Status
Not open for further replies.

yaxiiah

New Member
Messages
268
Reaction score
0
Points
0
I added the ad codes in my site...i have a corporate plans and it seems that i can't edit the ads...i mean i have to put it at the top of the page...ok...but i want the ads like center...not in the left side
this is the url http://www.gallery-jdsite.exofire.net/
these are the codes
and i wrote left= whatever px and it remains the same
and i wrote 'center' adn it also remained the same...


<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>
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Try moving it under the
Code:
<body>
tag and use the code
Code:
<center><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></center>
 

yaxiiah

New Member
Messages
268
Reaction score
0
Points
0
Oh!! thanks... i'm new in this codes stuff so i put the <center> in another place...
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
You need to put <center> at the beginning of the code and </center> at the end. Your welcome.
 
Status
Not open for further replies.
Top