0
私は下のこの機能を持っていますが、それはiphone6では動作しません:jQuery iPhone用のタッチをクリックしますか?
$(document).on("vclick"...
をしかし、それはまだ動作しません:
$(document).on("click touch", "a[href^='#']", function (e) {
var id = $(this).attr("href");
if ($(id).length > 0) {
e.preventDefault();
// trigger scroll
scrollMagicController.scrollTo(id);
// if supported by the browser we can even update the URL.
if (window.history && window.history.pushState) {
history.pushState("", document.title, id);
}
}
});
私はvclick
を試してみました。
アイデア?
がないおかげだと思うが、それはまだ動作しません。 – laukok