Forum'da ara:
Ara


Yazar Mesaj
Mesaj20.08.2010, 11:43 (UTC)    
Mesaj konusu: Saat

slm bu saati siteme koymak istiyorum ama sürekli solda kalsın ve aşağı indikçe aşağı insin
Kod:
<br />
<embed width="140" menu="menu" type="application/x-shockwave-flash" quality="high" wmode="transparent" loop="loop" scale="ShowAll" height="282" src="http://poq-space.com/Files/clocks/clock41.swf" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed><br />

yardımınız için sağolasınız
Mesaj20.08.2010, 16:31 (UTC)    
Mesaj konusu:

Bu şekilde olacaktır:
Kod:
<script language="javascript">
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 type="text/css">
#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);}
</style>
<DIV id=fixed><embed width="140" menu="menu" type="application/x-shockwave-flash" quality="high" wmode="transparent" loop="loop" scale="ShowAll" height="282" src="http://poq-space.com/Files/clocks/clock41.swf" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></DIV>

______________
..::KANZUK::..
Önceki mesajları göster:   


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