1
私はPHPでfullpage.jsを使用しています。私はこのコードを持っています:JQuery Full Page JS
$('#fullpage').fullpage({
anchors: ['homepage', 'aboutmepage'],
menu: '#menu',
onLeave: function(index, nextIndex, direction){
ALERT anchors[1] here!
// changeNav(nextIndex);
}}
インデックスに基づいてアンカーの内容を警告する必要があります。私はどのようにわからない。私は$('anchors')[0]
を試しましたが、動作しませんでした。 ありがとうございます。
作品、おかげで多くのことを!!!!!!! :) :) :) :) –