Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj29.11.2008, 21:02 (UTC)    
Mesaj konusu: Mouse ile hareket eden yazı veya banner :((

Arkadaşlar sitemde mesela banner sağ tarafta iken mouse aşağı inince bannerde aşağı inmesini mouse ile sitenin yukarısına çıkarken bannerinde yukarı çıkmasını sağlayan bi kod var . ve ben bunu aylardır aradım ama bi türlü bulamadım , Lütfen modlar yada diğer arkadaşlar cevab verirse çok sevinirim Neutral , Örn : www.mistanbul.tr.gg sitesindeki sol tarafta banner var onun gibi yani Very Happy

Şimdiden teşekkürler arkadaşlar
Mesaj29.11.2008, 21:32 (UTC)    
Mesaj konusu:

Kod:

<style type = "text/css">
#kayan{position : fixed;}
</style>
<div id = "kayan">
Buraya Banner,Reklam vb. İçeriğinizin Kodunu Koyunuz
</div>
Mesaj30.11.2008, 10:11 (UTC)    
Mesaj konusu:

olmadıı Crying or Very sad Crying or Very sad
Mesaj30.11.2008, 17:02 (UTC)    
Mesaj konusu:

bide bu kodu dene ola bilir

[/code]#hackerfriendtopbar{
position:absolute;
border: 0px solid black;
padding: 0px;
background-color: black;
width: 0px;
heihgt: 0px;
visibility: hidden;
z-index: 10;
}
</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 = 15 //set x offset of bar in pixels
var startY = 10 //set y offset of bar in pixels
var verticalpos="frombottom" //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("hackerfriendtopbar").style.visibility="hidden"
}

function staticbar(){
barheight=document.getElementById("hackerfriendtopbar").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.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("hackerfriendtopbar");
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>kod buraya gelecek
</script> <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> <font color="#000000"><br />
<strong><a onClick="closebar(); return false" href=""><font color="#ffffff" style="font-size: 8pt;">REKLAMI KAPAT</font></a></strong></font></div>
</div>
Kod:

______________


Mesaj30.11.2008, 17:04 (UTC)    
Mesaj konusu:

lpturkiye yazmış:
olmadıı Crying or Very sad Crying or Very sad


Kodu nereye eklediniz?
______________
http://webninjasi.tr.gg
Mesaj30.11.2008, 17:04 (UTC)    
Mesaj konusu:

pardon yanlis kod
______________


Mesaj30.11.2008, 17:05 (UTC)    
Mesaj konusu:

Kod:
#hackerfriendtopbar{
position:absolute;
border: 0px solid black;
padding: 0px;
background-color: black;
width: 0px;
heihgt: 0px;
visibility: hidden;
z-index: 10;
}
</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 = 15 //set x offset of bar in pixels
var startY = 10 //set y offset of bar in pixels
var verticalpos="frombottom" //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("hackerfriendtopbar").style.visibility="hidden"
}

function staticbar(){
barheight=document.getElementById("hackerfriendtopbar").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.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("hackerfriendtopbar");
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>
<div align="center"><font color="#000000"> </font>
<div id="hackerfriendtopbar" style="right: 0px; width: 109px; position: absolute; top: 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-5801497953569285";
/* 120x600, Erstellt 29.11.08 */
google_ad_slot = "3147718581";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script> <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>   <font color="#000000"><br />
<strong><a onClick="closebar(); return false" href=""><font color="#ffffff" style="font-size: 8pt;">REKLAMI KAPAT</font></a></strong></font></div>
</div>


kod bu ama icinde google reklami var onun kodunu cikar okey
______________


Önceki mesajları göster:   


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