SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Evangelist StudioWorks's Avatar
    Join Date
    Jul 2004
    Location
    Inside. Just knock!
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for help in placing an ad

    Hello,

    I have this web site, www.epagini.com - right now i want to be able to place an ad unit in the left side of the site ( the area that has that gray background ) so I was wondering is there a javascript script or something that can help me to that ?

    I attached a screenshot to show you what I am aiming for.
    Attached Images Attached Images

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,177
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Do you have access to the html?

  3. #3
    SitePoint Evangelist StudioWorks's Avatar
    Join Date
    Jul 2004
    Location
    Inside. Just knock!
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Of course, but i was wondering if there is a possibility to do this without making changes to the site's design, maybe by using javascript or something like that.

  4. #4
    SitePoint Member PoweredBynFusion's Avatar
    Join Date
    Jul 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im pretty sure you'd have to edit the .css template file and program that specific part of the page to pull the data, i.e the ad data

  5. #5
    SitePoint Evangelist StudioWorks's Avatar
    Join Date
    Jul 2004
    Location
    Inside. Just knock!
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah..but the problem is that I just don't know how I have tried using all kind of javascript stuff but I haven't been successful yet ..

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,177
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by StudioWorks View Post
    i was wondering if there is a possibility to do this without making changes to the site's design
    So, you want to change the design... without... changing the design.

    One fairly easy way to place those ads on the left is to place an extra div that contains the ads inside the #content div. (You could put it at the end.)

    Then, give that ad div the following styles:

    Code:
    #ad {
        position: absolute;
      width: 136px; /* or whatever */
      top: 0;
      left: -140px;
      background: #222;
    }
    That will place the ad div just to the left of the content div.

  7. #7
    SitePoint Evangelist StudioWorks's Avatar
    Join Date
    Jul 2004
    Location
    Inside. Just knock!
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your help Ralph!

    It works like a charm..

  8. #8
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,177
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Great, I'm glad it was that easy! Well done for getting it going.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •