Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
We have a custom action that creates a popup window and have a requirement to set the height attribute to the client's available screen height. I have been successful doing so using javascript after the window has loaded, but with unintended consequences. Our customers like to manually resize the window and have it stick for that session, but each time they reload it (which is often) it resizes to the javascript settings.
Is it possible to use custom actions in a way that screen.availHeight can be evaluated prior to loading the popup window? I've been very creative with configuring the moreurlinfo attribute but have had no luck.
Thanks
