Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在从一个切换到另一个时触发 Jquery 选项卡中的淡入淡出效果
你可以使用激活。激活新选项卡时会触发它:)
$(function() { $( "#tabs" ).tabs({ activate: function( event, ui ) { ui.newPanel.hide().fadeIn(500); } }); });
这是小提琴来帮助你