X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=experiments%2Fspclient%2Fmkws.js;h=d8f43e348d30ed890213bcd70f31d16a9f200956;hb=85ba8bcf822fec42845a0f3bd2f0daed087930e8;hp=9e14bdb329f246898b48b2d530ce44fb819bca80;hpb=fcc0cd41a84c5669f6a74bc3836e8ea86eb855f1;p=mkws-moved-to-github.git
diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js
index 9e14bdb..d8f43e3 100644
--- a/experiments/spclient/mkws.js
+++ b/experiments/spclient/mkws.js
@@ -394,7 +394,48 @@ function mkws_html_all(data) {
config[k] = data[k];
}
+ mkws_html_switch(config);
+ // For some reason, doing this programmatically results in
+ // document.search.query being undefined, hence the raw HTML.
+ $("#mkwsSearch").html('\
+
');
+
+ $("#mkwsRecords").html('\
+ \
+ \
+ \
+ \
+ | \
+ \
+ \
+ \
+ \
+ \
+ \
+ \
+ | \
+
\
+
\
+ ');
+
+ $("#mkwsTargets").html('\
+ \
+ No information available yet.\
+
');
+ $("#mkwsTargets").css("display", "none");
+
+ domReady();
+}
+
+function mkws_html_switch(config) {
$("#mkwsSwitch").html($("", {
href: '#',
onclick: "switchView(\'records\')",
@@ -410,8 +451,11 @@ function mkws_html_all(data) {
if (!config.mkws_switch) {
$("#mkwsSwitch").css("display", "none");
}
+}
+function mkws_html_sort(config) {
var sort_html = '';
+ return sort_html;
+}
+
+function mkws_html_perpage(config) {
var perpage_html = '';
- // For some reason, doing this programmatically results in
- // document.search.query being undefined, hence the raw HTML.
- $("#mkwsSearch").html('\
- ');
-
- $("#mkwsRecords").html('\
- \
- \
- \
- \
- | \
- \
- \
- \
- \
- \
- \
- \
- | \
-
\
-
\
- ');
-
- $("#mkwsTargets").html('\
- \
- No information available yet.\
-
');
- $("#mkwsTargets").css("display", "none");
-
- domReady();
+ return perpage_html;
}
/*