On Fri, Oct 12, 2012 at 08:30:40AM +0200, Alexander Burger wrote: > ... > (cons 'onload > (text > "navigator.geolocation.getCurrentPosition(function(pos) { > lisp('@1!setLocation', > \"+\" + -pos.coords.latitude * 10000, > \"+\" + -pos.coords.longitude * 10000); > } )" > ...
Oops, the '-' signs in front of the 'pos' values were just for testing purpuses. The two lines should actually be \"+\" + pos.coords.latitude * 10000, \"+\" + pos.coords.longitude * 10000); Cheers, - Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe