[英]How to make a link that changes the source of an iframe and scrolles to an anchor on that page
[英]How to make a anchor link page swipeable?
我最近在这个问题上苦苦挣扎,“如何使锚链接可滑动” .....
如何使我从#page1滑动到#page2?
我所有页面的内容都用一页javascript编写,其结构如下所示:
if (hash === "#page1") {
....."});
} else if (hash === "#page2") {
.....});
} else if (hash === "#page3") {
.....});
请参阅原始页面: http : //coenraets.org/blog/2013/03/hardware-accelerated-page-transitions-for-mobile-web-apps-phonegap-apps/
我的页面: http : //siuyian.com/test9/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.