AcidTech Tiger - AdSense in home

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
Esolitos
Registered User
Posts: 17
Joined: Tue Apr 28, 2009 11:44 am

AcidTech Tiger - AdSense in home

Post by Esolitos »

Hi, i've post the same questione url=http://www.phpbb.it/forum/viewtopic.php?f=68&t=20906]in phpbb.it[/url] and in phpbbitalia.com, but no one could help me.

I've put an adv message in the forum's home as you can see:
Original:
Image
Actually, with adv:
Image

The problem is that the box is not always centered with the forum..
Image

What i wanna do is, first of all, center the box with the forum and as second step i want to implement smth that would show, to the members of the "supporters" group, the adv-box only once a day ad not every time they load the home, like to all the forum's members.

I'll be grateful to those who would help me!

This is the code that i'm using!
adsense.html (i've included it in index_body.html)

Code: Select all

<script language="javascript" type="text/javascript">
function hide(){
obj = document.getElementById("google_ads_frame1");
obj.style.visibility="hidden";
obj = document.getElementById("spotoverlay");
obj.style.visibility="hidden";
}
</script>

<div id="spotoverlay" name="advOverlay">
	<div class="chiudi">
	<a class="spot" target="_top" onclick="hide()">
	<table width="50%" class="tablebg" cellspacing="1" >
		<tr>
			<th>
    	       	<p>AdSense Google Advertising</p>
			</th>
            <td>
	            <img src="/plus/forum/images/ics.gif" onclick="hide()"  />
            </td>
		</tr>
		<tr>
			<td class="row1">
       			<script type="text/javascript"><!--
					google_ad_client = "pub-*******";
					/* 728x90 Giurochesmetto */
					google_ad_slot = "*******";
					google_ad_width = 728;
					google_ad_height = 90;
					//-->
				</script>
				<script type="text/javascript"
					src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
				</script>
			<br />
			</td>
		</tr>
	</table>
	</a>
    </div>
</div>
stylesheet.css (only partial)

Code: Select all

/* Advertising Home */
#spotoverlay {
	position: absolute;
	background-image: url('/plus/forum/images/bg_black_transp.png');
	background-repeat: repeat;
	top: 0%; 
	left: 0%; 
	width: 99.8%; 
	height: 2700px; 
} 
div.chiudi {
	position: fixed;
	top:40%;
	left:20%;
} 
a.spot {
	color: #000; 
	text-decoration: none; 
} 
Esolitos
Registered User
Posts: 17
Joined: Tue Apr 28, 2009 11:44 am

Re: AcidTech Tiger - AdSense in home

Post by Esolitos »

Up?

Anyone?
Esolitos
Registered User
Posts: 17
Joined: Tue Apr 28, 2009 11:44 am

Re: AcidTech Tiger - AdSense in home

Post by Esolitos »

Another question:

Why Firefox sometimes forget that the layer is hidden and did not allow to click upon a link?
Anyone know?
Esolitos
Registered User
Posts: 17
Joined: Tue Apr 28, 2009 11:44 am

Re: AcidTech Tiger - AdSense in home

Post by Esolitos »

Little up...
Locked

Return to “[3.0.x] Styles Support & Discussion”