I've been looking for an answer to this as well. How do you show/hide a HTML5 panel either from within the script, or preferably from within the C++ aip?
1 person found this helpful
When I do CSInterface().closeExtension() the panel stays open, only the HTML content closes - in addition this is an unload which I don't want to do.
This is buggy! This doesn't work at all. I had to close extension using c++ plugin, controller and unload extension method.
For hiding or display extension I do the same. Using C++ plugin. And load and unload method in HTLMController.
Thanks for clarifying that. It is what I was doing, but you answer prompted me to look for errors in other places. It turns out I was missing a semicolon in my js file that messed everything up.