/[webpac]/trunk2/eurovoc/js/usage.js
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 /trunk2/eurovoc/js/usage.js

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

revision 495 by dpavlin, Sun Oct 10 06:02:40 2004 UTC revision 509 by dpavlin, Sun Oct 10 19:16:07 2004 UTC
# Line 28  Line 28 
28  function go(f)  function go(f)
29  {  {
30    var form = document.getElementById('search');    var form = document.getElementById('search');
31    var query = form.elements['query'].value;    var query = document.form.elements['query'].value;
32    var index_name = form.elements['index_name'].options[form.elements['index_name'].selectedIndex].value;    var index_name = document.form.elements['index_name'].options[document.form.elements['index_name'].selectedIndex].value;
33    
34    if(!query)    if(!query)
35    {    {
# Line 119  function printResults(result) Line 119  function printResults(result)
119      var e = document.createElement("font");      var e = document.createElement("font");
120    
121      e = document.createElement("a");      e = document.createElement("a");
122      e.setAttribute("href","hijerarhija.html?o="+result[i].link+"#mfn"+result[i].link);      e.setAttribute("href","hijerarhija.html?o="+result[i].link);
123      e.appendChild(document.createTextNode(result[i].title));      e.appendChild(document.createTextNode(result[i].title));
124      d.appendChild(e);      d.appendChild(e);
125      d.appendChild(document.createTextNode(" "));      d.appendChild(document.createTextNode(" "));

Legend:
Removed from v.495  
changed lines
  Added in v.509

  ViewVC Help
Powered by ViewVC 1.1.26