aphia_jquery(document).ready(function()
// show active tab
if(location.hash)
aphia_jquery('a[href="' + location.hash + '"]').tab('show');
aphia_jquery('a[href="' + location.hash + '"]').get(0).scrollIntoView(true);
else
//Activate first tab
aphia_jquery('.nav-tabs a:first').tab('show');
// set hash on click without jump
aphia_jquery(document.body).on("click", "a[data-toggle=tab]", function(e)
e.preventDefault();
if(history.pushState)
//Adapt browser URL (Append tab suffix)
history.pushState(null, null, this.getAttribute("href"));
else
//Adapt browser URL (will cause page jump)
location.hash = this.getAttribute("href");
//After jump we still need to activate the tab
aphia_jquery('a[href="' + location.hash + '"]').tab('show');
if (location.hash=="#distributions" && aphia_jquery('#map').length) map.updateSize();
return false;
);
);
// set hash on popstate
aphia_jquery(window).on('popstate', function() aphia_jquery("a[data-toggle=tab]").first().attr("href");
aphia_jquery('a[href="' + anchor + '"]').tab('show');
);
.tabtitle-editor-only
filter:alpha(opacity=45);
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=45);
-moz-opacity:.45;
opacity:.45;
-khtml-opacity:.45
basis of recordCoL2006/ITS [details]
current name sourceCoL2006 [details]
extant flag sourceCoL2006 [details]
habitat flag sourceas per genus [details]