Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj14.01.2009, 19:44 (UTC)    
Mesaj konusu: Sitemde 2 tane reklam var

Sitemde iki tane google reklamım var en son bu kodu yazdım yapıştırdım

Kod:
</head>
   <body id="hpb_cssonly">
      <table height="27">
   <tr>
      <td><script type="text/javascript">
google_ad_client = 'pub-2387676167301415';
google_ad_width = '728';
google_ad_height = '15';
google_ad_format = '728x15_0ads_al';
google_ad_channel = '8459636970';
google_color_border = 'F70A0A';
google_color_bg = 'F70A0A';
google_color_link = '0E0E0E';
google_color_url = '0E0E0E';
google_color_text = '0E0E0E';
         </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></td>
   </tr>
</table>
   <!-- start -->
<style type="text/css">

#topbar{
position:absolute;
border: 0px solid black;
padding: 0px;
background-color: yellow;
width: 100px;
visibility: hidden;
z-index: 0;
}

</style>

<script type="text/javascript">
var persistclose=1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 10 //set x offset of bar in pixels
var startY = 5 //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.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.right=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.stayTopright=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("stayTopright()", 0);
}
ftlObj = ml("topbar");
stayTopright();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>




<div id="topbar">
<a href="javascript:;" onclick="closebar()"><b>Reklamı Kapat</b></a>

<script type="text/javascript">
   <!--
   var reklamstore_region_id = "117682";
   var reklamstore_client_id = "33379";
   var reklamstore_ad_type = "all";
   var reklamstore_ad_width = 120;
   var reklamstore_ad_height = 600;
   var reklamstore_ad_format = "120x600";
   var reklamstore_ad_frameborder = 0;
   var reklamstore_color_border = "#66CC33";
   var reklamstore_color_bg = "#CCCCCC";
   var reklamstore_color_link = "#000000";
   var reklamstore_color_url = "#000000";
   var reklamstore_color_text = "#000000";
   var reklamstore_size_link = "12";
   var reklamstore_screen_size = window.screen.width + " " +window.screen.height;
   //-->
   </script>
   <script type="text/javascript" src="http://www.reklamstore.com/admanager/render_ads.js">
   </script>
</div>

<!-- finish -->




Acaba kodda sorunmu var genel problemmi?
______________

Ödev-Arsivleri Sitem Silindi.Msnmi Unuttum Nerden Bulabilirim
Mesaj14.01.2009, 19:46 (UTC)    
Mesaj konusu:

Genel Bir Problem Yoktur Birde Şu Kodu Deneyiniz. Google Reklamını Sildim.

Kod:
</head>
   
   <!-- start -->
<style type="text/css">

#topbar{
position:absolute;
border: 0px solid black;
padding: 0px;
background-color: yellow;
width: 100px;
visibility: hidden;
z-index: 0;
}

</style>

<script type="text/javascript">
var persistclose=1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 10 //set x offset of bar in pixels
var startY = 5 //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.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.right=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.stayTopright=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("stayTopright()", 0);
}
ftlObj = ml("topbar");
stayTopright();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>




<div id="topbar">
<a href="javascript:;" onclick="closebar()"><b>Reklamı Kapat</b></a>

<script type="text/javascript">
   <!--
   var reklamstore_region_id = "117682";
   var reklamstore_client_id = "33379";
   var reklamstore_ad_type = "all";
   var reklamstore_ad_width = 120;
   var reklamstore_ad_height = 600;
   var reklamstore_ad_format = "120x600";
   var reklamstore_ad_frameborder = 0;
   var reklamstore_color_border = "#66CC33";
   var reklamstore_color_bg = "#CCCCCC";
   var reklamstore_color_link = "#000000";
   var reklamstore_color_url = "#000000";
   var reklamstore_color_text = "#000000";
   var reklamstore_size_link = "12";
   var reklamstore_screen_size = window.screen.width + " " +window.screen.height;
   //-->
   </script>
   <script type="text/javascript" src="http://www.reklamstore.com/admanager/render_ads.js">
   </script>
</div>

<!-- finish -->

______________
Atatürk diyorki ; Beni unutturmak isteyenler olabilir...

Takıldıgınız zor sorunlarmı var burdan çözümünü bulabilirsin tıkla
Mesaj15.01.2009, 13:38 (UTC)    
Mesaj konusu:

Kod bozuk onun yerine bana reklamı kapat ikonlu bir baneer verirmisiniz?
______________

Ödev-Arsivleri Sitem Silindi.Msnmi Unuttum Nerden Bulabilirim
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu