hiroprotagonist / jquery.mobile.actionsheet

An actionsheet for jquerymobile
103 stars 34 forks source link

Multiple dialog on one page #20

Closed larousse closed 12 years ago

larousse commented 12 years ago

This is working beautifully for me.

Here is where I can use some help if possible.

I have a navbar with 4 buttons in the footer, 2 of them launch a dialog but I would like to have only one open at a time.Which means that one of the overlays is active (displayed), I would like it to hide when the other overlay is activated by clicking on the a data-role="actionsheet". I have tried a few things without success. Thanks!

    a href="#home">Home
    a href="#groupdata">Groups
    a data-role="actionsheet" data-sheet='map_filter_overlay' id="filter-a">Map Filter
    a data-role="actionsheet" data-sheet='holeselector_overlay' >Go to Hole
hiroprotagonist commented 12 years ago

Hey larousse I've extend the sample page. Take a look at the diff of this commit. This will help you. https://github.com/hiroprotagonist/jquery.mobile.actionsheet/commit/2028dd45ed26c22fe9b17555a36b0104c234ad19

Cheers Stefan

larousse commented 12 years ago

Awesome! thanks!!!!

On 3/1/12 12:22 PM, Stefan Gebhardt wrote:

Hey larousse I've extend the sample page. Take a look at the diff of this commit. This will help you. https://github.com/hiroprotagonist/jquery.mobile.actionsheet/commit/2028dd45ed26c22fe9b17555a36b0104c234ad19

Cheers Stefan


Reply to this email directly or view it on GitHub: https://github.com/hiroprotagonist/jquery.mobile.actionsheet/issues/20#issuecomment-4268248