So I managed to implement the google map with a dragable marker on my website.  The only problem I have now is that I don't know how to save the location of where the marker is put the last time. So if a user drags the marker 4 times, I want to s...
When a user hits my website I check to see if I have a location session set in PHP. If there is no session set with the users location in I redirect them to www.domain.net/location. On this page there are a number of options for the user to pick a lo...
I have a location picker in my website which works fine so far (code below). I have a JS function that extracts all interesting variables and places them in other elements. When a user clicks a button that calls this function everything works fine, b...
I would like to add markers on google map with two locations, that are clickable. When I click on the button it should change the map marker with the location.    <script>     var map;     function initialize()     {         map = new google.ma...
I'd like to create a website where I share MY current location with the world, I've been reading about this all morning but I can't see a way to embed this into a website so it's publicly view able, Is it possible?...
I know that document.URL can not be set, while location.href can.  But the Document indicates:     URL is a replacement for the DOM Level 0 location.href property.   So when would we use document.URL?...
I am trying to reload current page with different url hash, but it doesn't work as expected.  (Clarification how I want it to work: Reload the page and then scroll to the new hash.)  Approach #1:  window.location.hash = "#" + newhash;   O...
Ive noticed that modern html5 based geolocation always asks the user "do you want to share your location with this website?". Which is fine, but I know there are other routes of trying to determine a ballpark geolocation without having to req...
How can do the same function in javascript that is document.location.pathname - except with the referrer? so something like document.referrer.pathname?  Thanks....
I have an AJAX call which takes care of some server side settings (I'm using this for login, language switches, etc.).  If, and only if, server side settings are actually changed as a result of this call, I want to refresh the current page (witho...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.