Skip to content

Commit

Permalink
implemented the simple.html code in the mooShell demo
Browse files Browse the repository at this point in the history
  • Loading branch information
CBeloch committed Feb 22, 2010
1 parent dca257f commit e9686ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<html>
<head>
<title>Locate for MooTools</title>
<script type="text/javascript" src="mootools-core.js"></script>
<script type="text/javascript" src="../Source/Locate.js"></script>

<style type="text/css">
html, body {
Expand Down Expand Up @@ -66,7 +64,7 @@ <h1>How to use</h1>
&nbsp;&nbsp; $("coord").set('html', error);<br>
&nbsp; },<br>
&nbsp; onLocate: function(position){<br>
&nbsp;&nbsp; $("coord").set('html', position.lat+","+position.long);<br>
&nbsp;&nbsp; $("coord").set('html', position.latitude+","+position.longitude);<br>
&nbsp; }<br>
});
</code>
Expand All @@ -87,7 +85,7 @@ <h1>How to use</h1>
<h1>Example</h1>
<h2>Watcher</h2>
If you use an iPhone or another mobile device supporting HTML5 geolocation, try moving around and watch the coordinates change
<iframe style="width: 90%; height: 300px; margin: 30px;" src="http://mootools.net/shell/yJBdt/1/embedded/"></iframe>
<iframe style="width: 90%; height: 300px; margin: 30px;" src="http://mootools.net/shell/yJBdt/4/embedded/"></iframe>

<div id="foot">by <a href="http://blog.cbeloch.de" title="cbeloch.de Blog" target="_blank">cbeloch</a></div>

Expand Down

0 comments on commit e9686ce

Please sign in to comment.