/[webpac2]/Webpacus/root/autocomplete.tt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /Webpacus/root/autocomplete.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 93 - (show annotations)
Tue Nov 22 12:57:15 2005 UTC (18 years, 5 months ago) by dpavlin
File size: 1345 byte(s)
 r9014@llin:  dpavlin | 2005-11-22 00:24:47 +0100
 minor tweaks all-around

1 [% INCLUDE header.tt %]
2
3 [% c.prototype.auto_complete_stylesheet %]
4 [% url = base _ 'autocomplete/suggest/' %]
5
6 [% c.prototype.form_remote_tag(
7 url => base _ 'results',
8 update => 'results',
9 loading => " Effect.Appear('searching'); ",
10 loaded => " Effect.Fade('searching'); ",
11 ) %]
12
13 <table>
14 <tr>
15 <td>
16 Naslov:
17 </td><td>
18 <input autocomplete="off" id="naslov_input" name="TitleProper" type="text" value="" size="60"/>
19 <span id="naslov_input_loading" style="display: none;">...</span>
20 </div>
21 <div class="auto_complete" id="naslov_input_auto_complete"></div>
22 [% c.prototype.auto_complete_field( 'naslov_input', {
23 url => url _ 'TitleProper',
24 indicator => 'naslov_input_loading'
25 } ) %]
26 </td>
27 </tr><tr>
28 <td>
29 Autor:
30 </td><td>
31 <input autocomplete="off" id="autor_input" name="PersonalName" type="text" value="" size="60"/>
32 <span id="autor_input_loading" style="display: none;">...</span>
33 </div>
34 <div class="auto_complete" id="autor_input_auto_complete"></div>
35 [% c.prototype.auto_complete_field( 'autor_input', {
36 url => url _ 'PersonalName',
37 indicator => 'autor_input_loading'
38 } ) %]
39 </td>
40 </tr>
41 </table>
42
43 <input type="submit" name="_submit" value="Search" />
44
45 </form>
46
47 <span id="searching" style="display: none;">
48 Search in progress...
49 </span>
50
51 <div id="results">
52 <span style="color: #808080;">no results yet</span>
53 </div>
54
55 [% INCLUDE footer.tt %]

  ViewVC Help
Powered by ViewVC 1.1.26