DK'd programming notes

used to end entry divs: although the

isn't associated with a previous

, it's use doesn't extend the lower border and yet makes for the first
inserted there to offset with a blank line space, while further insertions only offset by a new line. rdm()/ rol(): For greater integrity, instead of rol() using utility variables passed from rdm(), rdm()'s dice holding array can be made unique (eg dic[]) adjusting the array length at each call, and then rol() can process the array on its own. An element would be reserved and initially zeroed to denote rol()'s iterator stepper. Note that the x1 variable prevents the HTML onfocus() routine from reactivating due to a cycling of the tab focus; while the Javascript z0 sleepout flag will prevent the HTML onfocus() routine from activating when the focus is on this anchor arising from a click here (and vice versa).


SV to proceed following hit roll. It appears that in order to transfer embedded map divs from one entry to another, a map must be removed from its last viewed entry to be reassigned to a new entry. If not, the map simply won't be displayed when attempted to be inserted in the new entry, without any error message or other glitch in execution. And on the other hand, it seems that this doesn't apply to an original entry that has never been presented (viewed/ disaplayed) in the document. document.querySelector("#id") doesn't seem to find numrically coded id names like "025". getElementById() is used instead in those cases. When enumerating the childNodes within a parentNode, a

increments the counter; so for instance the second paragraph in

is .childNodes[1], while in

it's [2]. A

(?or  

) should close a paragraph where text is to be added on/ appended by