Local-auto switched to new-style HTML classes instead of IDs.
authorMike Taylor <mike@indexdata.com>
Fri, 24 Jan 2014 14:53:04 +0000 (14:53 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 24 Jan 2014 14:53:04 +0000 (14:53 +0000)
We now have two auto-executing result <div>s.

examples/htdocs/local-auto.html

index 8162d11..3c5f5b0 100644 (file)
     <h1>A site about stuff</h1>
     <table border="1" width="100%">
       <tr>
     <h1>A site about stuff</h1>
     <table border="1" width="100%">
       <tr>
-       <td width="50%">
+       <td width="40%">
          <h2>Welcome</h2>
          Main site content goes here.
        </td>
          <h2>Welcome</h2>
          Main site content goes here.
        </td>
-       <td width="50%">
+       <td width="30%">
          <h2>News</h2>
          <h2>News</h2>
-
-
-<div id='mkwsRecords'
-       autosearch='mike'
+<div class='mkwsRecords mkwsTeam_news'
+       autosearch='museum'
        sort='relevance'
        targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware'
        sort='relevance'
        targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware'
->results will appear here</div>
-
-
-       <div id='mkwsTermlists'/>
+>News will appear here</div>
+       <div class='mkwsTermlists mkwsTeam_news'/>
+       </td>
+       <td width="30%">
+         <h2>Blog</h2>
+<div class='mkwsRecords mkwsTeam_blog'
+       autosearch='dinosaur'
+       sort='relevance'
+       targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware'
+>Blog entries will appear here</div>
+       <div class='mkwsTermlists mkwsTeam_blog'/>
        </td>
       </tr>
     </table>
        </td>
       </tr>
     </table>