
Quote from Guust on March 11, 2019, 2:46 pmI created a web-app with 3 pages.
Is it possible to program to scroll between pages by swiping?
Best Regards,
I created a web-app with 3 pages.
Is it possible to program to scroll between pages by swiping?
Best Regards,

Quote from luishp on March 11, 2019, 7:24 pmHi @guust
I have just done a plugin for you (it will be included in next release).
Please download this file with the plugin and sample app.
Let me know if it works for you.Best regards.
Hi @guust
I have just done a plugin for you (it will be included in next release).
Please download this file with the plugin and sample app.
Let me know if it works for you.
Best regards.
Uploaded files:

Quote from luishp on March 15, 2019, 3:06 pmIt's really simple to use the plugin.
To install the plugin go to Options -> Add/Remove plugins and press the Add button.In your App put this code in every page (select each page and press the "code" tab):
neoSwipe "pageName" "getSwipe"Change "pageName" for the appropiate page name.
Then go to Project->Subroutines and press "Add NeoScript Subroutine"
Subroutine name: getSwipe
Add this code:.Posible values "left" "right" "up" "down" "in" "out" If [direction] == "left" GotoNextPage ElseIf [direction] == "right" GotoPrevPage EndIfIt's very important to add a parameter pressing the "+ Add..." button below:
Alias: [direction]
Type: VARREF
Done. Now you can swipe pages left and right.
It's really simple to use the plugin.
To install the plugin go to Options -> Add/Remove plugins and press the Add button.
In your App put this code in every page (select each page and press the "code" tab):
neoSwipe "pageName" "getSwipe"
Change "pageName" for the appropiate page name.
Then go to Project->Subroutines and press "Add NeoScript Subroutine"
Subroutine name: getSwipe
Add this code:
.Posible values "left" "right" "up" "down" "in" "out" If [direction] == "left" GotoNextPage ElseIf [direction] == "right" GotoPrevPage EndIf
It's very important to add a parameter pressing the "+ Add..." button below:
Alias: [direction]
Type: VARREF
Done. Now you can swipe pages left and right.


Quote from luishp on March 19, 2019, 8:17 pmOnly: The swipe function don't work at the first page.
It's strange. It woks fine for me.
Have you tried my sample app?
Only: The swipe function don't work at the first page.
It's strange. It woks fine for me.
Have you tried my sample app?

Quote from Guust on March 19, 2019, 10:04 pmYes. It works perfect.
Mayby it's because I use two language selection buttons on the first page who are a link to the two other pages?
Once I clicked one of these buttons it works perfect on the other pages. Exept on the first page...
Yes. It works perfect.
Mayby it's because I use two language selection buttons on the first page who are a link to the two other pages?
Once I clicked one of these buttons it works perfect on the other pages. Exept on the first page...
Quote from fmorales on June 28, 2020, 7:13 amHello everybody. It seems that NeoSwipe interferes with the scroll up-down function. Is is correct? Is it possible to activate left-right swiping without up-down scroll interference?
Hello everybody. It seems that NeoSwipe interferes with the scroll up-down function. Is is correct? Is it possible to activate left-right swiping without up-down scroll interference?

Quote from fmorales on June 28, 2020, 10:11 pm(The problem is only visible on a touch screen like phone or tablet)
In this example, the first page has the swipe function (is actually using only right and left) but the screen can't scroll down. The second page has no swipe function, but the same paragraph CAN scroll down. So the swipe up and down is interfering with the scrolling down function. Is there any solution?
(The problem is only visible on a touch screen like phone or tablet)
In this example, the first page has the swipe function (is actually using only right and left) but the screen can't scroll down. The second page has no swipe function, but the same paragraph CAN scroll down. So the swipe up and down is interfering with the scrolling down function. Is there any solution?
Uploaded files:
Quote from luishp on June 30, 2020, 5:07 pm@fmorales, the problem is described here in the original JavaScript library documentation page:
http://labs.rampinteractive.co.uk/touchSwipe/docs/tutorial-Page_scrolling.htmlPlease download and replace yours with the attached plugin (scrolling set to auto).
Let me know if it works.
Regards.
@fmorales, the problem is described here in the original JavaScript library documentation page:
http://labs.rampinteractive.co.uk/touchSwipe/docs/tutorial-Page_scrolling.html
Please download and replace yours with the attached plugin (scrolling set to auto).
Let me know if it works.
Regards.

Quote from luishp on June 30, 2020, 5:14 pm@fmorales, also take a look here:
https://www.youtube.com/watch?v=kn2Nn3k9mPcRegards.
@fmorales, also take a look here:
https://www.youtube.com/watch?v=kn2Nn3k9mPc
Regards.