Drupal 7具有包含horizontal_tab.js
文件的字段组模块。使用网址激活Drupal 7选项卡
在这个文件中,我发现这个书面
// If the current URL has a fragment and one of the tabs contains an
// element that matches the URL fragment, activate that tab.
if (window.location.hash && $(window.location.hash, this).length) {
tab_focus = $(window.location.hash, this).closest('.horizontal-tabs-pane');
}
有人能解释这是如何工作,我应该叫什么确切的网址,使某个特定的标签被激活。