How do I make a JQuery dialog size to the size of the window?
I tried using ‘auto’ but that just makes it size to its elements, and I don’t want to specifiy the px’s exactly b/c that won’t be dynamic. thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m taking a little bit of a guess here, but you can get the size of the window using:
So, I would take that, and pass that value to the jQuery Dialog.