I have found that when multiple jQuery dialogs are open on a page, they are prone to overlapping.
How would I stop this, either by a built-in jQuery UI feature, or a custom bit of code?
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.
You need to change the CSS
z-indexvalue for each modal window. Eg., you have invoked three modal windows at a time, each of them will have a commonclassand a uniqueid. Say this way:Now you can choose which one to be first. Say, I want the
#firstModalto be on top of#secondModal, the you can use this bit of CSS code:If you want all the modal windows to be appearing on the same co-ordinates, try this: