<html>
<body>
<p id="button">Lokasyonunu gösterir:</p>
<button onclick="getLocation()">Lokasyon Göster</button>
<script>
var x=document.getElementById("button");
function getLocation()
{
if (navigator.geolocation)
{
navigator.geolocation.getCurrentPosition(showPosition);
}
else{x.innerHTML="Web tarayıcısını güncellemek gerekiyor olabilir...";}
}
function showPosition(position)
{
x.innerHTML="Latitude: " + position.coords.latitude +
"<br>Longitude: " + position.coords.longitude;
}
</script>
</body>
</html>
28 Kasım 2011 Pazartesi
HTML5: Koordinat göster
Kaydol:
Kayıt Yorumları (Atom)
İnsdroid
Sabahtan beri çatada çutada çatada çutada… Bitmedi yine de… Neyse, yolumuz uzun, toparlıyorum çantamı, adaptörü falan tıkıştırıyorum bir şe...
-
Metasploitable is a kind of vulnerable Linux virtual machine image for penetration testing. It is Debian 32bit based operation system, and r...
-
Adding mirros: Open the terminal as sudo user and; apt update apt upgrade Mirrors will be added automaticly after above operat...
-
1 TCP Port Service Multiplexer (TCPMUX) 5 Remote Job Entry (RJE) 7 ECHO 18 Message Send Protocol (MSP) 20 FTP -- Data 21 FTP -- Control 22 S...
Hiç yorum yok:
Yorum Gönder