0
我有一個爲onbeforechange方法編寫的回調函數。下面是代碼:onbeforechange intro.js回調
introJs().onbeforechange(function() {
if($(this).is(":visible") != true)
if($(this).is("ui-tabs-panel") == true)
$('.ui-tabs-nav a[href$="' + $(this).attr('id') + '"]').click();
else
$(this).show();
}).start();
的邏輯是正確的(不調用introJs測試()開始()),然而,這個回調函數仍然沒有得到下一步之前調用。有任何想法嗎?
順便說一句,我已經更新了我intro.js手動檔與修爲onbeforechange(沒有得到正確的元素來調用該函數) – Brandon