+ Reply to Thread
Results 1 to 5 of 5

Thread: Ad Placement

  1. #1
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Ad Placement

    On my site [ http://www.chineseyoyo.info ] I want to place the ads below the footer [the grey box at the bottom] I have positioned the code to be below the footer, but it doesn't seem to stay there. It keeps appearing in the body. I have used this placement with my other hosts, and they seemed to have worked; but they did use IFRAMES, that might have an affect on it. Can anyone help me with this?

  2. #2
    Christopher's Avatar
    Christopher is offline Retired Christopher is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    USA
    Posts
    7,330

    Re: Ad Placement

    Put the ad code right above
    Code:
    </body>

  3. #3
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Re: Ad Placement

    that also does not work
    Edit:
    would this be a valid form of ad code?
    Code:
    <!-- AD CODE START -->
    <center><iframe allowtransparency="true" src="http://diabolo.elementfx.com/adcode.php" width="468" height="60" style="border:0px;margin:0px;overflow:hidden" frameborder="0" scrolling="no"></iframe></center>
    <!-- FINSH -->
    and diabolo.elementfx.com/adcode.php is
    Code:
    <script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script>
    Last edited by diabolo; 11-05-2007 at 09:00 PM. Reason: Automerged Doublepost

  4. #4
    Christopher's Avatar
    Christopher is offline Retired Christopher is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    USA
    Posts
    7,330

    Re: Ad Placement

    Instead of using iframe, I recommend this:
    Code:
    <?php include("adcode.php"); ?>
    If you are going to use iframe, you would have to use the code below for adcode.php
    Code:
    <html>
    <body>
    <script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script>
    </body>
    </html>

  5. #5
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Re: Ad Placement

    correct me if I am wrong, but doesn't the php include statement only includes the code into the webpage. Rather than recalling to the webpage?

    and the adcode.php doesn't work either....

+ Reply to Thread

Similar Threads

  1. Is my ad placement correct?
    By dashaman in forum Scripts & 3rd Party Apps
    Replies: 8
    Last Post: 11-12-2007, 09:31 AM
  2. Question Regarding Ad Placement
    By Tristian in forum Free Hosting
    Replies: 2
    Last Post: 09-27-2007, 07:47 AM
  3. Javascript Ad Placement (Corporate)
    By Hayloe in forum Free Hosting
    Replies: 3
    Last Post: 07-02-2006, 09:05 AM
  4. Question about ads placement
    By -Ollie- in forum Free Hosting
    Replies: 3
    Last Post: 05-28-2006, 03:35 PM
  5. ad code placement
    By dumbedout in forum Free Hosting
    Replies: 1
    Last Post: 08-23-2005, 02:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers