/[jquery]/no_pager/search.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /no_pager/search.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 15 by dpavlin, Wed Aug 16 21:34:37 2006 UTC revision 30 by dpavlin, Fri Aug 18 11:54:32 2006 UTC
# Line 1  Line 1 
1  <HTML>  <HTML>
2  <HEAD>  <HEAD>
         <META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">  
       
         <TITLE>No pager</TITLE>  
         <base href="<% $q->url() %>">  
         <LINK HREF="style.css" TYPE="text/css" REL="stylesheet">  
   
         <SCRIPT SRC="jquery.js" TYPE="text/javascript"></SCRIPT>  
         <SCRIPT SRC="utils.js" TYPE="text/javascript"></SCRIPT>  
         <SCRIPT src="no_pager.js" TYPE="text/javascript" />  
3    
4    <META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
5    
6    <TITLE>No pager</TITLE>
7    <base href="<% $q->url() %>"/>
8    <LINK HREF="style.css" TYPE="text/css" REL="stylesheet" />
9    
10    <SCRIPT SRC="jquery.js" TYPE="text/javascript"></SCRIPT>
11    <SCRIPT SRC="jquery-log.js" TYPE="text/javascript"></SCRIPT>
12    <SCRIPT SRC="utils.js" TYPE="text/javascript"></SCRIPT>
13    <SCRIPT src="no_pager.js" TYPE="text/javascript"></SCRIPT>
14    
15    <script type="text/javascript">
16    <!--
17    
18    $(document).ready( function() {
19            //log( 'hook onchange to #search_form' );
20            $('#search_form').change( function() {
21                    //logDebug('submit #search_form');
22                    this.submit();
23            });
24    });
25    
26    //-->
27  </script>  </script>
28    
29  </HEAD>  </HEAD>
30  <BODY>  <BODY>
31        
32  <div style="border: 1px solid #ccc; background-color: #ff8; display: block; position: fixed; right: 0px; bottom: 0px; width: 10em; height: 20em; padding: 0.5em;" id="debug">  <div id="debug" class="debug">
33    <a class="hide" href="#" onclick="javascript:$('#debug').toggle(); $('#debug_show').toggle(); return false;">X</a>
34  </div>  </div>
35    <div id="debug_show" class="debug">
36    <a class="hide" href="#" onclick="javascript:$('#debug').toggle(); $('#debug_show').toggle(); return false;"><span id="debug-counter">?</span></a>
37    </div>
38    
39    
40        <div id="search_form_div">
 <div style="border-bottom: 1px solid #ccc; background-color: #eee; display: block; position: fixed; left: 0px; top: 0px; width: 100%; height: 2em; padding: 0.5em;">  
41    
42          <FORM id="search_form" ACTION="" METHOD="get">          <FORM id="search_form" ACTION="" METHOD="get">
43    
44                  <INPUT AUTOCOMPLETE="off" NAME="search" TYPE="input" ID="search" VALUE="<% $q->param('search') %>">                  <INPUT AUTOCOMPLETE="off" NAME="search" TYPE="input" ID="search" VALUE="<% $q->param('search') %>">
45                    
46                    <% sort_order %>
47    
48                  <INPUT TYPE="submit" CLASS="submit" VALUE="search">                  <INPUT TYPE="submit" CLASS="submit" VALUE="search">
49    
50                  <span id="status" class="note">                  <span id="status" class="note">
# Line 36  Line 57 
57    
58  <div style="margin-top: 3em;">  <div style="margin-top: 3em;">
59          <!-- Dynamic Content -->          <!-- Dynamic Content -->
           
         <% $get_results %>  
60    
61          <DIV ID="more_history">          <% $get_results %>
   
                 <% $json %>  
   
                 <NOSCRIPT>  
                 Javascript is required for no pager to work.  
                 <br/>  
                 Here should be implementation of non-javascript fallback,  
                 but it doesn't exist yet.  
                 </NOSCRIPT>  
         </DIV>  
62    
63          <!-- Back Button Content -->          <!-- Back Button Content -->
64          <DIV STYLE="position:absolute;top:0px;left:0px;visibility:hidden;" ID="spacer">space</DIV>          <DIV STYLE="position:absolute;top:0px;left:0px;visibility:hidden;" ID="spacer">space</DIV>

Legend:
Removed from v.15  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26