<script language=javascript>
element='<a target=_blank href=http://www.SITEADRESI.com><img border=0 src=RESIMADRESI.jpg width=160></a>';el_width=0;
el_height=0;
ns4=document.layers;
ie4=document.all;
ns6=document.getElementById&&!document.all;
if (ns4) { document.write('<layer name=element top='+el_height+' left='+el_width+'>'+element+'</layer>'); }
else { document.write('<div id=element style="position:absolute;top:'+el_height+';right:'+el_width+'">'+element+'</div>'); }
el_width_start=el_height_start=0;
function el_move() {
if(ie4){ ydiff=el_height_start-document.body.scrollTop; xdiff=el_width_start-document.body.scrollLeft; }
else { ydiff=el_height_start-pageYOffset; xdiff=el_width_start-pageXOffset; }
if (ydiff!=0) { movey=Math.round(ydiff/10); el_height_start-=movey; }
if (xdiff!=0) { movex=Math.round(xdiff/10); el_width_start-=movex; }
if (ns4) { document.layers.element.top=el_height_start+el_height; document.layers.element.right=el_width_start+el_width; }
if (ie4) { document.all.element.style.top=el_height_start+el_height; document.all.element.style.right=el_width_start+el_width; }
if (ns6) { document.getElementById("element").style.top=el_height_start+el_height; document.getElementById("element").style.right=el_width_start+el_width; }
}
elmove=setInterval('el_move()',14);
</script>
<style>
body {
background:url(x.gif) fixed;
}
#kayan_reklam {
position : fixed;
_position : absolute;
top : 0;
_top : expression(eval(document.body.scrollTop));
right : 10;
margin : 0;
}
</style>
<div id="kayan_reklam">kayan reklam</div>
HTML:<style> body { background:url(x.gif) fixed; } #kayan_reklam { position : fixed; _position : absolute; top : 0; _top : expression(eval(document.body.scrollTop)); right : 10; margin : 0; } </style> <div id="kayan_reklam">kayan reklam</div>
tek yapman gereken x.gif diye bir boş gif oluşturmak
HTML:<style> body { background:url(x.gif) fixed; } #kayan_reklam { position : fixed; _position : absolute; top : 0; _top : expression(eval(document.body.scrollTop)); right : 10; margin : 0; } </style> <div id="kayan_reklam">kayan reklam</div>
tek yapman gereken x.gif diye bir boş gif oluşturmak
Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.