$("#selectRootTaxon").change(function() // var value = $(this).val(); // alert(value); var frm = document.changeRootTaxonForm; frm.submit(); );
$("#navigateTaxonTree").dynatree( onActivate: function (node) // Use status functions to find out about the calling context var isInitializing = node.tree.isInitializing(); // Tree loading phase var isReloading = node.tree.isReloading(); // Loading phase, and reading status from cookies var isUserEvent = node.tree.isUserEvent(); // Event was triggered by mouse or keyboard
var frm = document.navigateTaxonForm; frm.NavigateId.value = node.data.key;
var expandedNodes = []; this.visit(function(n) if (n.isExpanded()) expandedNodes.push(n.data.key); , true); expandedNodes.shift(); // delete first node. Don't know why the element is there. frm.ExpandedNodes.value = JSON.stringify(expandedNodes);
Laddar...' ); frm.submit(); , onLazyRead: function(node) node.appendAjax( url: '/Navigation/GetTreeData', type: "GET", data: "taxonId": node.data.key, dataType: "json", success: function(node) // Called after nodes have been created and the waiting icon was removed. , cache: false // Append random '_' argument to url to prevent caching. ); , persist: false, generateIds: true, fx: height: "toggle", duration: 100 , selectMode: 1, clickFolderMode: 1, children: "title":"Cyclosquamata","isLazy":false,"isFolder":true,"expand":true,"activate":true,"key":"1","icon":null,"children":["title":"Aulopiformes (laxtobisartade fiskar)","isLazy":true,"isFolder":true,"expand":false,"activate":false,"key":"2","icon":null,"children":null] );
);
Denna sida använder Javascript. Din webbläsare stöder antingen inte Javascript eller så har du den avstängd. För att se denna sida som det är tänkt att visas vänligen använd en webbläsare med Javascript aktiverat.
$clickableReferenceObjects.click(function() var guid = $(this).attr("data-guid"); showReferenceDialog(guid); );
);
function saveTreeWidthState() var treeWidth = $("#leftNavigation").width(); $.cookie('taxonTreeWidth', treeWidth, null);
function restoreTreeWidth() var treeWidth = $.cookie('taxonTreeWidth'); if (treeWidth != null) var mainWrapperWidth = $("#mainWrapper").width(); var leftNavigationWidth = $("#leftNavigation").width(); treeWidth = parseInt(treeWidth); $("#mainWrapper").width(mainWrapperWidth + treeWidth - leftNavigationWidth); $("#leftNavigation").width(treeWidth);
function updateURL(currUrl, param, paramVal) var url = currUrl; var newAdditionalURL = ""; var tempArray = url.split("?"); var baseURL = tempArray[0]; var aditionalURL = tempArray[1]; var temp = ""; if (aditionalURL) var tempArray = aditionalURL.split("&"); for (i = 0; i < tempArray.length; i++) if (tempArray[i].split('=')[0] != param) newAdditionalURL += temp + tempArray[i]; temp = "&";
var subkey = 'Taxoninfo'; restoreH2States(subkey); initToggleFieldsetH2(); initToggleFieldsetH3();
$(window).unload(function () var key = 'Taxoninfo'; saveH2States(key); saveTreeWidthState(); );
// if page is inside IFrame, then set mode to mini var isInIFrame = !(top === self); if (isInIFrame) var newURL = updateURL(window.location.href, 'mode', 'mini'); window.location.href = newURL;
Why is a set not a partition of itself? Would an 8% reduction in drag outweigh the weight addition from this custom CFD-tested winglet? Labeling matrices/rectangles and drawing Sigma inside rectangle Unexpected Netflix account registered to my Gmail address - any way it could be a hack attempt? 51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily? Missouri raptors have wild hairdos Can someone explain homicide-related death rates? Why is tomato paste so cheap? What are the implications of the new alleged key recovery attack preprint on SIMON? Effects of ~10atm pressure on engine design Is taking modulus on both sides of an equation valid? Jumping frame contents with beamer and pgfplots Are there any established rules for splitting books into parts, chapters, sections etc? Anatomically Correct Carnivorous Tree Why do I get two different answers when solvi...
Can a tourist shoot a gun in the USA? Will a coyote attack my dog on a leash while I'm on a hiking trail? Labeling matrices/rectangles and drawing Sigma inside rectangle How can I answer high-school writing prompts without sounding weird and fake? Is there ever any indication in the MCU as to how Spider-Man got his powers? Jumping frame contents with beamer and pgfplots Would an 8% reduction in drag outweigh the weight addition from this custom CFD-tested winglet? Is it possible to create different colors in rocket exhaust? German characters on US-International keyboard layout Does gravity affect the time evolution of a QM wave function? 51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily? Why are solar panels kept tilted? Is Germany still exporting arms to countries involved in Yemen? Unexpected Netflix account registered to my Gmail address - any wa...
German characters on US-International keyboard layout Why is tomato paste so cheap? what does a native speaker say when he wanted to leave his work? Can a tourist shoot a gun in the USA? Extracting sublists that contain similar elements Why does the headset man not get on the tractor? What kind of SATA connector is this? Help in identifying a mystery wall socket Unexpected Netflix account registered to my Gmail address - any way it could be a hack attempt? Anatomically Correct Carnivorous Tree declared variable inside void setup is forgotten in void loop What is the largest number of identical satellites launched together? Automatically anti-predictably assemble an alliterative aria What information do scammers need to withdraw money from an account? Rounding a number extracted by jq to limit the decimal points Tikz draw contour without some edges, and fill What should a student do when they are the victim of a FERPA violation? How exactly does artific...