Log in

View Full Version : Google Ads integrated into an image.


Jordan17
03-27-2006, 06:48 PM
Go here --> www.uklostforum.com and look at the header. The GoogleAds are integrated into the header of the forum.

Well, actually - its not. Its a fake image version. I can't get it to work so for the moment I am "fooling" people!

How can I do this? I have tried div style="position: absolute; from left: 100px...." but when you're browser isn't maximised it just floats at that position constantly. Anyone know. (The deep integration tutorial doesn't cover this).

Thanks.

therocks
03-28-2006, 12:56 PM
heres some code from transverse styles on how to put an advert in their bullet skin, heres an example of it bein used http://img395.imageshack.us/img395/5720/untitled6yg.jpg

so maybe you could take some code out of that and get it to work for you skin..

<!-- logo -->
<a name="top"></a>
<table align="center" style="border-collapse: collapse;width: 100%">
<tr>
<td valign="top" style="padding: 0;background-image: url($stylevar[imgdir_misc]/bar_l_bg.gif);width: 45px"><img src="$stylevar[imgdir_misc]/bar_l_top.gif" alt="" /></td>
<td valign="top" style="padding: 0">
<div id="vbwrapper">
<div id="logostrip"><div style="float: right;padding: 30px 10px 10px"><img src="$stylevar[imgdir_misc]/ad.gif" alt="" /></div><img src="$stylevar[imgdir_misc]/logostrip_l.gif" alt="" /></div>
<div id="submenu-shell" align="center">
<ul id="submenu">
<li class="off"><a href="$vboptions[homeurl]">Home<span class="bottom">Home</span></a></li>
<if condition="$show['member']"><li class="off"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]<span class="bottom">$vbphrase[user_cp]</span></a></li></if>
<if condition="$show['registerbutton']"><li class="off"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]<span class="bottom">$vbphrase[register]</span></a></li></if>
<li class="off"><a href="faq.php$session[sessionurl_q]">$vbphrase[faq]<span class="bottom">$vbphrase[faq]</span></a></li>
<li class="off"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]<span class="bottom">$vbphrase[members_list]</span></a></li>
<li class="off"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]<span class="bottom">$vbphrase[calendar]</span></a></li>
<li class="off"><a href="search.php$session[sessionurl_q]">$vbphrase[search]<span class="bottom">$vbphrase[search]</span></a></li>
</ul>
</div>
<div id="vbwrapper2">
<div class="b-middle"><div class="b-left"><img src="$stylevar[imgdir_misc]/border_top_l.gif" alt="" /></div><div class="b-right"><img src="$stylevar[imgdir_misc]/border_top_r.gif" alt="" /></div></div>
<div id="vbwrapper3">

<!-- content table -->
$spacer_open

$_phpinclude_output

Jordan17
03-28-2006, 05:26 PM
ok I've tried & tried to do modify the above to get it to work, but with no luck.

Any other ways of doing this?

amykhar
03-28-2006, 06:12 PM
Just make the banner image the background for the table cell and put the ad on top

Jordan17
03-29-2006, 08:09 PM
OK I've tried that but its not working either. I can't get it in the right page. There must be a better way of doing this?

vbreal
03-29-2006, 09:54 PM
i am curious to know this too. i need this myself

Jordan17
03-31-2006, 06:41 PM
Someone must know.