The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

how to put google adds on the main index page

4 posters

Go down

how to put google adds on the main index page Empty how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 7:32 pm

hi to all
plz solve my problem that how to put google adds on main index page
Neutral Neutral Neutral
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 7:46 pm

plz tell me
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by RoCkKiD February 8th 2010, 7:48 pm

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.
avatar
RoCkKiD
Forumember

Male Posts : 37
Reputation : 0
Language : Romanian
Location : Romania,Bacau

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 8th 2010, 7:59 pm

hi ! put the code in the Homepage Message ( administration panel=>Display=>Generalities=>Homepage message) Razz I know that in the widget does not work Laughing
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 8:01 pm

how to put google adds on the main index page Untitl12

I WANT TO PUT GOOGLE ADDS ON MY MAIN FORUM INDEX PAGE LIKE THIS


how to put google adds on the main index page Untitl12
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 8th 2010, 8:11 pm

which is the version of your forum? phbb2 ? phbb3 ...? Question
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 8:14 pm

phpBB3 (prosilver)
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 8:25 pm

plz tell me i m using phpBB3
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 8:32 pm

its urgent plz tell me plz plz
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 8th 2010, 8:35 pm

not much you can do Sad 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 Hello
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 8:37 pm

ANY ONE ELSE PLZ HELP ME how to put google adds on the main index page Icon_scratch
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 8th 2010, 9:10 pm

I have returned! try this code:
Code:
<div style="position: fixed; left: 0px; top: 0px">YOUR ADS CODE</div>
that for the left , and for right try this code :
Code:
<div style="position: fixed; right: 0px; top: 0px">YOUR ADS CODE</div>
work?
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 9:12 pm

but where i put this code
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 8th 2010, 9:13 pm

excuse me ! Sad administration panel=>Display=>Generalities=>Homepage message
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by RoCkKiD February 8th 2010, 9:15 pm

And I thank Manky, and I was need it ..
On my forum works!
avatar
RoCkKiD
Forumember

Male Posts : 37
Reputation : 0
Language : Romanian
Location : Romania,Bacau

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 8th 2010, 9:17 pm

RoCkKiD wrote:And I thank Manky, and I was need it ..
On my forum works!

your welcome :wouhou: faiz1863 you managed? bwi Question
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 9:29 pm

you r the best manky


hey wana be ny friend you r realy the best
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 8th 2010, 9:33 pm

Glad I could help :wouhou: good night all!


Last edited by MaNkY™ on February 8th 2010, 9:35 pm; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 9:35 pm

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
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 8th 2010, 9:37 pm

i want that adss also scrol down wth page plz and soryy that i m asking unlimited questions
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 9th 2010, 5:49 am

hi ! sorry I have not seen your message ! Try this code :

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
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by faiz1863 February 9th 2010, 7:32 am

hi but this do not works
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>
this is your code
Code:
<div style="position: absolute; left: 0px; top: 0px">YOUR ADS CODE</div>
this is edited code and thanks
avatar
faiz1863
Forumember

Posts : 33
Reputation : 0
Language : english

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by Guest February 9th 2010, 2:04 pm

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 Cool works, but only with certain browsers Very Happy

faiz1863 wrote: thanks

your welcome :wouhou:
avatar
Guest
Guest


Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by MrMario February 9th 2010, 11:49 pm

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
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

how to put google adds on the main index page Empty Re: how to put google adds on the main index page

Post by rreeff February 10th 2010, 1:47 am

I like the idea, cool!
avatar
rreeff
New Member

Posts : 14
Reputation : 0
Language : usa

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum