You are reviewing MouseStats documentation: Take a look to the product!

How to toggle Micro Survey popup?

If you need to toggle a survey popup using JavaScript, you can simply call the following function after pageload.

try { MouseStatsMicroSurveys.Toggle(); } catch(e) {};

On each call, the gadget will be toggled, so if it be shown, it will become hidden and vise-versa.