Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
Hi

If i have a page with many buttons (ex. the index page), when i want to swipe to next page i can't. I have to find a spot outside the buttons. Some pages have large images with button function here is it also imposible to change page...

Is it possible to have the swipe-to-page, work over buttons or maby there is a quickfix js? :)
in bugs by (290 points)
  

1 Answer

+1 vote
 
Best answer

By default, interactive elements (like buttons) are excluded from swiping so that swipe detection doesn't interfere with the interactivity of those elements.

If you attach the follow as a .js file using the Resources section, it will update the swipe function not to exclude any elements from swipe detection:

$(function(){
    $('#container').swipe({excludedElements:''});
});

Note: this may cause issues with the interactive elements.

 

by (197k points)
selected by
Ok ill try thanks :)
works great for my purpose :)
Glad to hear it, Lyder!