Hi,
[Don't know if this post belongs somewhere else]
with the folloring script (see below) in a CommonEvent
I got this <div> with a text and a link in it ontop of my gameMap - as it should be.
But if I click on the link in the <div> nothing happens.
(When I put the code in a HTML-Page then it execute the link "
So it seems that the <div> is not activated.
Does someone know how I can get this <div> activated
At best while the content of the gameMap continues running, just the mouse input is used for this <div>
Kindest regards
Nafraju
-
[Don't know if this post belongs somewhere else]
with the folloring script (see below) in a CommonEvent
I got this <div> with a text and a link in it ontop of my gameMap - as it should be.
But if I click on the link in the <div> nothing happens.
(When I put the code in a HTML-Page then it execute the link "
console.log('TEST');")So it seems that the <div> is not activated.
Does someone know how I can get this <div> activated

At best while the content of the gameMap continues running, just the mouse input is used for this <div>

Kindest regards
Nafraju
JavaScript:
const outerDiv = document.createElement("div");
const textInputForm = document.createElement("div");
outerDiv.id = "outerDiv";
textInputForm.id = "textInputForm";
outerDiv.appendChild(textInputForm);
document.body.appendChild(outerDiv);
textInputForm.innerHTML = `
<body style="background-color: rgb(253, 251, 251)">
<div id="textInputField" align="center">
<span id="Argument">The truth is:</span><a href="console.log('TEST');" id="TargetArgument"><font color="#880088">TEST IST FALSCH</font></a>
</div>
</body>`;
-
