Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jquery Datepicker widget is now showing up into simplemodal dialog #49

Open
dkedar opened this issue Mar 25, 2014 · 1 comment
Open

Comments

@dkedar
Copy link

dkedar commented Mar 25, 2014

simple-modal
Hello,

Currently, I am using simplemodal plugin into one of my project, its is working fine, but along with that I am also using JqueryUI datepicker widget, I have textfield into simplemodal dialog and I need to show a datepicker tigger by image Icon. but when I click the Trigger Image datepicker don't showing up..

If any solution then let me know..

@JohnSThomas
Copy link
Contributor

This is a DOM issue. If the highest parent of the datepicker has a higher z-index than the sibling parent of the modal, it will show up higher.

HTML

<div id="parent-of-modal">
    <div id="modal">
        Your Content
    </div>
</div>
<div id="parent-of-datepicker">
    <div class="datepicker">
        Dates and such
    </div>
</div>

CSS

#parent-of-modal {
    position: relative;
    z-index: 20;    
}

#parent-of-datepicker {
    position: relative;
    z-index: 10;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants