我只是在我的 phonegap 项目中使用 Telerik Transition 插件。我有 2 个 html 页面。当点击到第二页时,幻灯片转换工作,但问题是,幻灯片转换将重定向到同一页面,几秒钟后切换到第二页。我该如何实现,以便当我单击第一页中的按钮时,它会快速重定向到第二页 html。我希望在从第一页单击按钮时快速重定向到 signup.html。谢谢
Javascript
$(document).ready(function() {
$("#signup").click(function(){
window.plugins.nativepagetransitions.slide({
"href":"signup.html",
"direction":"left", //left is defaults
"slowdownfactor" : 3
});
});
});
<a id="signup" href="javascript:void(0)" style="text-decoration: none">
<h6 align="center" style="margin-top:30px">Register Now</h6>
</a>