how to put google adds on the main index page
4 posters
Page 1 of 1
how to put google adds on the main index page
hi to all
plz solve my problem that how to put google adds on main index page
plz solve my problem that how to put google adds on main index page
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
faiz1863, please be patient and you will answer.
In connection with the problem, be more specific because I do not understand exactly what you want.
In connection with the problem, be more specific because I do not understand exactly what you want.
RoCkKiD- Forumember
- Posts : 37
Reputation : 0
Language : Romanian
Location : Romania,Bacau
Re: how to put google adds on the main index page
hi ! put the code in the Homepage Message ( administration panel=>Display=>Generalities=>Homepage message) I know that in the widget does not work
Guest- Guest
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
which is the version of your forum? phbb2 ? phbb3 ...?
Guest- Guest
Re: how to put google adds on the main index page
phpBB3 (prosilver)
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
plz tell me i m using phpBB3
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
its urgent plz tell me plz plz
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
not much you can do a solution would have been a floating menu but I do not know how to do that ! I will try to find more information and will try to help you
Guest- Guest
Re: how to put google adds on the main index page
ANY ONE ELSE PLZ HELP ME
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
I have returned! try this code:
- Code:
<div style="position: fixed; left: 0px; top: 0px">YOUR ADS CODE</div>
- Code:
<div style="position: fixed; right: 0px; top: 0px">YOUR ADS CODE</div>
Guest- Guest
Re: how to put google adds on the main index page
but where i put this code
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
excuse me ! administration panel=>Display=>Generalities=>Homepage message
Guest- Guest
Re: how to put google adds on the main index page
And I thank Manky, and I was need it ..
On my forum works!
On my forum works!
RoCkKiD- Forumember
- Posts : 37
Reputation : 0
Language : Romanian
Location : Romania,Bacau
Re: how to put google adds on the main index page
RoCkKiD wrote:And I thank Manky, and I was need it ..
On my forum works!
your welcome faiz1863 you managed?
Guest- Guest
Re: how to put google adds on the main index page
you r the best manky
hey wana be ny friend you r realy the best
hey wana be ny friend you r realy the best
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
Glad I could help good night all!
Last edited by MaNkY™ on February 8th 2010, 9:35 pm; edited 1 time in total
Guest- Guest
Re: how to put google adds on the main index page
hey one thing more it is fixed so ho can i unfix this ehen i scroll down .the page goes down but the adds dont go down
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
i want that adss also scrol down wth page plz and soryy that i m asking unlimited questions
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
hi ! sorry I have not seen your message ! Try this code :
administration panel=>Display=>Generalities=>Homepage message
- Code:
<head><style type="text/css">
#topbar{
position:absolute;
border: 5px ;
padding: 13px;
width:100px;
visibility: hidden;
z-index: 130;
}
</style>
<script type="text/javascript">
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY =20 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document·cookie.length > 0) {
offset = document·cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document·cookie.indexOf(";", offset);
if (end == -1) end = document·cookie.length;
returnvalue=unescape(document·cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document·cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script></head>
<body><div id="topbar">
YOUR ADS CODE
</div></body>
administration panel=>Display=>Generalities=>Homepage message
Guest- Guest
Re: how to put google adds on the main index page
hi but this do not works
i have used the first code code like this and it worked
i have used the first code code like this and it worked
- Code:
<div style="position: fixed; left: 0px; top: 0px">YOUR ADS CODE</div>
- Code:
<div style="position: absolute; left: 0px; top: 0px">YOUR ADS CODE</div>
faiz1863- Forumember
- Posts : 33
Reputation : 0
Language : english
Re: how to put google adds on the main index page
- Code:
<head><style type="text/css">
#topbar{
position:absolute;
border: 5px ;
padding: 13px;
width:100px;
visibility: hidden;
z-index: 130;
}
</style>
<script type="text/javascript">
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY =20 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document·cookie.length > 0) {
offset = document·cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document·cookie.indexOf(";", offset);
if (end == -1) end = document·cookie.length;
returnvalue=unescape(document·cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document·cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script></head>
<body><div id="topbar">
YOUR ADS CODE
</div></body>
this code is a floating menu works, but only with certain browsers
faiz1863 wrote: thanks
your welcome
Guest- Guest
Re: how to put google adds on the main index page
faiz1863 Watch your post. You may NOT post more unless its been 24 hours from your last post. You have been warned already which gives you another warning.
MrMario- Helper
- Posts : 22186
Reputation : 1839
Language : test
Re: how to put google adds on the main index page
I like the idea, cool!
rreeff- New Member
- Posts : 14
Reputation : 0
Language : usa
Similar topics
» how to put adds on bottom of page at index page
» Help with topics, forums from Index (main page)
» Home Page and General Templates : Index Body / Index Box and Code
» Google adds
» Google Adds
» Help with topics, forums from Index (main page)
» Home Page and General Templates : Index Body / Index Box and Code
» Google adds
» Google Adds
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum