div structure more appropriate for ajax programming.
authorAnders S. Mortensen <sondberg@indexdata.dk>
Thu, 4 Jan 2007 14:39:42 +0000 (14:39 +0000)
committerAnders S. Mortensen <sondberg@indexdata.dk>
Thu, 4 Jan 2007 14:39:42 +0000 (14:39 +0000)
www/demo/page_segments.phpi

index e4a8e4a..87131bc 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-/* $Id: page_segments.phpi,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+/* $Id: page_segments.phpi,v 1.2 2007-01-04 14:39:42 sondberg Exp $
  * ---------------------------------------------------
  * Page segments 
  */
@@ -41,19 +41,18 @@ function insert_header () {
           <b>Limit search results</b><br />
           Narrow your search by using the keywords below:<br />
           <br />
-          <a href="#" class="unselected">Subject</a>
-          <a href="#">Subject 1</a>
-          <a href="#">Subject 2</a>
-          <a href="#"> Subject 3</a>
+          <a id="facet_subject_title" href="#" class="selected">Subject</a>
+          <div id="facet_subject_terms"></div>
           <br />
-          <a href="#" class="selected">Author</a>
+          <a id="facet_author_title" href="#" class="selected">Author</a>
+          <div id="facet_author_terms"></div>
           <br />
-          <a href="#" class="selected">Institution</a>
+          <a id="facet_institution_title" href="#"
+             class="selected">Institution</a>
+          <div id="facet_institution_terms"></div>
           <br />
-          <a href="#" class="unselected">Date</a>
-          <a href="#">Date 1</a>
-          <a href="#">Date 2</a>
-          <a href="#">Date 3</a>
+          <a id="facet_date_title" href="#" class="selected">Date</a>
+          <div id="facet_date_terms"></div>
         </div>
         <div class="content">
 END_OF_HEADER;