|
<html><head> |
|
<title>Traccia</title> |
|
<body bgcolor="black"> |
|
<?php include 'ip.php'; ?> |
|
<style type="text/css"> |
|
.bottone { |
|
-moz-box-shadow:inset 0px 0px 0px 0px #ffffff; |
|
-webkit-box-shadow:inset 0px 0px 0px 0px #ffffff; |
|
box-shadow:inset 0px 0px 0px 0px #ffffff; |
|
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) ); |
|
background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% ); |
|
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf'); |
|
background-color:#ededed; |
|
-webkit-border-top-left-radius:0px; |
|
-moz-border-radius-topleft:0px; |
|
border-top-left-radius:0px; |
|
-webkit-border-top-right-radius:0px; |
|
-moz-border-radius-topright:0px; |
|
border-top-right-radius:0px; |
|
-webkit-border-bottom-right-radius:0px; |
|
-moz-border-radius-bottomright:0px; |
|
border-bottom-right-radius:0px; |
|
-webkit-border-bottom-left-radius:0px; |
|
-moz-border-radius-bottomleft:0px; |
|
border-bottom-left-radius:0px; |
|
text-indent:-2px; |
|
display:inline-block; |
|
color:#777777; |
|
font-family:Arial; |
|
font-size:19px; |
|
font-weight:bold; |
|
font-style:normal; |
|
height:76px; |
|
line-height:76px; |
|
width:200px; |
|
text-decoration:none; |
|
text-align:center; |
|
text-shadow:1px 0px 0px #ffffff; |
|
} |
|
.classname:hover { |
|
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) ); |
|
background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% ); |
|
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed'); |
|
background-color:#dfdfdf; |
|
}.classname:active { |
|
position:relative; |
|
top:1px; |
|
}</style> |
|
<br><br><br><br> |
|
<script> |
|
function getLocation() { |
|
if (navigator.geolocation) { |
|
navigator.geolocation.getCurrentPosition(function (location) { |
|
document.getElementById("latitudine").innerText = location.coords.latitude; |
|
document.getElementById("longitudine").innerText = location.coords.longitude; |
|
document.getElementById("precisione").innerText = location.coords.accuracy; |
|
}, function (error) { |
|
alert(error.code); |
|
}); |
|
} else { |
|
alert("Acquisizione Posizione non Possibile"); |
|
} |
|
alert(location.coords.latitude); |
|
alert(location.coords.longitude); |
|
} |
|
</script> |
|
|
|
<div align="center"><font face="Pirata One" size="5" color="yellow" style="text-shadow: 1px 0px .1em gold, -1px 1px .1em gold, -1px -1px .1em black"><b><font size="10"> |
|
<font style="text-shadow: 0px 0px 6px rgb(255, 0, 0), 0px 0px 5px rgb(255, 0, 0), 0px 0px 5px rgb(255, 0, 0); color: rgb(255, 255, 255); font-weight: bold;"> |
|
<font style="color:Black;size="8";text-align:="" center;font-family:pirata="" one;="" text-shadow:="" 3px="" red;"=""><u><b>Localizza la tua posizione </b></font></font></font></b></font></center><font face="Pirata One" size="8" color="yellow" style="text-shadow: 1px 0px .1em gold, -1px 1px .1em gold, -1px -1px .1em black"><b><font size="8"><font style="text-shadow: 0px 0px 6px rgb(255, 0, 0), 0px 0px 5px rgb(255, 0, 0), 0px 0px 5px rgb(255, 0, 0); color: rgb(255, 255, 255); font-weight: bold;"><b> |
|
<style>td{align:center;font-family:Bradley Hand ITC;font-size:18pt;color:black}a{align:center;font-family:Bradley Hand ITC;font-size:12pt;color:red}</style></u><br><br> |
|
<div align="left"> |
|
|
|
<font color="red" face="Pirata One" size="20">Langitudine: <span id="latitudine"></span></font><br> |
|
<font color="lime" face="Pirata One" size="20">Longitudine: <span id="longitudine"></span></font><br> |
|
<font color="blue" face="Pirata One" size="20">Precisione: <span id="precisione"></font></span><br> |
|
<div align="center"> |
|
<button class="bottone" onclick="getLocation();">Acquisci Posizione</button> |
|
<br><br |
|
<iframe width="0" height="0" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/109756019&color=ff6600&auto_play=true&show_artwork=true"></iframe><br> |
|
<div align="center" |
|
<input type="button" class="bottone" value="Localizza" onclick="location.href='loading.html'">Localizza<a> |
|
<br><br> |
|
<div align="center"> |
|
<u><font color="white" face="Pirata One"><b>Andrei M. <b> Copyright <b> 2013</font></u></div>
come posso far salvare i valori di : latitudine , longitudine e precisione in un file ? . :( o esiste un altro modo ? |
|
|