Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

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

emanarello
3-Newcomer

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
Announcements


Top Tags