Okay, maybe you can help with this, too...
First off, it's working fantastically. Thank you so much!
To make it perfect, I'm trying to get it not pass the mouse click "through" the overlay. The MT wiki page for the overlay roll function states the following:
In case of a mouse click or press, the click is first ran through validateAndPassEvent to see if it should be dispatched to the current zone renderer or not. The validation is done by the webView, which check the value of --pointermap for the html element clicked. If the value is --pointermap:block, the mouse event is not forwarded; if it is --pointermap:pass, it is forwarded, and if it is --pointermap:blockopaque, the transparency of the point clicked determines if the click goes through or not.
But how do I incorporate that into my macro/code to be able to "block" the click from going through the overlay: I tried to add "--pointermap: block;" to my CSS, but didn't do anything. I also tried the CSS standard "pointer-events: auto;" and it didn't stop the click from passing through the overlay, either.
Thanks for any help you might be able to suggest on getting the "--pointermap: block" function to work.