![]() |
![]() |
![]() | #1 | |
Çevrimdışı ![]() IF Ticaret Sayısı: (0) | JS ile Fare Pozisyonu ve Tuş Denetimi <html> <head> <title>JS ile Fare Pozisyonu ve Tuş Denetimi</title> <style type="text/css"> .tasinan { position: absolute; border: dashed 1px #59f; margin: 15px 15px 15px 10px; padding: 15px; } </style> <script type="text/javascript"> var FarePosUst = 0; var FarePosSol = 0; function FarePosAl(olay) { if(!olay) var olay = window.event; FarePosSol = olay.clientX; FarePosUst = olay.clientY; document.getElementById("BilgiKutusu").style.top = FarePosUst; document.getElementById("BilgiKutusu").style.left = FarePosSol; document.getElementById("mousepos").innerHTML = FarePosSol + ", " + FarePosUst; return true; } // Fare hareket olay kontrolünü kendi fonksiyonumuza bağlıyoruz. window.document.onmousemove = FarePosAl; </script> </head> <body> <div class="tasinan" id="BilgiKutusu"> <span>Fare Pozisyonu: </span><span id="mousepos"> </span> <br /> </div> </body> </html>
__________________ | |
| ![]() |
![]() |
Etiketler |
denetimi, fare, ile, js, pozisyonu, tuş, ve |
Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| |
![]() | ||||
Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
Uyku Pozisyonu İlişkiyi Yansıtıyor. | Düş | Ah Kadınlar | 0 | 02 Şubat 2013 23:08 |
Hamilelikte En Doğru Uyku Pozisyonu | Liaaa | Kadın Sağlığı | 0 | 19 Mart 2012 17:07 |
Ilkyardim Pozisyonu | Ecrin | İlk Yardım | 0 | 24 Eylül 2011 18:30 |
Şok pozisyonu nasıl verilir? | Sır | Sağlık Köşesi | 0 | 17 Eylül 2011 11:44 |