Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj28.08.2008, 10:27 (UTC)    
Mesaj konusu: pop-up

siteye girince ekranı kaplayan ve biz sayfada asagı ınersek inen yukarı cıkarsak cıkan ustune tıklanmadan kapanmayan reklam pnceresi kodu lazım
______________
Mesaj28.08.2008, 10:30 (UTC)    
Mesaj konusu: Re: pop-up

tryusuf yazmış:
siteye girince ekranı kaplayan ve biz sayfada asagı ınersek inen yukarı cıkarsak cıkan ustune tıklanmadan kapanmayan reklam pnceresi kodu lazım


Merhaba

Kod İsteklerinizi Html Kodları ßölümündeki Uygun ßaşlıktan İsteyiniz

Kolay Gelsin İyi Eğlenceler

______________
Mesaj28.08.2008, 10:31 (UTC)    
Mesaj konusu:

aradıgımı ordadan bulamadıgım ıcın burdan ıstedım lütfen biliyosan sölersen co ksevinirim
______________
Mesaj28.08.2008, 10:33 (UTC)    
Mesaj konusu: Re: pop-up

tryusuf yazmış:
siteye girince ekranı kaplayan ve biz sayfada asagı ınersek inen yukarı cıkarsak cıkan ustune tıklanmadan kapanmayan reklam pnceresi kodu lazım


Ben de bu var işine yarar mı bilmem Reklam Kodu Buraya yazan yere kodunu koy reklamın.. Wink
Kod:
<!-- start --><style type="text/css">



#topbar{
position:absolute;
border: 0px solid black;
padding: 0px;
background-color: ;
width: 110px;
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 onclick="closebar()" href="javascript:;"><strong><font color="#00ff00" size="2">Reklamı Kapat</font></strong></a> REKLAM KODUN BURAYA</div>
<!-- finish --><a name="ust"></a>
<div>&nbsp;</div>
<div id="sidebar_container">
<h2 id="sidebar_heading">&nbsp;</h2>
<div id="sidebar_content"><SCRIPT language="JavaScript">
curPage=1;
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}else{
document.onmousedown = function(){return false}
}
</SCRIPT></div>
</div>
Mesaj28.08.2008, 10:42 (UTC)    
Mesaj konusu:

saol kardes ama aradıgım bu deıl ekranın ortasını kaplıycak benım dedıgım
______________
Mesaj28.08.2008, 11:18 (UTC)    
Mesaj konusu:

tryusuf yazmış:
saol kardes ama aradıgım bu deıl ekranın ortasını kaplıycak benım dedıgım

Bu sefer doğru eminim Razz REKLAMIN KODU BURAYA yazan yere kodu koy..

Kod:
<style type="text/css">


#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong>Bu Pencereyi Kapat</strong></font></a></div>
Mesaj30.08.2008, 04:13 (UTC)    
Mesaj konusu:

istediginherseyburada yazmış:
tryusuf yazmış:
saol kardes ama aradıgım bu deıl ekranın ortasını kaplıycak benım dedıgım

Bu sefer doğru eminim Razz REKLAMIN KODU BURAYA yazan yere kodu koy..

Kod:
<style type="text/css">


#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong>Bu Pencereyi Kapat</strong></font></a></div>


kardes cok saol dedıgım bu ama reklamı kapat lınkı nı kaldırabılırmısın bu koddan sole olsun reklam hıc kapanmasın ustune tıklayınca kapansın yoksa kapanmasın ıstıyorum
______________
Mesaj30.08.2008, 05:32 (UTC)    
Mesaj konusu:

Tabiki... Wink Kod aşağıda...

Kod:
<style type="text/css">

#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA GELECEK<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong></strong></font></a></div>
Mesaj30.08.2008, 14:21 (UTC)    
Mesaj konusu:

istediginherseyburada yazmış:
Tabiki... Wink Kod aşağıda...

Kod:
<style type="text/css">

#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA GELECEK<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong></strong></font></a></div>


tamam kardes ama reklamın uzerıne tıklayınca reklam kapansın ıstıyorum bu kapanmıyo
Mesaj30.08.2008, 15:24 (UTC)    
Mesaj konusu:

@ooop09

Arkadaş kapanmasın istemişti sana da kapanmalı vereyim.. Razz

Kod:
<style type="text/css">


#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong>Bu Pencereyi Kapat</strong></font></a></div>
Mesaj30.08.2008, 15:39 (UTC)    
Mesaj konusu:

istediginherseyburada yazmış:
@ooop09

Arkadaş kapanmasın istemişti sana da kapanmalı vereyim.. Razz

Kod:
<style type="text/css">


#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong>Bu Pencereyi Kapat</strong></font></a></div>


kardes ooop09 da benım sıtem ama kapanmalı derken "reklamı kapat" linki olmayacak reklamın üzerine tıklayınca kapanacak hanı sıtelerde olurya ıllakı uzerıne tıklıycaksın ondan dedım ayrıyetten saol yardımların ıcın Very Happy
______________
Mesaj31.08.2008, 00:19 (UTC)    
Mesaj konusu:

tryusuf yazmış:
istediginherseyburada yazmış:
@ooop09

Arkadaş kapanmasın istemişti sana da kapanmalı vereyim.. Razz

Kod:
<style type="text/css">


#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong>Bu Pencereyi Kapat</strong></font></a></div>


kardes ooop09 da benım sıtem ama kapanmalı derken "reklamı kapat" linki olmayacak reklamın üzerine tıklayınca kapanacak hanı sıtelerde olurya ıllakı uzerıne tıklıycaksın ondan dedım ayrıyetten saol yardımların ıcın Very Happy

______________
Mesaj31.08.2008, 12:23 (UTC)    
Mesaj konusu:

arkadaslar asagıdakı pop-up kodundakı reklamı kapat linkini kaldırıp reklamın ustune tıklanınca kapanan hala getirebilirmisiniz

Kod:
<style type="text/css">


#topbar{
position:absolute;
border: 1px solid black;
padding: 1px;
background-color: white;
width: 250px;
visibility: hidden;
z-index: 250;
}</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 = 25 //set x offset of bar in pixels
var startY = 100 //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.center=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()", 10);
}
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" style="right: 330px; width: 336px; position: absolute; top: 6px">REKLAMIN KODU BURAYA<br />
<a onClick="closebar(); return false" href="?PHPSESSID=ded28f0f99b0ba3a3d52ddf61f2b93a4"><font color="#000000"><strong>Bu Pencereyi Kapat</strong></font></a></div>
Mesaj03.12.2008, 11:57 (UTC)    
Mesaj konusu:

ARKADAŞIM VEDİĞİN KODLAR SÜPER ÇOK TŞKRR LAZIM OLAN BİR POP UP KODU DAHA ÖRNEK SİTEME GİRİLDĞİ ZAMAN OTOMATİK Bİ SAYFANIN DAHA ACILMASINI İSTİYORUM REKLAM SAYSAFI YANİ BÖYLE Bİ POPUP KODU VARMI VARSA ŞU TARZ REKLAM KODU İÇİNDE ÇALIŞIRMI (<script language="JavaScript" type="text/javascript">
sid=32565;channel=38313;w=728;h=90;wmid=11096;domain ="yasakdel.tr.gg";
kategori ="19";
gosterim="TBF";adsrv=1;arkaplan="FFFFFF";
baslik="000000";
aciklama="000000";
kenarlik="123456";
jsai="e658d7ff1d98d110";</script>
<script language="JavaScript" src="http://adserver1.adtech.com.tr/ppc.js"></script>) YANİ POPUP UN AÇICAĞI KOD BU YARDIMCI OLURSAN SEVİNİRİ ŞİMDİDEN TŞKR Neutral
Mesaj03.12.2008, 11:59 (UTC)    
Mesaj konusu:

Kodlarınızı Code Butonuna Basarak Verınız..!!
______________
Önceki mesajları göster:   


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