jquery mobile - Link in popup doesn't works -
i'm using jquery mobile create little mobile website.
i have popup link, link works if popup not taller phone screen. works on computer...
the cross close popup illuminated when click on link.
<div id="trouverunmatch" data-role="page"> <div id="notification" data-role="popup" data-overlay-theme="b"> stuff here <a href="#allnotifications">more</a> </div> </div> <div id="allnotifications" data-role="page"> </div>
edit: it's not problem bottom link, when click on everywhere inside popup go popup top , illuminate close button.
for example if go http://demos.jquerymobile.com/1.4.5/popup/ , click on picture (photo lightbox), resize browser half of (in height), if click on picture close button illuminated.
i have replace link :
<span class="link" data-link="allnotifications">more</span> $(document).ready(function() { $(".link").on('tap', function () { $.mobile.changepage( "#" + $(this).attr("data-link") ); }); });
it works ios chrome on desktop has problem now...
Comments
Post a Comment