cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

How to dynamically size a custom action popup window to client screen height?

emanarello
3-Visitor

How to dynamically size a custom action popup window to client screen height?

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

0 REPLIES 0
Top Tags