Rename pager div to "#mkwsPager"
authorMike Taylor <mike@indexdata.com>
Mon, 1 Jul 2013 21:06:39 +0000 (22:06 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 1 Jul 2013 21:06:39 +0000 (22:06 +0100)
experiments/spclient/html-structure.txt
experiments/spclient/mkws.js
experiments/spclient/mkwsStyle.css

index 3bc5c1d..7bca45b 100644 (file)
@@ -32,7 +32,7 @@ identifier and .CLASS indicates an instance of a class.
             form#select
               select#sort
               select#perpage
-          div#pager
+          #mkwsPager
           div#navi
           div#results
             div.record*
index acc42c8..023247b 100644 (file)
@@ -113,7 +113,7 @@ function my_oninit() {
 function my_onshow(data) {
     totalRec = data.merged;
     // move it out
-    var pager = document.getElementById("pager");
+    var pager = document.getElementById("mkwsPager");
     pager.innerHTML = "";
     pager.innerHTML +='<hr/><div style="float: right">' + M('Displaying') + ': '
                     + (data.start + 1) + ' ' + M('to') + ' ' + (data.start + data.num) +
@@ -555,7 +555,7 @@ function mkws_html_all(config) {
         ' + M('per page') + '.\
        </form>\
             </div>\
-            <div id="pager"></div>\
+            <div id="mkwsPager"></div>\
             <div id="navi"></div>\
             <div id="results"></div>\
           </td>\
index ad76c47..fe9bd54 100644 (file)
     content: ":";
 }
 
-#mkwsRecords #pager {
+#mkwsPager {
     background: #e0e0e0;
     padding: 0.3em;
 }