help inserting banner into the footer... - نوشته شده در (941 Views)
New Member
tuttostranieri
مطلب: 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
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Junior Member
rasure
مطلب: 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<
نوشته شده در
Junior Member
Mr Pink
مطلب: 387
387
Why don't you use the Site Integration Mod?<
Martin
Leyland Forum Leyland Lancashire UK
نوشته شده در
Support Moderator
Shaggy
مطلب: 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.”
نوشته شده در
کاربر قفل شده
laser
مطلب: 3859
3859
inc_footer.asp smile<
نوشته شده در
New Member
tuttostranieri
مطلب: 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
نوشته شده در
Junior Member
rasure
مطلب: 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<
نوشته شده در
New Member
tuttostranieri
مطلب: 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
نوشته شده در
New Member
tuttostranieri
مطلب: 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
نوشته شده در
کاربر قفل شده
laser
مطلب: 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.<
نوشته شده در
New Member
tuttostranieri
مطلب: 53
53
Not before, after.... sorry for my english :)

Alex
www.tuttostranieri.it<
www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
شما باید یک متن وارد کنید