I'm moving content from an older website. I'm using a Javascript to detect local month/date/time of day, and the Javascript works fine. Once the month/date/time of day is determined, that information is used to create the URL string for a link, like so
function goToURL() { window.location = "http://www.missionstclare.com/english/" + monthname + "/whole/" + thistime + "/" + day + thishtml + ".html"; }
And a button allows the user to call the link, like this:
<input data-type="button" onclick="goToURL()" value="Evening" />
onclick="goToURL()" works, but, what if the user is tapping?
Also, value="Evening" is necessary to give the button some text, but causes the button width to be about 50% of the window.
Any thoughts? Thank you so much.