help inserting banner into the footer... - Postet den (943 Views)
New Member
tuttostranieri
Innlegg: 53
53
Hi,
I need help for insert the two google scripts attached down in this post inside the footer of my forum, can you help me plese... thanks

Alessandro
(www.tuttostranieri.it)

first script:
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.it/custom" target="_top">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Ricerca"></input>
<input type="hidden" name="client" value="pub-1209719482294907"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="it"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->


Second SCRIPT:
<script type="text/javascript"><!--
google_ad_client = "pub-1209719482294907";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><
www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
   
 Sidestørrelse 
Postet den
Junior Member
rasure
Innlegg: 289
289
Code:

First Script:

Response.Write "<center>" & vbNewLine & _
"<form method=""get"" action=""http://www.google.it/custom"" target=""_top"">" & vbNewLine & _
"<table bgcolor=""#ffffff"">" & vbNewLine & _
"<tr><td nowrap=""nowrap"" valign=""top"" align=""left"" height=""32"">" & vbNewLine & _
"<a href=""http://www.google.com/"">" & vbNewLine & _
"<img src=""http://www.google.com/logos/Logo_25wht.gif"" border=""0"" alt=""Google"" align=""middle""></img></a>" & vbNewLine & _
"<input type=""text"" name=""q"" size=""31"" maxlength=""255"" value=""""></input>" & vbNewLine & _
"<input type=""submit"" name=""sa"" value=""Ricerca""></input>" & vbNewLine & _
"<input type=""hidden"" name=""client"" value=""pub-1209719482294907""></input>" & vbNewLine & _
"<input type=""hidden"" name=""forid"" value=""1""></input>" & vbNewLine & _
"<input type=""hidden"" name=""ie"" value=""ISO-8859-1""></input>" & vbNewLine & _
"<input type=""hidden"" name=""oe"" value=""ISO-8859-1""></input>" & vbNewLine & _
"<input type=""hidden"" name=""cof"" value=""GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;""></input>" & vbNewLine & _
"<input type=""hidden"" name=""hl"" value=""it""></input>" & vbNewLine & _
"</td></tr></table>" & vbNewLine & _
"</form>" & vbNewLine & _
"</center>" & vbNewLine

Second Script:
Response.Write "<center><script type=""text/javascript""><!--"& vbNewLine & _
"google_ad_client = ""pub-1209719482294907"";"& vbNewLine & _
"google_ad_width = 728;"& vbNewLine & _
"google_ad_height = 90;"& vbNewLine & _
"google_ad_format = ""728x90_as"";"& vbNewLine & _
"google_ad_type = ""text_image"";"& vbNewLine & _
"google_ad_channel ="""";"& vbNewLine & _
"//--></script>"& vbNewLine & _
"<script type=""text/javascript"""& vbNewLine & _
"src=""http://pagead2.googlesyndication.com/pagead/show_ads.js"">"& vbNewLine & _
"</script></center>" & vbNewLine

Just copy and paste these to somewhere suitable in your inc_footer.asp file<
Postet den
Junior Member
Mr Pink
Innlegg: 387
387
Why don't you use the Site Integration Mod?<
Martin
Leyland Forum Leyland Lancashire UK
Postet den
Support Moderator
Shaggy
Innlegg: 6780
6780
The Site Integration Mod might be a bit overkill for what he's trying to achieve but would certainly make it easier.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Postet den
Medlem er låst
laser
Innlegg: 3859
3859
inc_footer.asp smile<
Postet den
New Member
tuttostranieri
Innlegg: 53
53
Hi friends!!
I have tried the code and i have a little problem, the google banners are not centered into the page, how can i do for solving?
THX

Alex
www.tuttostranieri.it<
www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
Postet den
Junior Member
rasure
Innlegg: 289
289
Well your original second script didn't have any center tags, but
I've updated your code in my first original post abovesmile<
Postet den
New Member
tuttostranieri
Innlegg: 53
53
THX!!!
I have inserted the code and all work well!!

MANY MANY THX :-)))

alex
www.tuttostranieri.it<
www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
Postet den
New Member
tuttostranieri
Innlegg: 53
53
How can i put a little blank space down the second script??? :-)

THX

Alex
www.tuttostranieri.it<
www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
Postet den
Medlem er låst
laser
Innlegg: 3859
3859
Before the second script ?
Change the first line of the second script to :

Response.Write "<br /><center><script type=""text/javascript""><!--"& vbNewLine & _

copy the red part, and paste multiple times for a bigger gap.<
Postet den
New Member
tuttostranieri
Innlegg: 53
53
Not before, after.... sorry for my english :)

Alex
www.tuttostranieri.it<
www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
Du må legge inn en melding