using data-btn-close = "none"
Hello,
I have an anchor linking to a dialog box, html of the dialog box here:
- <div data-role="page" id="myDialog" data-close-btn="none" >
- <div data-role="header">
- <h1>Terms and Conditions</h1>
- </div>
- <div data-role="content">
- <p>Lorem ipsum dolor allut et alos en</p>
- </div>
- </div>
But this is not removing the x in the top left of the dialog box. The link to open the box is here: Dialog box opens fine but I cannot remove the actual x with the element.
- <a class="ui-btn ui-btn-inline ui-btn-corner-all ui-btn-inner ui-overlay-shadow ui-shadow" href="#myDialog" data-rel="dialog">Open dialog</a>
I don't want to resort using a "display: none;" as I'm obviously just missing something obvious - anyone got any ideas?
Cheers,
Garry.