Profile
Achievement
Meander365's Recent JavaScript SnippetsTagged javascript
- All /
« Prev 1 Next »
Uses html5 geolocation to determine device position and sets this as the starting point for directions on a Google Map. Use modernizer to detect support.\r\n\r\nhttp://diveintohtml5.org/geolocation.html\r\n\r\nhttp://code.google.com/apis/maps/docume...
1
938
posted 13 years ago by Meander365
Great for those situations where you need an element fixed on a page - so when a user scrolls it stays in the same position - *relative to its parent element*.
0
663
posted 13 years ago by Meander365
Create two new bookmarks - one for dev, one for live and add the following corresponding code to each.
1
697
posted 14 years ago by Meander365