I have a horizontal menu bar. And then I have IFRAME filling the whole page. Item from menu opens a url inside the IFRAME.
Towards the bottom of the IFRAME - i have a calendar that I am opening up above the calendar button. I got the code from the user manual:
var picker =
popupElement = picker.get_popupContainer();
var dimensions = picker.getElementDimensions(popupElement);
position.y - dimensions.height);
THe window is opening up fine, but the IFRAME scrolls upward in the main window when calendar opens up. that probably is for the amount of size it needs below the calendar button. But since I am opening up the window above there is no need to scroll the page. Because of the scroll my menu at the top also scrolls out of the window.
Any solution? Should I set the z-index of IFRAME to something to stop it?