/[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

Annotation of /no_pager/search.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (hide annotations)
Wed Aug 16 23:37:51 2006 UTC (17 years, 8 months ago) by dpavlin
File MIME type: text/html
File size: 1495 byte(s)
track mouse(up|down) event to prevent manic next page reload in everything except firefox,
next_page div is now created server-side, make get_results more robust
1 dpavlin 2 <HTML>
2     <HEAD>
3     <META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
4    
5     <TITLE>No pager</TITLE>
6     <base href="<% $q->url() %>">
7 dpavlin 9 <LINK HREF="style.css" TYPE="text/css" REL="stylesheet">
8 dpavlin 2
9 dpavlin 11 <SCRIPT SRC="jquery.js" TYPE="text/javascript"></SCRIPT>
10 dpavlin 2 <SCRIPT SRC="utils.js" TYPE="text/javascript"></SCRIPT>
11 dpavlin 3 <SCRIPT src="no_pager.js" TYPE="text/javascript" />
12 dpavlin 2
13     </script>
14     </HEAD>
15     <BODY>
16    
17 dpavlin 11 <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">
18     </div>
19    
20 dpavlin 2
21 dpavlin 8 <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;">
22 dpavlin 2
23     <FORM id="search_form" ACTION="" METHOD="get">
24    
25 dpavlin 15 <INPUT AUTOCOMPLETE="off" NAME="search" TYPE="input" ID="search" VALUE="<% $q->param('search') %>">
26 dpavlin 2
27     <INPUT TYPE="submit" CLASS="submit" VALUE="search">
28 dpavlin 9
29     <span id="status" class="note">
30 dpavlin 15 <% $v->{status} %>
31 dpavlin 9 </span>
32 dpavlin 2
33     </FORM>
34 dpavlin 8
35     </div>
36 dpavlin 11
37 dpavlin 8 <div style="margin-top: 3em;">
38 dpavlin 2 <!-- Dynamic Content -->
39 dpavlin 18
40 dpavlin 15 <% $get_results %>
41    
42 dpavlin 2 <!-- Back Button Content -->
43     <DIV STYLE="position:absolute;top:0px;left:0px;visibility:hidden;" ID="spacer">space</DIV>
44     <!-- footer at end of results -->
45     <DIV STYLE="display:none;" ID="footer">
46     Thanks for trying out no pager. Hope you like it.
47     </div>
48    
49 dpavlin 8 </div>
50    
51 dpavlin 2 </BODY>
52     </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26