MV how do I make this iframe functional?

Solved, thank you.
I'm not sure why you'd really want to do this but most likely it's because of how you're placing it in there and how the game is taking over touch/click events. One thing to try would be to implement this simple code: 


var touchEnabled = false; // set to true to enable touch again.

TouchInput._onMouseDown = function (event) {

if (touchEnabled === true)
{
// this is all the default code that would normally come from the core RMMV files.
if (event.button === 0) {
this._onLeftButtonDown(event);
} else if (event.button === 1) {
this._onMiddleButtonDown(event);
} else if (event.button === 2) {
this._onRightButtonDown(event);
}
}
};


Then you can just set the touchEnabled variable to on or off with a simple script. 


I also wrote this functionality into my Z_Core plugin so you could turn it on/off in the Plugin Manager. 





Aside from that it could be that your Iframe is just not in the right place.  You might need to give it absolute positioning with a top/left value, a height/width value and a z-index that's very large like 9999. 


You could also probably have your Iframe in your index.html page and set it up to be next to the main game area instead of on top of it. Then you'd want to set it to "display:none" and use some javascript in-game to change it back to "display:block" when you want it to show up. I haven't tested that out though. 

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-this-iframe-functional.62773/