~ubuntu-branches/ubuntu/trusty/jwchat/trusty

« back to all changes in this revision

Viewing changes to src/search_iframe.html

  • Committer: Bazaar Package Importer
  • Author(s): Lincoln de Sousa, Lincoln de Sousa, Marcelo Jorge Vieira
  • Date: 2010-09-16 11:42:28 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100916114228-5s5ne28n1w6wrfbl
Tags: 1.0+dfsg-1
[Lincoln de Sousa]

* Switch to dpkg-source 3.0 (quilt) format
* Migrating package from cdbs to debhelper 7.0.50~
* Changing the rule get-orig-source to generate a dfsg compatible
  package striping swf files from the orig (Closes: #591962)
* Updated Standards-Version to 3.9.1
* Removing po-debconf from the Build-Depends-Indep list.

[Marcelo Jorge Vieira]

* Fixing the default backend
* Fixing Debugger dependency
* Changing information about packaging from old maintainers to
  Debian XMPP Team.
* Removing sound support.
* Setting a port for apache VirtualHost.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
  <head>
 
4
    <title><l>JWChat - Search Results</l></title>
 
5
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
 
6
    <script src="switchStyle.js"></script>
 
7
                <script>
 
8
 
 
9
var ie5 = document.all&&document.getElementById;
 
10
 
 
11
function init() {
 
12
        var rows = document.getElementsByTagName('tr');
 
13
        for (var i=1; i<rows.length; i++) {
 
14
                rows[i].onmouseover = highlightRow;
 
15
                rows[i].onmouseout = unhighlightRow;
 
16
                rows[i].onclick = rowClicked;
 
17
                rows[i].title = loc("click to add user");
 
18
        }
 
19
}
 
20
function highlightRow(e) {
 
21
        var row = ie5 ? event.srcElement.parentNode : e.target.parentNode;
 
22
        row.className = 'highlighted';
 
23
}
 
24
function unhighlightRow(e) {
 
25
        var row = ie5 ? event.srcElement.parentNode : e.target.parentNode;
 
26
        if (row != selectedRow)
 
27
                row.className = '';
 
28
}
 
29
 
 
30
var selectedRow;
 
31
function rowClicked(e) {
 
32
        if (selectedRow)
 
33
                selectedRow.className = '';
 
34
        else { 
 
35
                parent.document.getElementById('add_button').disabled = false;
 
36
                parent.document.getElementById('info_button').disabled = false;
 
37
        }
 
38
        selectedRow = ie5 ? event.srcElement.parentNode : e.target.parentNode;
 
39
        selectedRow.className = 'highlighted';
 
40
}
 
41
                </script>
 
42
 
 
43
                <style type="text/css">
 
44
                        body { background-color: white; }
 
45
                        th { 
 
46
                        font-size: 12px; 
 
47
                        border-bottom: 1px solid black;
 
48
                        padding: 2px;
 
49
                        }
 
50
                        td {
 
51
                        border-bottom: 1px solid black;
 
52
                        padding: 2px;
 
53
                        }
 
54
                        tr.highlighted {
 
55
                        color: highlighttext;
 
56
                        background-color: highlight;
 
57
                        }
 
58
                </style>
 
59
  </head>
 
60
  <body id="results">
 
61
  </body>
 
62
</html>