3/26/2021 11:47 AM | |
Joined: 3/31/2017 Last visit: 10/28/2024 Posts: 1 Rating: (0) |
Dear Denilson Pegaia Thanks for your great introduction infos, it was really help-full. i have a question just first i will describe you what i wanna do. I wanna make the browser window responsive : - get the browser window size (width & hight) using the browes object "window" - after i get the size parameters i can change the screen propertis "Size and position" related to the browser window size. I just tried but i cannot get the window size with "window" object i guess because it is a browser object and in HMIRuntime javascript it cannot be used. My question is , what would you do if you had to solve this? ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 03/26/2021 12:57:22New subject after splitting |
|
3/26/2021 2:32 PM | |
Joined: 6/22/2017 Last visit: 9/26/2024 Posts: 420 Rating: (57) |
Hi, same answer as here: https://support.industry.siemens.com/tf//ww/en/posts/wincc-unified-project-screen-resolution-in-script/237947/?page=0&pageSize=10 For this a Custom Web Control should work. Get in touch with your Siemens Consultance, they were able to send me one that reads the resolution of my Google Chrome frame. |
Follow us on