javascript 没有任何UI框架的页面上的Phonegap幻灯片过渡效果

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22602504/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-27 23:27:11  来源:igfitidea点击:

Phonegap slide transition effect on pages without any UI framework

javascriptjquerycordovaphonegap-plugins

提问by Navneeth

Currently i am working in phonegap responsive mobile application.I am not using jquery mobile or any other UI framework.I want to slide left/right transition effect on pages.I am not getting proper solution for page slide transition. Someone help me with this as i don't know how to implement such effect?

目前我正在使用 phonegap 响应式移动应用程序。我没有使用 jquery mobile 或任何其他 UI 框架。我想在页面上滑动左/右过渡效果。我没有得到正确的页面幻灯片过渡解决方案。有人帮我解决这个问题,因为我不知道如何实现这种效果?

采纳答案by Navneeth

Finally i got slidetransitionplugin for cordova(phonegap) application. it works in both android and iphone. best for both single and multi page application without any UI framework. It supports slide, flip, Fade and Curl transitions.

最后我得到了用于cordova(phonegap)应用程序的幻灯片转换插件。它适用于android 和 iphone。最适合没有任何 UI 框架的单页和多页应用程序。它支持滑动、翻转、淡入淡出和卷曲过渡。

http://plugins.telerik.com/cordova/plugin/native-page-transitions

http://plugins.telerik.com/cordova/plugin/native-page-transitions

回答by Tamura

You can try to use some third party Javascript libraries such as Onsen UI. They have a very nice example of page sliding here.

您可以尝试使用一些第三方 Javascript 库,例如Onsen UI。他们有一个非常好的页面滑动示例here

回答by Tamura

why don't u try these one.

你为什么不试试这些。

https://github.com/leecrossley/cordova-plugin-native-transitions

https://github.com/leecrossley/cordova-plugin-native-transitions

it gives different transition effect in ios phonegap application expect slide.

它在 ios phonegap 应用程序中提供了不同的过渡效果,除了幻灯片。