SORU
18 EKİM 2010, PAZARTESİ


javascript: scroll son tespit

overflow div Kat 3 ** yaptım.

** 4, ben altına kaydırılan zaman ister bir fonksiyonu Çalıştır.

CEVAP
9 Ocak 2011, Pazar


Kabul cevabı bu yana silindi temelde kusurlu olduğunu. Doğru cevabı:

function scrolled(e) {
  if (myDiv.offsetHeight   myDiv.scrollTop >= myDiv.scrollHeight) {
    scrolledToBottom(e);
  }
}

Bu Firefox, Chrome ve Opera test. Çalışıyor.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Fr. Eckle Studios

    Fr. Eckle St

    29 Kasım 2006
  • GFX Tutorials

    GFX Tutorial

    12 AĞUSTOS 2013
  • midomansour

    midomansour

    19 EYLÜL 2009