This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Visu FULL-Screen mode hang up after starting
#2
Most likely the problem is caused by trends that you have included via iframe element.
Try this code for fullscreen, it will only work on the main visualization.
Code:
$(function() {
  var body = document.body;
  
  if (body.classList.contains('usermode')) {
    function fs() {
      document.documentElement.requestFullscreen();
      body.removeEventListener('click', fs);
    }
    
    body.addEventListener('click', fs);
  }
});
Reply


Messages In This Thread
RE: Visu FULL-Screen mode hang up after starting - by admin - 16.03.2023, 06:41

Forum Jump: