Language
Login
Language Setting
X
English
日本語 [Japanese]
about this App
forked:test
useful
0
Loading...
/* This is a Example program to retrieve and display the data. Press the Run button on the right of the screen (described the behavior of the Example program below). Please create a new application rewrite this program work. */ if(typeof Example==="undefined"||!Example){var Example = {};} Example.getWorks = function() { return LinkData.getWorks(); }; Example.getFiles = function(workId) { return LinkData.getFiles(workId); }; Example.getSubjects = function(workId, fileName) { return LinkData.getSubjects(workId, fileName); }; Example.getProperties = function(workId, fileName) { return LinkData.getProperties(workId, fileName); }; Example.getObjects = function(workId, fileName, subject, property) { return LinkData.getObjects(workId, fileName, subject, property); }; window.onload = function() { var limit = 5; var count = 0; $.each(Example.getWorks(), function(workKey, workValue) { $("#result").append("<h3>Work: " + workValue + "</h3>"); $.each(Example.getFiles(workValue), function(fileKey, fileValue) { $("#result").append("<h4>File: " + fileValue + "</h4>"); $.each(Example.getSubjects(workValue, fileValue), function(subjKey, subjValue) { count = 0; $.each(Example.getProperties(workValue, fileValue), function(propKey, propValue) { if(count++ > limit) { return false; } $("#result").append("<div style='padding-top:10px;'>Subject : " + subjValue + "</div>"); $("#result").append("<div style='padding-left:10px;'>Property : " + propValue + "</div>"); $("#result").append("<div style='padding-left:20px;'>Objects</div>"); $.each(Example.getObjects(workValue, fileValue, subjValue, propValue), function(objKey, objValue) { $("#result").append("<div style='padding-left:30px;'>" + objValue + "</div>"); }); }); }); }); }); };
<div id="result"></div>
Preview
LinkData Work
Table Data
生物のイラスト・和名・英語名・学名
Contributor:AyumiK
Update:Jun 7, 2012
366 Downloads, 2 Applications
taxonomyicon_list
Add LinkData work(LinkData)
Link http://app.linkdata.org/run/app1s68i?tab=readme
Initial content
jquery-1.7.1.min.js
Work
Add
Clear
insert work id or work name.