The screen displays 3 dynamically created and loaded divs. The problem I am facing is that you are resizing when you try to make divs in full screen. (Press the button on the front panel and the second on the rear panel). When using the selection option from above, the size changes perfectly, but full-screen mode does not have the same effect.
This is my plunkr: http://plnkr.co/edit/qYxIRjs6KyNm2bsNtt1P
This is my current resize function:
for(i = 0; i<numOfDivs.length; i++){ var flipTarget = document.getElementById(flipDiv[i]); addResizeListener(flipTarget, function() { for(j = 0; j<numOfDivs.length; j++){ var style = window.getComputedStyle(flipTarget); divWidth = parseInt(style.getPropertyValue('width'), 10); divHeight = parseInt(style.getPropertyValue('height'), 10); width = divWidth - margin.left - margin.right; height = divHeight - margin.top - margin.bottom; document.getElementById(frontDivNames[j]).innerHTML = '<span style="font-size: 40px; font-family:icons; cursor:pointer" id="flip" onclick="flipper(\''+flipperDivNames[j]+'\')"></span>'; makeTestGraph(); makeSliderGraph(); }; }); }
Any help in hiding all other divs and their subsequent appearance would also be greatly appreciated. It took several days of work, and I got it almost nowhere, despite rewriting the code several times.
Thanks for the help.
source share