Is there a simple way to “stick” a jQuery UI dialog to the side of the browser window so on window resize, the dialog remains stuck?
Share
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.
To set the relative location (say, 50%), you’d use something like this:
You’d drop code like that into the onLoad or onReady functions of your page.
For more info, check out the jQuery Documentation on .resize() and event handlers in general.