Language
Login
Language Setting
X
English
日本語 [Japanese]
about this App
forked:プリコネ3
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. */ var shizu = new Array(); var shizu2= new Array(); var iba = new Array(); var iba2 = new Array(); var counter = 1; $(window).load(function(){ shizu.length = 0; shizu2.length = 0; var limit = 5; var count = 0; $.each(LinkData.getWorks(), function(workKey, workValue) { $.each(LinkData.getFiles(workValue), function(fileKey, fileValue) { if (fileValue == "pricone_shizuoka2"){ $.each(LinkData.getSubjects(workValue, fileValue), function(subjKey, subjValue) { count = 0; $.each(LinkData.getProperties(workValue, fileValue), function(propKey, propValue) { if(count++ > limit) { return false; } $.each(LinkData.getObjects(workValue, fileValue, subjValue, propValue), function(objKey, objValue) { if (counter%2 == 1){ (shizu).push(objValue); counter++; }else{ (shizu2).push(objValue); counter++; } }); }); }); } }); }); }); $(function(){ $("#shizuoka").click(function(){ $("#result").remove(); $("body").append("<div id='result'></div>"); $.each(shizu, function(index, value){ $("#result").append(index + ":" + value).append('<br />'); }); }); });
#wakayama, #ibaraki, #shizuoka, #hukushima, #ehime { font-size:16px; font-family:Arial; font-weight:normal; -moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px; border:1px solid #dcdcdc; padding:9px 18px; text-decoration:none; background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #f9f9f9), color-stop(100%, #e9e9e9) ); background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% ); background:-ms-linear-gradient( top, #f9f9f9 5%, #e9e9e9 100% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9'); background-color:#f9f9f9; color:#666666; display:inline-block; text-shadow:1px 1px 0px #ffffff; -webkit-box-shadow:inset 1px 1px 0px 0px #ffffff; -moz-box-shadow:inset 1px 1px 0px 0px #ffffff; box-shadow:inset 1px 1px 0px 0px #ffffff; }#wakayama:hover, #ibaraki:hover, #shizuoka:hover, #hukushima:hover, #ehime:hover { background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #e9e9e9), color-stop(100%, #f9f9f9) ); background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% ); background:-ms-linear-gradient( top, #e9e9e9 5%, #f9f9f9 100% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9'); background-color:#e9e9e9; }#wakayama:active, #ibaraki:active, #shizuoka:active, #hukushima:active, #ehime:active { position:relative; top:1px; }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>pricone_test2</title> </head> <body> <div id="wakayama">和歌山</div> <div id="ibaraki">茨城</div> <div id="shizuoka">静岡</div> <div id="hukushima">福島</div> <div id="ehime">愛媛</div> <!--プリコネ--> <div id="result"></div> </body> </html>
Preview
Input Data
ReadMe
Snapshots
This application does not using any data or contains private/limited data.
Link http://app.linkdata.org/run/app1s478i?tab=readme
Initial content
jquery-1.7.1.min.js
Work
Add
Clear
insert work id or work name.