Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I added the following to the base of my page.tpl.html page to implement a dialog page for my about us page:
<div data-role="header" data-theme="b">
<h1>About Us</h1>
</div>
<div data-role="content" data-theme="b">
<p>Content here.....</p>
<div class="showastabs center">
<a href="#" data-rel="back" data-icon="ok" data-iconpos="left" data-role="button" data-inline="true">Ok</a>
</div>
</div>
I then added the following link to access the dialog window:
<a href="#aboutus" data-position-to="window" data-transition="pop" data-rel="dialog" data-inline="true">About</a>
When I click the link, and click the "Ok" button on the dialog window and it returns to the previous page the top element on the page is removed and I cannot access my slider menu.
Comments
Comment #1
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedI'm not sure, I haven't used dialog windows yet. Maybe the href on the OK link should be href="" instead of href="#". DrupalGap won't understand a path of '#' if for some reason jQM tried to navigate there.
Comment #2
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedClosing due to inactivity, please open a new issue if a problem persists.