Recently, I came across a helpful jQuery demo that demonstrated how to create a popup window on my website. For those interested, the demo link can be accessed here: http://jqueryui.com/dialog/#modal-message
The design of the window I am aiming to replicate can be seen in the following image: https://i.sstatic.net/weWdc.png
This particular window appears as an overlay on top of the webpage with options to either close it using the 'x' button or proceed by clicking the okay button. My goal is to customize this window to align with my website's aesthetics while retaining the functionality of the buttons. However, I encountered difficulties when attempting to modify the width of the window. Specifically, I am unsure about setting the dimensions of the window in terms of percentage relative to the screen size or in pixels. It is crucial for me to define a fixed window size to meet certain project requirements, but despite my efforts, I have struggled to achieve this.
For reference, here is the snippet of source code I extracted: https://i.sstatic.net/xmBjv.png
As I resorted to taking a screenshot of the code, interested individuals may access the complete source code from this link:http://jqueryui.com/dialog/#modal-message
My attempts involved exploring files such as jquery.js and jquery-ui.js, yet I was unable to pinpoint the specific line of code required to designate a set and unalterable width for the window. I also scanned through the .css file without much success. If anyone possesses the knowledge needed to assist me with this issue, I would sincerely appreciate the help. Thank you.