Open popup from HTML widget
Hello all,
So I have been trying to write some HTML to open a popup from the HTML widget.
However this has not been going so well.
I can easily make a link to "change" the website I am currently in, but can't seem to get it to open as a popup...
Here is the HTML string I have tried:
var htmlString =
'<a href="https://url.com/Thingworx/Runtime/somemashup" ' +
'target="popup" ' +
"onclick=\"window.open('https://url.com/Thingworx/Runtime/somemashup', 'popup', 'width=600,height=600'); return false;\">" +
"Open Link in Popup" +
"</a>";
I have a strong feeling that it might not be possible, so for now I guess I'll try to find a way to use a button or something to trigger a navigation function instead...
Thanks,
Jens

