<div id="sns20170318sa1558" style="color: pink;">
</div>
<script>
function sns20170318sa1558(therequest) {
function getdims() {
var dimdisplay = document.getElementById("sns20170318sa1558")
var dims = "the number of five minute periods in a month:<br />"
dims = dims + "12 in an hour, 12 * 24 = " + (12 * 24) + " in a day,"
dims = dims + " 24 * 30 = " + (24 * 30)
dimdisplay.innerHTML = dims}
if (therequest === "get dims") {getdims()}
function drawthecalendar() {
} // sns20170318sa1558
sns20170318sa1558('get dims')
</script>
it might be nice to break the draw calendar function out onto another post
a div is required,
<div id="sns_frame" style="position:fixed;width:0px;height:0px;left:0px;top:0px;font-size:0px;color:pink></div>
also, some controls:
<div onmouseover="sns('left')" onmouseout="sns('stop')" style="position:fixed;left:0px;bottom:0px;width:100px;height:50px;background-color:pink"></div><div onmouseover="sns('right')" onmouseout="sns('stop')" style="position:fixed;right:0px;bottom:0px;width:100px;height:50px;background-color:pink"></div>
<div style="position:fixed;left:30%;bottom:0px;width:100px;font-size:100px">
<div onmouseover="sns('faster')"
style="position:absolute;left:0px;background-color:pink">-</div>
<div onmouseover="sns('slower')"
style="position:absolute;right:0px;background-color:pink">+</div>
<div id="sns_speed" style="position:absolute;left:150%>1</div>
</div>
i need to process a date
and return a thirty calendar
with that date as the first day
for (var i = 0; i < 30; i = i + 1) {
get a date for i ... this i don't yet know how to do
*