|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding | |
HTML/Javascript help
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||
|
4.0 GHz
![]()
Join Date: May 2006
Location: Republic of Ireland
Posts: 2,580
Rep: 188
![]() ![]() Unique Rep: 138
Trader Rating: 4
|
Hi all im trying to get an ad into my website but when I try it just goes in a straight line instead of sorting its self out?!
I'm trying to enter this PHP Code:
Probably not making any sense here but any Q's just ask Thanks
__________________
Aumotocnic "An unfortunate member of the overclock.net insomnia club"
Trade4Free.ie AIR OCs Pentium4 640@4736.04MHz![]() Pentium4 540@4288.06 MHz ![]() Opteron165@3208.3MHz ![]() E2220@4009.36MHz ![]() 3DMark03 120,156 ![]()
Last edited by CorpussStalker : 08-23-09 at 04:58 PM |
|||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Audiophile
|
I have only used adsense, so it may be different, but you have to choose the sizing. You should be able to tell it what dimensions you want, and the get the code for that particular ad.
Here is the code for this reply page. Notice how the code does not size the ad. It just grabs it from the server. Code:
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://adserver.overclock.net/www/delivery/ajs.php':'http://adserver.overclock.net/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=6");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script>
__________________
It's O.C. ROUND 2 for THE FOUNDRY !!1 CPU 3DMark06 Score - 4563
Total 3Mark06 Score - 13906
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||
|
4.0 GHz
![]()
Join Date: May 2006
Location: Republic of Ireland
Posts: 2,580
Rep: 188
![]() ![]() Unique Rep: 138
Trader Rating: 4
|
Yeah the above is a size "720x90 or something like that"
On the site it just says to copy and paste it into my site but when I try it just appears as one continuous line
__________________
Aumotocnic "An unfortunate member of the overclock.net insomnia club"
Trade4Free.ie AIR OCs Pentium4 640@4736.04MHz![]() Pentium4 540@4288.06 MHz ![]() Opteron165@3208.3MHz ![]() E2220@4009.36MHz ![]() 3DMark03 120,156 ![]()
|
|||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
Programmer
|
Did you paste it into the body of the page? Also did you disable any adblockers? test in multiple browser?
I have a few ads on my site, and AdBlock doesn't let them show, they are server fed ads as well..
__________________
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this.
|
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|