Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj13.07.2009, 17:43 (UTC)    
Mesaj konusu: Sitenle beraber kayan yazı kodu

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 />

______________
Kural ihlali! @benimsitem1993
Önceki mesajları göster:   


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