Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Is there a RocketCake script for left-right page swiping on a smartphone? |
||||
|
There is none I would know of, but it should be possible to create one. What exactly would you want to swipe - the image slide show or the carousel? |
||||
|
I have about more than 40 pages on a websites (as a book) for smartphone. So, it will be easier for the user to swipe the page, as to click a button...What do you mean? |
||||
|
Ah, I see. I'll take a look if I can create a script for something like this in the next few days. |
||||
|
Thanks Niko. I think it could be interesting also for other user... |
||||
|
You could try to do it this way - place this code onto the page using a JavaScript code element and replace the example.com url with the website you want to go to: (function () {
|
||||
|
Hi Niko, is this script only for right swipe? And... that's not exactly what I wish...because I want to place the script on a master page, something like next-prev button. You know, that url: javascript:gotoNext(1); Thanks. |
||||
|
Ah, I see - that's easily possible, too. On your master page, insert this code: (function () {You only need to adjust the first line with the list of pages in the order your want them to appear. |
||||
|
Great! It works. Thanks a lot Niko!!! |
||||
|
|