我在我的网站主页上使用了fullpage.js,我制作了它,使它每10秒自动滚动一次。
我使用了如下功能:
$( '#fullpage' ).fullpage({
continuousVertical: true,
loopHorizontal: false,
resize: false,
afterRender: function() { // so that it applies to first section too
forceScroll();
}
});
slideTimeout = setInterval(
基于链路
我试图解决键盘启动时的滚动问题,但在横向模式下出现问题。
在横向模式下使用(App.Current as App).RootFrame.RenderTransform = new CompositeTransform();时出现问题。
上面的解决方案帮助我生成了一个类似于windows phone 7.5默认日历应用程序中的新约会页面的行为。
但是这个(App.Current as App).RootFrame.RenderTransform = new CompositeTransform();不适用于页面的横向。
它在纵向模式下工作正常,但在更改方向(翻转设备)时,页面不会自动转