xaxex34 Geliştirici
Mesaj Sayısı : 323 Paylaşım Gücü : 880 Rep Point : 3 Kayıt tarihi : 07/08/10 Yaş : 28
| Konu: Site İle Beraber Kayan Yazı Cuma Ağus. 27, 2010 6:23 am | |
| - Kod:
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0041)http://dev.jdenny.co.uk/css/ie_fixed.html --> <HTML><HEAD> <FCK:META http-equiv=Content-Type content="text/html; charset=iso-8859-9" /> <SCRIPT> function calculateBgX(oElement) { return document.body.scrollLeft - getOffsetLeft(oElement); } function calculateBgY(oElement) { return document.body.scrollTop - getOffsetTop(oElement); } function getOffsetTop(oElement) { var iResult= oElement.offsetTop; while (oElement.offsetParent) { oElement = oElement.offsetParent; iResult += oElement.offsetTop; } return iResult; } function getOffsetLeft(oElement) { var iResult= oElement.offsetLeft; while (oElement.offsetParent) { oElement = oElement.offsetParent; iResult += oElement.offsetLeft; } return iResult; } </SCRIPT> <STYLE> #fixed { PADDING-RIGHT: 10px; PADDING-LEFT: 10px; LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; POSITION: fixed; ; POSITION: expression("absolute"); TOP: 10px; ; TOP: expression(eval(document.body.scrollTop)+10); BACKGROUND-COLOR: lightblue } </STYLE> </HEAD> <BODY> <DIV id=fixed>BURAYA İSTEDİĞİNİ YAZ<BR>BURAYA İSTEDİĞİNİ YAZ<BR>HACKERCARLAR<BR></DIV> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> | |
|