Forum Moderators: not2easy
This is a problem that has been bothering me for quite a long time. The situation is as follows: I have a website that has the navigation on the left, below there is a leaderboard ad unit. On the right there is content and a rectangle ad unit.
Because the leaderboard code is loaded first, it "takes" the best-paying ads, leaving the bad ones for the rectangle ad unit, and hence making me less money.
Any clue how to make the leaderboard ad unit load first?
Thanks,
Storm
afaik, there is no way to set priority. this really blows.
The two divs containing the menu or adverts can then be inserted in any order you see fit. I picked this up fron Glish's site years ago:
[glish.com...]
I did this, by the way, more to put my desirable target keywords in the content up top, before all the chatter in the left-nav. But it also does result in putting better ads in the content area.
The table arrangement to do this is very simple.
[edited by: SuzyUK at 10:21 pm (utc) on Feb. 27, 2007]
If you have designed your site layout/template, yourslef it shouldn't be too hard. For the slackers who use pre-defined template etc, you may have more fun.
Note: I think it's not that important, once you leave your layout the same for a while, the googley magic seems to take over, and lay the ads out correctly. If I redesign my page it seems to muck it up for a week or so. (Although I may be wrong, here, but I use this technique anyway for other reasons.)
Basically, divide each main section into DIVs. Say 1 each for, heading, menu, article, footer, girlie pictures, etc.
Position each of the divs on the page using CSS. (But leave in semi logical order, in case user has no CSS). Consider using margin, padding, and position tags. Use z-order tags if things overlaps incorrectly.
Now just re-order the order the actual divs to appear in the html code, in the order you wish for them to load.
If each div section is in its own PHP funciton, you can call them in any order nice and easily.
#Layer1 {
position:absolute;
left:324px;
top:48px;
width:339px;
height:67px;
z-index:1001;
}
<div id="Layer1">adsense code</div>
Would you think it's ok? it seems to work alright for me but I'm worried because I have never seen anyone using such thing, also I'm not sure if it's working fine on all browsers...
Storm