Language
Login
Language Setting
X
English
日本語 [Japanese]
about this App
つつじバス@福井県鯖江市
useful
2
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:Sabae City
Update:Sep 14, 2012
278 Downloads, 2 Applications
コミュニティバスのバス停留所 位置情報
busstop
Add LinkData work(LinkData)
Link http://app.linkdata.org/run/app1s51i?tab=readme
Initial content
jquery-1.7.1.min.js
Work
Add
Clear
insert work id or work name.