$("#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":"Lamnidae (håbrandshajar)","isLazy":false,"isFolder":true,"expand":true,"activate":true,"key":"1","icon":null,"children":["title":"Lamna","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;
How do I keep my slimes from escaping their pens? Using et al. for a last / senior author rather than for a first author What is the meaning of the new sigil in Game of Thrones Season 8 intro? Why am I getting the error "non-boolean type specified in a context where a condition is expected" for this request? Seeking colloquialism for “just because” Is it true that "carbohydrates are of no use for the basal metabolic need"? What to do with chalk when deepwater soloing? Error "illegal generic type for instanceof" when using local classes Can a non-EU citizen traveling with me come with me through the EU passport line? Single word antonym of "flightless" How to find out what spells would be useless to a blind NPC spellcaster? How to tell that you are a giant? String `!23` is replaced with `docker` in command line How to bypass password on Windows XP account? Why is "Consequences inflicted." not a sentence? Wha...
Is there a familial term for apples and pears? Are white and non-white police officers equally likely to kill black suspects? How would photo IDs work for shapeshifters? Denied boarding due to overcrowding, Sparpreis ticket. What are my rights? Crop image to path created in TikZ? extract characters between two commas? What are the advantages and disadvantages of running one shots compared to campaigns? Add an angle to a sphere Can I legally use front facing blue light in the UK? Is there a way to make member function NOT callable from constructor? What does "enim et" mean? I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy? I see my dog run How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android) What is the offset in a seaplane's hull? ...
AfghanistanArmeniaAzerbaijanBahrainBangladeshBhutanBruneiCambodiaChinaCyprusEast Timor (Timor-Leste)EgyptGeorgiaIndiaIndonesiaIranIraqIsraelJapanJordanKazakhstanNorth KoreaSouth KoreaKuwaitKyrgyzstanLaosLebanonMalaysiaMaldivesMongoliaMyanmarNepalOmanPakistanPhilippinesQatarRussiaSaudi ArabiaSingaporeSri LankaSyriaTajikistanThailandTurkeyTurkmenistanUnited Arab EmiratesUzbekistanVietnamYemenBritish Indian Ocean TerritoryChristmas IslandCocos (Keeling) IslandsHong KongMacau History of IndiaHistory of South Asia Anatomically modern humansfarmingpastoralismwheatbarleygoats, sheep, and cattleIndus Valley Civilizationcradle of civilisationMature Harappanhandicraftcarnelian productsseal carvingmetallurgyurban planningbaked brick housesdrainage systemswater supply systemsIron AgeVedic Civilisationpersistent droughtIndo-Aryan tribeswaves of Aryan migrationVedic periodVedasHinduismJanapadas (monarchical, state-level polities)casteBrahminsKshatriyasVaishyasShudrasIndo-Gangetic plainMahajanapadas ...